swagger.json 211 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "SCD检测工具API",
  5. "description": "\u003ca href='/static/pc/Demo.html' target='_self'\u003e本地窗口功能集成说明文档\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\u003chr\u003e\u003cbr\u003e\u003cbr\u003eSCD检测工具接口文档。本文档仅用于本项目的前端接口说明\u003cbr\u003e\u003cspan style='color:red;font-size:16px;'\u003e*****实际使用接口时,均需要将用户登录token通过header进行提交*****\u003c/span\u003e",
  6. "version": "1.0.0",
  7. "contact": {
  8. "email": "3116246@qq.com"
  9. }
  10. },
  11. "basePath": "api",
  12. "paths": {
  13. "/admin/get/check_area": {
  14. "get": {
  15. "tags": [
  16. "scd_check_tools/controllersBusAdminController"
  17. ],
  18. "summary": "查询指定电压等级及接线方式下的检测间隔分析结果",
  19. "description": "查询指定电压等级及接线方式下的检测间隔分析结果",
  20. "parameters": [
  21. {
  22. "in": "formData",
  23. "name": "scd_id",
  24. "description": "SCD文件ID",
  25. "required": true,
  26. "type": "integer",
  27. "format": "int64"
  28. },
  29. {
  30. "in": "formData",
  31. "name": "vol_id",
  32. "description": "电压等级ID",
  33. "type": "integer",
  34. "format": "int64"
  35. },
  36. {
  37. "in": "formData",
  38. "name": "link_style_id",
  39. "description": "接线方式ID",
  40. "type": "integer",
  41. "format": "int64"
  42. }
  43. ],
  44. "responses": {
  45. "200": {
  46. "description": "成功",
  47. "schema": {
  48. "$ref": "#/definitions/ResultOK"
  49. }
  50. },
  51. "500": {
  52. "description": "{object} ResultError 失败"
  53. }
  54. }
  55. }
  56. },
  57. "/admin/linkstyle-model/delete": {
  58. "post": {
  59. "tags": [
  60. "scd_check_tools/controllersBusAdminController"
  61. ],
  62. "summary": "删除指定接线方式下属的模型",
  63. "description": "删除指定接线方式下属的模型",
  64. "parameters": [
  65. {
  66. "in": "formData",
  67. "name": "id",
  68. "description": "接线方式ID",
  69. "required": true,
  70. "type": "integer",
  71. "format": "int64"
  72. },
  73. {
  74. "in": "formData",
  75. "name": "model_id",
  76. "description": "模型ID",
  77. "required": true,
  78. "type": "integer",
  79. "format": "int64"
  80. }
  81. ],
  82. "responses": {
  83. "200": {
  84. "description": "成功",
  85. "schema": {
  86. "$ref": "#/definitions/ResultOK"
  87. }
  88. },
  89. "500": {
  90. "description": "{object} ResultError 失败"
  91. }
  92. }
  93. }
  94. },
  95. "/admin/linkstyle-model/list": {
  96. "get": {
  97. "tags": [
  98. "scd_check_tools/controllersBusAdminController"
  99. ],
  100. "summary": "查询接线方式下模型列表",
  101. "description": "查询接线方式下模型列表",
  102. "parameters": [
  103. {
  104. "in": "query",
  105. "name": "pageno",
  106. "description": "当前页码。默认为1",
  107. "required": true,
  108. "type": "integer",
  109. "format": "int64"
  110. },
  111. {
  112. "in": "query",
  113. "name": "pagesize",
  114. "description": "每页显示数据数。默认为20",
  115. "required": true,
  116. "type": "integer",
  117. "format": "int64"
  118. },
  119. {
  120. "in": "query",
  121. "name": "id",
  122. "description": "ID",
  123. "type": "integer",
  124. "format": "int64"
  125. },
  126. {
  127. "in": "query",
  128. "name": "linkstyle_id",
  129. "description": "接线方式ID",
  130. "type": "integer",
  131. "format": "int64"
  132. }
  133. ],
  134. "responses": {
  135. "200": {
  136. "description": "成功",
  137. "schema": {
  138. "$ref": "#/definitions/ResultOK"
  139. }
  140. },
  141. "500": {
  142. "description": "{object} ResultError 失败"
  143. }
  144. }
  145. }
  146. },
  147. "/admin/linkstyle-model/save": {
  148. "post": {
  149. "tags": [
  150. "scd_check_tools/controllersBusAdminController"
  151. ],
  152. "summary": "添加接线方式的模型",
  153. "description": "添加接线方式的模型",
  154. "parameters": [
  155. {
  156. "in": "formData",
  157. "name": "id",
  158. "description": "数据ID。指定id值大于0时为编辑操作;否则为新增操作",
  159. "type": "integer",
  160. "format": "int64"
  161. },
  162. {
  163. "in": "formData",
  164. "name": "linkstyle_id",
  165. "description": "接线方式ID",
  166. "required": true,
  167. "type": "integer",
  168. "format": "int64"
  169. },
  170. {
  171. "in": "formData",
  172. "name": "model_id",
  173. "description": "内置模型id",
  174. "required": true,
  175. "type": "integer",
  176. "format": "int64"
  177. }
  178. ],
  179. "responses": {
  180. "200": {
  181. "description": "成功",
  182. "schema": {
  183. "$ref": "#/definitions/ResultOK"
  184. }
  185. },
  186. "500": {
  187. "description": "{object} ResultError 失败"
  188. }
  189. }
  190. }
  191. },
  192. "/admin/linkstyle/delete": {
  193. "post": {
  194. "tags": [
  195. "scd_check_tools/controllersBusAdminController"
  196. ],
  197. "summary": "删除指定的接线方式",
  198. "description": "删除指定的接线方式",
  199. "parameters": [
  200. {
  201. "in": "formData",
  202. "name": "id",
  203. "description": "接线方式ID",
  204. "required": true,
  205. "type": "integer",
  206. "format": "int64"
  207. }
  208. ],
  209. "responses": {
  210. "200": {
  211. "description": "成功",
  212. "schema": {
  213. "$ref": "#/definitions/ResultOK"
  214. }
  215. },
  216. "500": {
  217. "description": "{object} ResultError 失败"
  218. }
  219. }
  220. }
  221. },
  222. "/admin/linkstyle/list": {
  223. "get": {
  224. "tags": [
  225. "scd_check_tools/controllersBusAdminController"
  226. ],
  227. "summary": "查询接线方式",
  228. "description": "查询接线方式。支持名称、电压等级等过滤条件",
  229. "parameters": [
  230. {
  231. "in": "query",
  232. "name": "pageno",
  233. "description": "当前页码。默认为1",
  234. "required": true,
  235. "type": "integer",
  236. "format": "int64"
  237. },
  238. {
  239. "in": "query",
  240. "name": "pagesize",
  241. "description": "每页显示数据数。默认为20",
  242. "required": true,
  243. "type": "integer",
  244. "format": "int64"
  245. },
  246. {
  247. "in": "query",
  248. "name": "id",
  249. "description": "ID",
  250. "type": "integer",
  251. "format": "int64"
  252. },
  253. {
  254. "in": "query",
  255. "name": "vol_id",
  256. "description": "电压ID",
  257. "type": "integer",
  258. "format": "int64"
  259. },
  260. {
  261. "in": "query",
  262. "name": "name",
  263. "description": "名称",
  264. "type": "string"
  265. }
  266. ],
  267. "responses": {
  268. "200": {
  269. "description": "成功",
  270. "schema": {
  271. "$ref": "#/definitions/ResultOK"
  272. }
  273. },
  274. "500": {
  275. "description": "{object} ResultError 失败"
  276. }
  277. }
  278. }
  279. },
  280. "/admin/linkstyle/save": {
  281. "post": {
  282. "tags": [
  283. "scd_check_tools/controllersBusAdminController"
  284. ],
  285. "summary": "创建新的接线方式",
  286. "description": "创建新的接线方式",
  287. "parameters": [
  288. {
  289. "in": "formData",
  290. "name": "id",
  291. "description": "数据ID。指定id值大于0时为编辑操作;否则为新增操作",
  292. "type": "integer",
  293. "format": "int64"
  294. },
  295. {
  296. "in": "formData",
  297. "name": "name",
  298. "description": "任务名称",
  299. "required": true,
  300. "type": "string"
  301. },
  302. {
  303. "in": "formData",
  304. "name": "vol_id",
  305. "description": "电压等级ID",
  306. "required": true,
  307. "type": "integer",
  308. "format": "int64"
  309. },
  310. {
  311. "in": "formData",
  312. "name": "pic",
  313. "description": "接线图地址",
  314. "type": "string"
  315. }
  316. ],
  317. "responses": {
  318. "200": {
  319. "description": "成功",
  320. "schema": {
  321. "$ref": "#/definitions/ResultOK"
  322. }
  323. },
  324. "500": {
  325. "description": "{object} ResultError 失败"
  326. }
  327. }
  328. }
  329. },
  330. "/admin/parse/check_area": {
  331. "post": {
  332. "tags": [
  333. "scd_check_tools/controllersBusAdminController"
  334. ],
  335. "summary": "重新分析指定的SCD检测模型间隔",
  336. "description": "重新分析指定的SCD检测模型间隔",
  337. "parameters": [
  338. {
  339. "in": "formData",
  340. "name": "scd_id",
  341. "description": "SCD文件ID",
  342. "required": true,
  343. "type": "integer",
  344. "format": "int64"
  345. }
  346. ],
  347. "responses": {
  348. "200": {
  349. "description": "成功",
  350. "schema": {
  351. "$ref": "#/definitions/ResultOK"
  352. }
  353. },
  354. "500": {
  355. "description": "{object} ResultError 失败"
  356. }
  357. }
  358. }
  359. },
  360. "/admin/sysmodel/delete": {
  361. "post": {
  362. "tags": [
  363. "scd_check_tools/controllersBusAdminController"
  364. ],
  365. "summary": "删除指定的检测模型",
  366. "description": "删除指定的检测模型",
  367. "parameters": [
  368. {
  369. "in": "formData",
  370. "name": "id",
  371. "description": "模型ID",
  372. "required": true,
  373. "type": "integer",
  374. "format": "int64"
  375. }
  376. ],
  377. "responses": {
  378. "200": {
  379. "description": "成功",
  380. "schema": {
  381. "$ref": "#/definitions/ResultOK"
  382. }
  383. },
  384. "500": {
  385. "description": "{object} ResultError 失败"
  386. }
  387. }
  388. }
  389. },
  390. "/admin/sysmodel/list": {
  391. "get": {
  392. "tags": [
  393. "scd_check_tools/controllersBusAdminController"
  394. ],
  395. "summary": "查询检测模型列表",
  396. "description": "查询检测模型列表。支持名称、电压等级等过滤条件",
  397. "parameters": [
  398. {
  399. "in": "query",
  400. "name": "pageno",
  401. "description": "当前页码。默认为1",
  402. "required": true,
  403. "type": "integer",
  404. "format": "int64"
  405. },
  406. {
  407. "in": "query",
  408. "name": "pagesize",
  409. "description": "每页显示数据数。默认为20",
  410. "required": true,
  411. "type": "integer",
  412. "format": "int64"
  413. },
  414. {
  415. "in": "query",
  416. "name": "id",
  417. "description": "ID",
  418. "type": "integer",
  419. "format": "int64"
  420. },
  421. {
  422. "in": "query",
  423. "name": "vol_id",
  424. "description": "电压等级ID",
  425. "type": "integer",
  426. "format": "int64"
  427. },
  428. {
  429. "in": "query",
  430. "name": "model_name",
  431. "description": "名称",
  432. "type": "string"
  433. },
  434. {
  435. "in": "query",
  436. "name": "line_link_style",
  437. "description": "接线方式",
  438. "type": "integer",
  439. "format": "int64"
  440. },
  441. {
  442. "in": "query",
  443. "name": "area_type",
  444. "description": "间隔类型",
  445. "type": "integer",
  446. "format": "int64"
  447. },
  448. {
  449. "in": "query",
  450. "name": "is_sys",
  451. "description": "模型类型。1 内置模型 2 自定义模型",
  452. "type": "integer",
  453. "format": "int64"
  454. }
  455. ],
  456. "responses": {
  457. "200": {
  458. "description": "成功",
  459. "schema": {
  460. "$ref": "#/definitions/ResultOK"
  461. }
  462. },
  463. "500": {
  464. "description": "{object} ResultError 失败"
  465. }
  466. }
  467. }
  468. },
  469. "/admin/sysmodel/save": {
  470. "post": {
  471. "tags": [
  472. "scd_check_tools/controllersBusAdminController"
  473. ],
  474. "summary": "创建或编辑新的内置模型",
  475. "description": "创建新的内置模型",
  476. "parameters": [
  477. {
  478. "in": "formData",
  479. "name": "id",
  480. "description": "数据ID。指定id值大于0时为编辑操作;否则为新增操作",
  481. "type": "integer",
  482. "format": "int64"
  483. },
  484. {
  485. "in": "formData",
  486. "name": "model_name",
  487. "description": "模型名称",
  488. "required": true,
  489. "type": "string"
  490. },
  491. {
  492. "in": "formData",
  493. "name": "vol_id",
  494. "description": "电压等级ID",
  495. "required": true,
  496. "type": "integer",
  497. "format": "int64"
  498. },
  499. {
  500. "in": "formData",
  501. "name": "line_link_style",
  502. "description": "接线方式ID",
  503. "required": true,
  504. "type": "integer",
  505. "format": "int64"
  506. },
  507. {
  508. "in": "formData",
  509. "name": "ied_types",
  510. "description": "包含的装置类型,关联代码:ied_type。多个类型之间使用逗号分隔。",
  511. "type": "string"
  512. },
  513. {
  514. "in": "formData",
  515. "name": "relation_json",
  516. "description": "模型定义内容。svg源代码(xml格式)。",
  517. "type": "string"
  518. },
  519. {
  520. "in": "formData",
  521. "name": "area_type",
  522. "description": "间隔类型。关联代码:area_type",
  523. "type": "string"
  524. }
  525. ],
  526. "responses": {
  527. "200": {
  528. "description": "成功",
  529. "schema": {
  530. "$ref": "#/definitions/ResultOK"
  531. }
  532. },
  533. "500": {
  534. "description": "{object} ResultError 失败"
  535. }
  536. }
  537. }
  538. },
  539. "/admin/sysmodel/saveas": {
  540. "post": {
  541. "tags": [
  542. "scd_check_tools/controllersBusAdminController"
  543. ],
  544. "summary": "复制并保存指定的内置检测模型为自定义模型",
  545. "description": "复制并保存指定的内置检测模型为自定义模型",
  546. "parameters": [
  547. {
  548. "in": "formData",
  549. "name": "id",
  550. "description": "模型ID",
  551. "required": true,
  552. "type": "integer",
  553. "format": "int64"
  554. },
  555. {
  556. "in": "formData",
  557. "name": "newname",
  558. "description": "新模型名称",
  559. "required": true,
  560. "type": "string"
  561. }
  562. ],
  563. "responses": {
  564. "200": {
  565. "description": "成功",
  566. "schema": {
  567. "$ref": "#/definitions/ResultOK"
  568. }
  569. },
  570. "500": {
  571. "description": "{object} ResultError 失败"
  572. }
  573. }
  574. }
  575. },
  576. "/area/children/list": {
  577. "get": {
  578. "tags": [
  579. "scd_check_tools/controllersApiController"
  580. ],
  581. "summary": "获取指定获取的下级区域列表",
  582. "description": "获取指定获取的下级区域列表",
  583. "parameters": [
  584. {
  585. "in": "query",
  586. "name": "id",
  587. "description": "查询条件:区域ID",
  588. "required": true,
  589. "type": "string"
  590. },
  591. {
  592. "in": "query",
  593. "name": "all",
  594. "description": "查询条件:是否获取全部子区域。1表示是,反之表示否。默认为0",
  595. "type": "integer",
  596. "format": "int64"
  597. }
  598. ],
  599. "responses": {
  600. "200": {
  601. "description": "成功",
  602. "schema": {
  603. "$ref": "#/definitions/ResultOK"
  604. }
  605. },
  606. "500": {
  607. "description": "{object} ResultError 失败"
  608. }
  609. }
  610. }
  611. },
  612. "/area/tree": {
  613. "get": {
  614. "tags": [
  615. "scd_check_tools/controllersApiController"
  616. ],
  617. "summary": "获取区域列表",
  618. "description": "获取区域列表。以tree结构形式返回。",
  619. "responses": {
  620. "200": {
  621. "description": "成功",
  622. "schema": {
  623. "$ref": "#/definitions/ResultOK"
  624. }
  625. },
  626. "500": {
  627. "description": "{object} ResultError 失败"
  628. }
  629. }
  630. }
  631. },
  632. "/attachment/cfg/delete": {
  633. "post": {
  634. "tags": [
  635. "scd_check_tools/controllersAttachmentController"
  636. ],
  637. "summary": "删除指定的数据及附件自动清理配置",
  638. "description": "删除指定的数据及附件自动清理配置",
  639. "parameters": [
  640. {
  641. "in": "formData",
  642. "name": "id",
  643. "description": "配置记录id",
  644. "required": true,
  645. "type": "integer",
  646. "format": "int64"
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "成功",
  652. "schema": {
  653. "$ref": "#/definitions/ResultOK"
  654. }
  655. },
  656. "500": {
  657. "description": "{object} ResultError 失败"
  658. }
  659. }
  660. }
  661. },
  662. "/attachment/cfg/list": {
  663. "get": {
  664. "tags": [
  665. "scd_check_tools/controllersAttachmentController"
  666. ],
  667. "summary": "获取数据及附件自动清理配置列表",
  668. "description": "获取数据及附件自动清理配置列表",
  669. "responses": {
  670. "200": {
  671. "description": "成功",
  672. "schema": {
  673. "$ref": "#/definitions/ResultOK"
  674. }
  675. },
  676. "500": {
  677. "description": "{object} ResultError 失败"
  678. }
  679. }
  680. }
  681. },
  682. "/attachment/cfg/one": {
  683. "get": {
  684. "tags": [
  685. "scd_check_tools/controllersAttachmentController"
  686. ],
  687. "summary": "获取指定的数据及附件自动清理配置",
  688. "description": "获取指定的数据及附件自动清理配置",
  689. "parameters": [
  690. {
  691. "in": "query",
  692. "name": "id",
  693. "description": "配置记录id。",
  694. "required": true,
  695. "type": "integer",
  696. "format": "int64"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "成功",
  702. "schema": {
  703. "$ref": "#/definitions/ResultOK"
  704. }
  705. },
  706. "500": {
  707. "description": "{object} ResultError 失败"
  708. }
  709. }
  710. }
  711. },
  712. "/attachment/cfg/save": {
  713. "post": {
  714. "tags": [
  715. "scd_check_tools/controllersAttachmentController"
  716. ],
  717. "summary": "保存数据及附件自动清理配置",
  718. "description": "保存数据及附件自动清理配置",
  719. "parameters": [
  720. {
  721. "in": "formData",
  722. "name": "id",
  723. "description": "配置记录id。不为0时表示编辑保存",
  724. "required": true,
  725. "type": "integer",
  726. "format": "int64"
  727. },
  728. {
  729. "in": "formData",
  730. "name": "name",
  731. "description": "配置名称",
  732. "required": true,
  733. "type": "string"
  734. },
  735. {
  736. "in": "formData",
  737. "name": "skeepday",
  738. "description": "数据及附件保留的天数",
  739. "required": true,
  740. "type": "integer",
  741. "format": "int64"
  742. },
  743. {
  744. "in": "formData",
  745. "name": "tablename",
  746. "description": "数据模型名称",
  747. "required": true,
  748. "type": "string"
  749. },
  750. {
  751. "in": "formData",
  752. "name": "colname",
  753. "description": "数据模型中的记录创建日期列名",
  754. "required": true,
  755. "type": "string"
  756. },
  757. {
  758. "in": "formData",
  759. "name": "filterwhere",
  760. "description": "数据过滤条件。支持SQL语法",
  761. "type": "string"
  762. },
  763. {
  764. "in": "formData",
  765. "name": "memo",
  766. "description": "配置说明",
  767. "type": "string"
  768. }
  769. ],
  770. "responses": {
  771. "200": {
  772. "description": "成功",
  773. "schema": {
  774. "$ref": "#/definitions/ResultOK"
  775. }
  776. },
  777. "500": {
  778. "description": "{object} ResultError 失败"
  779. }
  780. }
  781. }
  782. },
  783. "/attachment/delete": {
  784. "post": {
  785. "tags": [
  786. "scd_check_tools/controllersAttachmentController"
  787. ],
  788. "summary": "删除附件",
  789. "description": "删除指定的附件",
  790. "parameters": [
  791. {
  792. "in": "formData",
  793. "name": "id",
  794. "description": "需要删除的附件id。",
  795. "required": true,
  796. "type": "integer",
  797. "format": "int64"
  798. },
  799. {
  800. "in": "formData",
  801. "name": "ids",
  802. "description": "需要删除的附件id。多个附件id使用逗号分隔。",
  803. "required": true,
  804. "type": "string"
  805. },
  806. {
  807. "in": "formData",
  808. "name": "scd_id",
  809. "description": "SCD文件ID。不为空时表示删除该SCD关联的文件",
  810. "type": "integer",
  811. "format": "int64"
  812. },
  813. {
  814. "in": "formData",
  815. "name": "check_flag",
  816. "description": "是否是管控文件。1表示是,否则表示为否",
  817. "type": "integer",
  818. "format": "int64"
  819. }
  820. ],
  821. "responses": {
  822. "200": {
  823. "description": "成功",
  824. "schema": {
  825. "$ref": "#/definitions/ResultOK"
  826. }
  827. },
  828. "500": {
  829. "description": "{object} ResultError 失败"
  830. }
  831. }
  832. }
  833. },
  834. "/attachment/download": {
  835. "post": {
  836. "tags": [
  837. "scd_check_tools/controllersAttachmentController"
  838. ],
  839. "summary": "下载附件",
  840. "description": "查询附件列表",
  841. "parameters": [
  842. {
  843. "in": "formData",
  844. "name": "ids",
  845. "description": "需要下载的附件id。多个附件id使用逗号分隔。",
  846. "required": true,
  847. "type": "string"
  848. }
  849. ],
  850. "responses": {
  851. "200": {
  852. "description": "成功",
  853. "schema": {
  854. "$ref": "#/definitions/ResultOK"
  855. }
  856. },
  857. "500": {
  858. "description": "{object} ResultError 失败"
  859. }
  860. }
  861. }
  862. },
  863. "/attachment/download/rec": {
  864. "post": {
  865. "tags": [
  866. "scd_check_tools/controllersAttachmentController"
  867. ],
  868. "summary": "查询指定附件下载历史记录",
  869. "description": "查询指定附件下载历史记录。(预留)",
  870. "parameters": [
  871. {
  872. "in": "query",
  873. "name": "id",
  874. "description": "附件id。",
  875. "required": true,
  876. "type": "integer",
  877. "format": "int64"
  878. }
  879. ],
  880. "responses": {
  881. "200": {
  882. "description": "成功",
  883. "schema": {
  884. "$ref": "#/definitions/ResultOK"
  885. }
  886. },
  887. "500": {
  888. "description": "{object} ResultError 失败"
  889. }
  890. }
  891. }
  892. },
  893. "/attachment/list": {
  894. "get": {
  895. "tags": [
  896. "scd_check_tools/controllersAttachmentController"
  897. ],
  898. "summary": "查询附件列表",
  899. "description": "查询附件列表",
  900. "parameters": [
  901. {
  902. "in": "query",
  903. "name": "pageindex",
  904. "description": "当前查询的分页页码,默认为1",
  905. "required": true,
  906. "type": "integer",
  907. "format": "int64"
  908. },
  909. {
  910. "in": "query",
  911. "name": "pagesize",
  912. "description": "每页显示的数据条数,默认为20",
  913. "required": true,
  914. "type": "integer",
  915. "format": "int64"
  916. },
  917. {
  918. "in": "query",
  919. "name": "station_id",
  920. "description": "变电站ID",
  921. "required": true,
  922. "type": "integer",
  923. "format": "int64"
  924. },
  925. {
  926. "in": "query",
  927. "name": "scd_id",
  928. "description": "SCD文件ID",
  929. "type": "integer",
  930. "format": "int64"
  931. },
  932. {
  933. "in": "query",
  934. "name": "is_checkin",
  935. "description": "是否管控文档。0 其他文件 1 管控文件 2 裁剪文件",
  936. "type": "integer",
  937. "format": "int64"
  938. },
  939. {
  940. "in": "query",
  941. "name": "name",
  942. "description": "附件名称",
  943. "type": "string"
  944. },
  945. {
  946. "in": "query",
  947. "name": "ied_name",
  948. "description": "装置名称",
  949. "type": "string"
  950. },
  951. {
  952. "in": "query",
  953. "name": "type",
  954. "description": "文件类别ID",
  955. "type": "integer",
  956. "format": "int64"
  957. }
  958. ],
  959. "responses": {
  960. "200": {
  961. "description": "成功",
  962. "schema": {
  963. "$ref": "#/definitions/ResultOK"
  964. }
  965. },
  966. "500": {
  967. "description": "{object} ResultError 失败"
  968. }
  969. }
  970. }
  971. },
  972. "/attachment/one": {
  973. "get": {
  974. "tags": [
  975. "scd_check_tools/controllersAttachmentController"
  976. ],
  977. "summary": "根据id获取附件信息",
  978. "description": "根据id获取附件信息",
  979. "parameters": [
  980. {
  981. "in": "query",
  982. "name": "id",
  983. "description": "附件ID",
  984. "required": true,
  985. "type": "integer",
  986. "format": "int64"
  987. }
  988. ],
  989. "responses": {
  990. "200": {
  991. "description": "成功",
  992. "schema": {
  993. "$ref": "#/definitions/ResultOK"
  994. }
  995. },
  996. "500": {
  997. "description": "{object} ResultError 失败"
  998. }
  999. }
  1000. }
  1001. },
  1002. "/attachment/scdparse/start": {
  1003. "post": {
  1004. "tags": [
  1005. "scd_check_tools/controllersAttachmentController"
  1006. ],
  1007. "summary": "重新解析指定的SCD文件",
  1008. "description": "重新解析指定的SCD文件",
  1009. "parameters": [
  1010. {
  1011. "in": "formData",
  1012. "name": "station_id",
  1013. "description": "变电站ID",
  1014. "required": true,
  1015. "type": "integer",
  1016. "format": "int64"
  1017. },
  1018. {
  1019. "in": "formData",
  1020. "name": "scd_name",
  1021. "description": "SCD文件名称",
  1022. "required": true,
  1023. "type": "string"
  1024. },
  1025. {
  1026. "in": "formData",
  1027. "name": "scd_path",
  1028. "description": "SCD附件路径",
  1029. "required": true,
  1030. "type": "string"
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "成功",
  1036. "schema": {
  1037. "$ref": "#/definitions/ResultOK"
  1038. }
  1039. },
  1040. "500": {
  1041. "description": "{object} ResultError 失败"
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "/attachment/stat": {
  1047. "get": {
  1048. "tags": [
  1049. "scd_check_tools/controllersStatController"
  1050. ],
  1051. "summary": "SCD文档分类统计",
  1052. "description": "SCD文档分类统计",
  1053. "parameters": [
  1054. {
  1055. "in": "query",
  1056. "name": "station_id",
  1057. "description": "变电站ID",
  1058. "type": "integer",
  1059. "format": "int64"
  1060. }
  1061. ],
  1062. "responses": {
  1063. "200": {
  1064. "description": "错误",
  1065. "schema": {
  1066. "$ref": "#/definitions/ResultError"
  1067. }
  1068. },
  1069. "500": {
  1070. "description": "status 失败"
  1071. }
  1072. }
  1073. }
  1074. },
  1075. "/basic_area/del": {
  1076. "post": {
  1077. "tags": [
  1078. "scd_check_tools/controllersApiController"
  1079. ],
  1080. "summary": "删除指定区域信息",
  1081. "description": "删除指定区域信息",
  1082. "parameters": [
  1083. {
  1084. "in": "query",
  1085. "name": "id",
  1086. "description": "区域ID。",
  1087. "required": true,
  1088. "type": "integer",
  1089. "format": "int64"
  1090. },
  1091. {
  1092. "in": "query",
  1093. "name": "isall",
  1094. "description": "是否同时删除所有下级区域。1为是,反之为否。默认为否",
  1095. "type": "integer",
  1096. "format": "int64"
  1097. }
  1098. ],
  1099. "responses": {
  1100. "200": {
  1101. "description": "成功",
  1102. "schema": {
  1103. "$ref": "#/definitions/ResultOK"
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "{object} ResultError 失败"
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/basic_area/getchildrencount": {
  1113. "get": {
  1114. "tags": [
  1115. "scd_check_tools/controllersApiController"
  1116. ],
  1117. "summary": "查询指定区域的下级区域数量",
  1118. "description": "查询指定区域的下级区域数量",
  1119. "parameters": [
  1120. {
  1121. "in": "query",
  1122. "name": "pid",
  1123. "description": "查询条件:父级区域ID",
  1124. "required": true,
  1125. "type": "integer",
  1126. "format": "int64"
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "成功",
  1132. "schema": {
  1133. "$ref": "#/definitions/ResultOK"
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "{object} ResultError 失败"
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/basic_area/list": {
  1143. "get": {
  1144. "tags": [
  1145. "scd_check_tools/controllersApiController"
  1146. ],
  1147. "summary": "根据查询条件搜索区域(变电站)列表",
  1148. "description": "根据查询条件搜索区域(变电站)列表",
  1149. "parameters": [
  1150. {
  1151. "in": "query",
  1152. "name": "pageindex",
  1153. "description": "当前查询的分页页码,默认为1",
  1154. "type": "integer",
  1155. "format": "int64"
  1156. },
  1157. {
  1158. "in": "query",
  1159. "name": "pagesize",
  1160. "description": "每页显示的数据条数,默认为20",
  1161. "type": "integer",
  1162. "format": "int64"
  1163. },
  1164. {
  1165. "in": "query",
  1166. "name": "name",
  1167. "description": "查询条件:区域名称。模糊匹配",
  1168. "type": "string"
  1169. },
  1170. {
  1171. "in": "query",
  1172. "name": "id",
  1173. "description": "查询条件:区域ID",
  1174. "type": "integer",
  1175. "format": "int64"
  1176. },
  1177. {
  1178. "in": "query",
  1179. "name": "pid",
  1180. "description": "查询条件:父级区域ID",
  1181. "type": "integer",
  1182. "format": "int64"
  1183. }
  1184. ],
  1185. "responses": {
  1186. "200": {
  1187. "description": "成功",
  1188. "schema": {
  1189. "$ref": "#/definitions/ResultOK"
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "{object} ResultError 失败"
  1194. }
  1195. }
  1196. }
  1197. },
  1198. "/basic_area/save": {
  1199. "post": {
  1200. "tags": [
  1201. "scd_check_tools/controllersApiController"
  1202. ],
  1203. "summary": "保存区域信息",
  1204. "description": "保存区域信息",
  1205. "parameters": [
  1206. {
  1207. "in": "query",
  1208. "name": "id",
  1209. "description": "区域ID。编辑时必填。",
  1210. "required": true,
  1211. "type": "integer",
  1212. "format": "int64"
  1213. },
  1214. {
  1215. "in": "query",
  1216. "name": "pid",
  1217. "description": "父级区域ID",
  1218. "required": true,
  1219. "type": "integer",
  1220. "format": "int64"
  1221. },
  1222. {
  1223. "in": "query",
  1224. "name": "area_type",
  1225. "description": "区域类型",
  1226. "required": true,
  1227. "type": "integer",
  1228. "format": "int64"
  1229. },
  1230. {
  1231. "in": "query",
  1232. "name": "area_name",
  1233. "description": "区域名称",
  1234. "required": true,
  1235. "type": "string"
  1236. },
  1237. {
  1238. "in": "query",
  1239. "name": "area_addr",
  1240. "description": "区域地址",
  1241. "type": "string"
  1242. }
  1243. ],
  1244. "responses": {
  1245. "200": {
  1246. "description": "成功",
  1247. "schema": {
  1248. "$ref": "#/definitions/ResultOK"
  1249. }
  1250. },
  1251. "500": {
  1252. "description": "{object} ResultError 失败"
  1253. }
  1254. }
  1255. }
  1256. },
  1257. "/code/tree": {
  1258. "get": {
  1259. "tags": [
  1260. "scd_check_tools/controllersApiController"
  1261. ]
  1262. }
  1263. },
  1264. "/createuser": {
  1265. "post": {
  1266. "tags": [
  1267. "scd_check_tools/controllersApiController"
  1268. ],
  1269. "summary": "创建用户",
  1270. "description": "查询用户信息",
  1271. "parameters": [
  1272. {
  1273. "in": "query",
  1274. "name": "userid",
  1275. "description": "用户ID",
  1276. "required": true,
  1277. "type": "integer",
  1278. "format": "int64"
  1279. },
  1280. {
  1281. "in": "query",
  1282. "name": "role",
  1283. "description": "角色ID",
  1284. "required": true,
  1285. "type": "integer",
  1286. "format": "int64"
  1287. },
  1288. {
  1289. "in": "query",
  1290. "name": "username",
  1291. "description": "姓名",
  1292. "required": true,
  1293. "type": "string"
  1294. },
  1295. {
  1296. "in": "query",
  1297. "name": "account",
  1298. "description": "登录帐号",
  1299. "required": true,
  1300. "type": "string"
  1301. },
  1302. {
  1303. "in": "query",
  1304. "name": "password",
  1305. "description": "登录密码",
  1306. "required": true,
  1307. "type": "string"
  1308. },
  1309. {
  1310. "in": "query",
  1311. "name": "mobilephone",
  1312. "description": "手机号",
  1313. "type": "string"
  1314. },
  1315. {
  1316. "in": "query",
  1317. "name": "pwd_expire",
  1318. "description": "密码过期日期",
  1319. "type": "string"
  1320. },
  1321. {
  1322. "in": "query",
  1323. "name": "bind_ips",
  1324. "description": "允许登录的IP",
  1325. "type": "string"
  1326. },
  1327. {
  1328. "in": "query",
  1329. "name": "datelimit_start",
  1330. "description": "帐号有效期开始日期",
  1331. "type": "string"
  1332. },
  1333. {
  1334. "in": "query",
  1335. "name": "datelimit_end",
  1336. "description": "帐号有效期结束日期",
  1337. "type": "string"
  1338. },
  1339. {
  1340. "in": "query",
  1341. "name": "memo",
  1342. "description": "其他说明",
  1343. "type": "string"
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "成功",
  1349. "schema": {
  1350. "$ref": "#/definitions/WarpOK"
  1351. }
  1352. },
  1353. "500": {
  1354. "description": "{object} WarpError 失败"
  1355. }
  1356. }
  1357. }
  1358. },
  1359. "/db/backup/del": {
  1360. "post": {
  1361. "tags": [
  1362. "scd_check_tools/controllersApiController"
  1363. ],
  1364. "summary": "删除指定的数据备份",
  1365. "description": "删除指定的数据备份",
  1366. "parameters": [
  1367. {
  1368. "in": "query",
  1369. "name": "id",
  1370. "description": "备份记录ID",
  1371. "type": "integer",
  1372. "format": "int64"
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "成功",
  1378. "schema": {
  1379. "$ref": "#/definitions/ResultOK"
  1380. }
  1381. },
  1382. "500": {
  1383. "description": "{object} ResultError 失败"
  1384. }
  1385. }
  1386. }
  1387. },
  1388. "/db/backup/list": {
  1389. "get": {
  1390. "tags": [
  1391. "scd_check_tools/controllersApiController"
  1392. ],
  1393. "summary": "获取数据备份列表",
  1394. "description": "获取数据备份列表",
  1395. "parameters": [
  1396. {
  1397. "in": "query",
  1398. "name": "pageindex",
  1399. "description": "当前查询的分页页码,默认为1",
  1400. "type": "integer",
  1401. "format": "int64"
  1402. },
  1403. {
  1404. "in": "query",
  1405. "name": "pagesize",
  1406. "description": "每页显示的数据条数,默认为20",
  1407. "type": "integer",
  1408. "format": "int64"
  1409. },
  1410. {
  1411. "in": "query",
  1412. "name": "enddate",
  1413. "description": "备份结束日期",
  1414. "type": "string"
  1415. },
  1416. {
  1417. "in": "query",
  1418. "name": "startdate",
  1419. "description": "备份开始日期",
  1420. "type": "string"
  1421. }
  1422. ],
  1423. "responses": {
  1424. "200": {
  1425. "description": "成功",
  1426. "schema": {
  1427. "$ref": "#/definitions/ResultOK"
  1428. }
  1429. },
  1430. "500": {
  1431. "description": "{object} ResultError 失败"
  1432. }
  1433. }
  1434. }
  1435. },
  1436. "/db/backup/new": {
  1437. "post": {
  1438. "tags": [
  1439. "scd_check_tools/controllersApiController"
  1440. ],
  1441. "summary": "创建新数据备份",
  1442. "description": "创建新数据备份",
  1443. "responses": {
  1444. "200": {
  1445. "description": "成功",
  1446. "schema": {
  1447. "$ref": "#/definitions/ResultOK"
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "{object} ResultError 失败"
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "/db/backup/recover": {
  1457. "post": {
  1458. "tags": [
  1459. "scd_check_tools/controllersApiController"
  1460. ],
  1461. "summary": "数据还原",
  1462. "description": "还原指定的数据备份",
  1463. "parameters": [
  1464. {
  1465. "in": "query",
  1466. "name": "id",
  1467. "description": "备份记录ID",
  1468. "required": true,
  1469. "type": "integer",
  1470. "format": "int64"
  1471. }
  1472. ],
  1473. "responses": {
  1474. "200": {
  1475. "description": "成功",
  1476. "schema": {
  1477. "$ref": "#/definitions/ResultOK"
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "{object} ResultError 失败"
  1482. }
  1483. }
  1484. }
  1485. },
  1486. "/deleteGlobalcode": {
  1487. "post": {
  1488. "tags": [
  1489. "scd_check_tools/controllersApiController"
  1490. ],
  1491. "summary": "删除指定系统字典定义",
  1492. "description": "根据字典编码或ID删除指定系统字典定义",
  1493. "parameters": [
  1494. {
  1495. "in": "query",
  1496. "name": "code",
  1497. "description": "系统字典编码",
  1498. "type": "string"
  1499. },
  1500. {
  1501. "in": "query",
  1502. "name": "id",
  1503. "description": "系统字典ID",
  1504. "type": "string"
  1505. }
  1506. ],
  1507. "responses": {
  1508. "200": {
  1509. "description": "成功",
  1510. "schema": {
  1511. "$ref": "#/definitions/WarpOK"
  1512. }
  1513. },
  1514. "500": {
  1515. "description": "{object} WarpError 失败"
  1516. }
  1517. }
  1518. }
  1519. },
  1520. "/doc/stat/1": {
  1521. "get": {
  1522. "tags": [
  1523. "scd_check_tools/controllersStatController"
  1524. ],
  1525. "summary": "资料完整度统计",
  1526. "description": "资料完整度统计",
  1527. "parameters": [
  1528. {
  1529. "in": "query",
  1530. "name": "id",
  1531. "description": "区域ID",
  1532. "type": "integer",
  1533. "format": "int64"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "错误",
  1539. "schema": {
  1540. "$ref": "#/definitions/ResultError"
  1541. }
  1542. },
  1543. "500": {
  1544. "description": "status 失败"
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/flow/cnf/deleteuser": {
  1550. "post": {
  1551. "tags": [
  1552. "scd_check_tools/controllersFlowController"
  1553. ],
  1554. "summary": "删除指定流程的节点人员配置信息",
  1555. "description": "删除指定流程的节点人员配置信息",
  1556. "parameters": [
  1557. {
  1558. "in": "formData",
  1559. "name": "user_id",
  1560. "description": "节点已分配的人员ID",
  1561. "required": true,
  1562. "type": "string"
  1563. },
  1564. {
  1565. "in": "formData",
  1566. "name": "node_inst_id",
  1567. "description": "节点与人员的分配记录ID",
  1568. "required": true,
  1569. "type": "string"
  1570. }
  1571. ],
  1572. "responses": {
  1573. "200": {
  1574. "description": "成功",
  1575. "schema": {
  1576. "$ref": "#/definitions/ResultOK"
  1577. }
  1578. },
  1579. "500": {
  1580. "description": "{object} ResultError 失败"
  1581. }
  1582. }
  1583. }
  1584. },
  1585. "/flow/cnf/getinfo": {
  1586. "get": {
  1587. "tags": [
  1588. "scd_check_tools/controllersFlowController"
  1589. ],
  1590. "summary": "获取流程配置信息",
  1591. "description": "获取流程配置信息",
  1592. "parameters": [
  1593. {
  1594. "in": "query",
  1595. "name": "station_id",
  1596. "description": "变电站ID",
  1597. "required": true,
  1598. "type": "string"
  1599. },
  1600. {
  1601. "in": "query",
  1602. "name": "flow_type",
  1603. "description": "流程类型。值为:3(SCD签入)、4(SCD签出)之一",
  1604. "type": "string"
  1605. },
  1606. {
  1607. "in": "query",
  1608. "name": "userfilter",
  1609. "description": "是否需要根据当前登录人员进行节点过滤,为1表示需要,主要用于流转时获取节点列表;否则为获取全节点,主要用于后台配置",
  1610. "type": "string"
  1611. }
  1612. ],
  1613. "responses": {
  1614. "200": {
  1615. "description": "成功",
  1616. "schema": {
  1617. "$ref": "#/definitions/ResultOK"
  1618. }
  1619. },
  1620. "500": {
  1621. "description": "{object} ResultError 失败"
  1622. }
  1623. }
  1624. }
  1625. },
  1626. "/flow/getlastoutworkbook": {
  1627. "get": {
  1628. "tags": [
  1629. "scd_check_tools/controllersFlowController"
  1630. ],
  1631. "summary": "获取指定站最新签出流程详细信息",
  1632. "description": "获取指定站最新签出流程详细信息",
  1633. "parameters": [
  1634. {
  1635. "in": "query",
  1636. "name": "station_id",
  1637. "description": "变电站ID",
  1638. "required": true,
  1639. "type": "string"
  1640. }
  1641. ],
  1642. "responses": {
  1643. "200": {
  1644. "description": "成功",
  1645. "schema": {
  1646. "$ref": "#/definitions/ResultOK"
  1647. }
  1648. },
  1649. "500": {
  1650. "description": "{object} ResultError 失败"
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/flow/lock/list": {
  1656. "get": {
  1657. "tags": [
  1658. "scd_check_tools/controllersFlowController"
  1659. ],
  1660. "summary": "获取指定站的锁定流程记录列表",
  1661. "description": "获取指定站的锁定流程记录列表",
  1662. "parameters": [
  1663. {
  1664. "in": "query",
  1665. "name": "station_id",
  1666. "description": "变电站ID",
  1667. "required": true,
  1668. "type": "string"
  1669. }
  1670. ],
  1671. "responses": {
  1672. "200": {
  1673. "description": "成功",
  1674. "schema": {
  1675. "$ref": "#/definitions/ResultOK"
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "{object} ResultError 失败"
  1680. }
  1681. }
  1682. }
  1683. },
  1684. "/flow/node/getdata": {
  1685. "get": {
  1686. "tags": [
  1687. "scd_check_tools/controllersFlowController"
  1688. ],
  1689. "summary": "获取指节点的详细数据",
  1690. "description": "获取指节点的详细数据",
  1691. "parameters": [
  1692. {
  1693. "in": "query",
  1694. "name": "station_id",
  1695. "description": "变电站ID",
  1696. "required": true,
  1697. "type": "string"
  1698. },
  1699. {
  1700. "in": "query",
  1701. "name": "node_code",
  1702. "description": "节点编号。值为:checkinstart 编制,checkincheck 校验,checkinaudit 审核,checkinend 发布,checkoutstart 签出,checkoutcheck 校核,checkoutend 审核之一",
  1703. "required": true,
  1704. "type": "string"
  1705. },
  1706. {
  1707. "in": "query",
  1708. "name": "flow_run_id",
  1709. "description": "流程ID",
  1710. "required": true,
  1711. "type": "integer",
  1712. "format": "int64"
  1713. },
  1714. {
  1715. "in": "query",
  1716. "name": "flow_type",
  1717. "description": "流程类型,值为:3(SCD签入)、4(SCD签出)之一",
  1718. "type": "string"
  1719. }
  1720. ],
  1721. "responses": {
  1722. "200": {
  1723. "description": "成功",
  1724. "schema": {
  1725. "$ref": "#/definitions/ResultOK"
  1726. }
  1727. },
  1728. "500": {
  1729. "description": "{object} ResultError 失败"
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/flow/node/refuser": {
  1735. "post": {
  1736. "tags": [
  1737. "scd_check_tools/controllersFlowController"
  1738. ],
  1739. "summary": "保存流程配置信息",
  1740. "description": "保存流程配置信息",
  1741. "parameters": [
  1742. {
  1743. "in": "formData",
  1744. "name": "station_id",
  1745. "description": "变电站ID",
  1746. "required": true,
  1747. "type": "string"
  1748. },
  1749. {
  1750. "in": "formData",
  1751. "name": "node_id",
  1752. "description": "节点编号ID",
  1753. "required": true,
  1754. "type": "string"
  1755. },
  1756. {
  1757. "in": "formData",
  1758. "name": "user_ids",
  1759. "description": "有该节点权限的人员ID列表,多个ID之间用逗号分隔",
  1760. "required": true,
  1761. "type": "string"
  1762. },
  1763. {
  1764. "in": "formData",
  1765. "name": "node_inst_id",
  1766. "description": "节点与人员的分配记录ID",
  1767. "type": "string"
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "成功",
  1773. "schema": {
  1774. "$ref": "#/definitions/ResultOK"
  1775. }
  1776. },
  1777. "500": {
  1778. "description": "{object} ResultError 失败"
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/flow/run/list": {
  1784. "get": {
  1785. "tags": [
  1786. "scd_check_tools/controllersFlowController"
  1787. ],
  1788. "summary": "获取指定站的签入签出流程记录列表",
  1789. "description": "获取指定站的签入签出流程记录列表",
  1790. "parameters": [
  1791. {
  1792. "in": "query",
  1793. "name": "station_id",
  1794. "description": "变电站ID",
  1795. "required": true,
  1796. "type": "string"
  1797. },
  1798. {
  1799. "in": "query",
  1800. "name": "pageno",
  1801. "description": "当前页码,默认为1",
  1802. "required": true,
  1803. "type": "integer",
  1804. "format": "int64"
  1805. },
  1806. {
  1807. "in": "query",
  1808. "name": "pagesize",
  1809. "description": "每页记录条数,默认为20",
  1810. "required": true,
  1811. "type": "integer",
  1812. "format": "int64"
  1813. },
  1814. {
  1815. "in": "query",
  1816. "name": "dt1",
  1817. "description": "查询条件:开始日期",
  1818. "type": "string"
  1819. },
  1820. {
  1821. "in": "query",
  1822. "name": "dt2",
  1823. "description": "查询条件:结束日期",
  1824. "type": "string"
  1825. },
  1826. {
  1827. "in": "query",
  1828. "name": "name",
  1829. "description": "查询条件:SCD名称。模糊匹配",
  1830. "type": "string"
  1831. },
  1832. {
  1833. "in": "query",
  1834. "name": "flowtype",
  1835. "description": "查询条件:流程类型,值为:3(SCD签入)、4(SCD签出)之一",
  1836. "type": "string"
  1837. },
  1838. {
  1839. "in": "query",
  1840. "name": "flowstate",
  1841. "description": "查询条件:流程状态,值为:0 处理中 1 结束 2 驳回之一",
  1842. "type": "string"
  1843. }
  1844. ],
  1845. "responses": {
  1846. "200": {
  1847. "description": "成功",
  1848. "schema": {
  1849. "$ref": "#/definitions/ResultOK"
  1850. }
  1851. },
  1852. "500": {
  1853. "description": "{object} ResultError 失败"
  1854. }
  1855. }
  1856. }
  1857. },
  1858. "/flow/run/nodedeal/save": {
  1859. "post": {
  1860. "tags": [
  1861. "scd_check_tools/controllersFlowController"
  1862. ],
  1863. "summary": "保存指定站的签入签出节点信息",
  1864. "description": "保存指定站的签入签出节点信息",
  1865. "parameters": [
  1866. {
  1867. "in": "formData",
  1868. "name": "station_id",
  1869. "description": "变电站ID",
  1870. "required": true,
  1871. "type": "string"
  1872. },
  1873. {
  1874. "in": "formData",
  1875. "name": "node_code",
  1876. "description": "节点编号。值为:checkinstart 编制,checkincheck 校验,checkinaudit 审核,checkinend 发布,checkoutstart 签出,checkoutcheck 校核,checkoutend 审核之一",
  1877. "required": true,
  1878. "type": "string"
  1879. },
  1880. {
  1881. "in": "formData",
  1882. "name": "content",
  1883. "description": "节点填录的所有信息,为JSON对象序列化后的字符串。",
  1884. "required": true,
  1885. "type": "string"
  1886. },
  1887. {
  1888. "in": "formData",
  1889. "name": "flow_run_id",
  1890. "description": "流程ID",
  1891. "required": true,
  1892. "type": "integer",
  1893. "format": "int64"
  1894. },
  1895. {
  1896. "in": "formData",
  1897. "name": "opt",
  1898. "description": "操作类型。1 通过 0 驳回",
  1899. "type": "string"
  1900. },
  1901. {
  1902. "in": "formData",
  1903. "name": "flow_type",
  1904. "description": "流程类型,值为:3(SCD签入)、4(SCD签出)之一",
  1905. "type": "string"
  1906. }
  1907. ],
  1908. "responses": {
  1909. "200": {
  1910. "description": "成功",
  1911. "schema": {
  1912. "$ref": "#/definitions/ResultOK"
  1913. }
  1914. },
  1915. "500": {
  1916. "description": "{object} ResultError 失败"
  1917. }
  1918. }
  1919. }
  1920. },
  1921. "/flow/stat/list": {
  1922. "get": {
  1923. "tags": [
  1924. "scd_check_tools/controllersStatController"
  1925. ],
  1926. "summary": "SCD签入签出统计",
  1927. "description": "SCD签入签出统计",
  1928. "parameters": [
  1929. {
  1930. "in": "query",
  1931. "name": "station_id",
  1932. "description": "变电站ID",
  1933. "type": "integer",
  1934. "format": "int64"
  1935. }
  1936. ],
  1937. "responses": {
  1938. "200": {
  1939. "description": "错误",
  1940. "schema": {
  1941. "$ref": "#/definitions/ResultError"
  1942. }
  1943. },
  1944. "500": {
  1945. "description": "status 失败"
  1946. }
  1947. }
  1948. }
  1949. },
  1950. "/getGlobalChildrenCode": {
  1951. "get": {
  1952. "tags": [
  1953. "scd_check_tools/controllersApiController"
  1954. ],
  1955. "summary": "获取指定系统字典的下级字典码定义",
  1956. "description": "获取指定系统字典的下级字典码定义",
  1957. "parameters": [
  1958. {
  1959. "in": "query",
  1960. "name": "code",
  1961. "description": "未指定code时,将返回根字典下的子字典定义列表。",
  1962. "type": "string"
  1963. }
  1964. ],
  1965. "responses": {
  1966. "200": {
  1967. "description": "成功",
  1968. "schema": {
  1969. "$ref": "#/definitions/ResultOK"
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "{object} ResultError 失败"
  1974. }
  1975. }
  1976. }
  1977. },
  1978. "/getGlobalCode": {
  1979. "get": {
  1980. "tags": [
  1981. "scd_check_tools/controllersApiController"
  1982. ],
  1983. "summary": "查询系统字典列表",
  1984. "description": "查询系统字典列表",
  1985. "parameters": [
  1986. {
  1987. "in": "query",
  1988. "name": "pageindex",
  1989. "description": "当前查询的页码。默认为1",
  1990. "type": "integer",
  1991. "format": "int64"
  1992. },
  1993. {
  1994. "in": "query",
  1995. "name": "pagesize",
  1996. "description": "每页显示的数据记录数,默认为20",
  1997. "type": "integer",
  1998. "format": "int64"
  1999. },
  2000. {
  2001. "in": "query",
  2002. "name": "pcode",
  2003. "description": "查询条件:指定的父级字典码",
  2004. "type": "string"
  2005. },
  2006. {
  2007. "in": "query",
  2008. "name": "code",
  2009. "description": "查询条件:指定的字典码",
  2010. "type": "string"
  2011. }
  2012. ],
  2013. "responses": {
  2014. "200": {
  2015. "description": "成功",
  2016. "schema": {
  2017. "$ref": "#/definitions/ResultOK"
  2018. }
  2019. },
  2020. "500": {
  2021. "description": "{object} ResultError 失败"
  2022. }
  2023. }
  2024. }
  2025. },
  2026. "/getGlobalCode/byid": {
  2027. "get": {
  2028. "tags": [
  2029. "scd_check_tools/controllersApiController"
  2030. ],
  2031. "summary": "根据id获取字典定义",
  2032. "description": "根据id获取字典定义",
  2033. "parameters": [
  2034. {
  2035. "in": "query",
  2036. "name": "id",
  2037. "description": "系统字典码ID",
  2038. "type": "string"
  2039. }
  2040. ],
  2041. "responses": {
  2042. "200": {
  2043. "description": "成功",
  2044. "schema": {
  2045. "$ref": "#/definitions/ResultOK"
  2046. }
  2047. },
  2048. "500": {
  2049. "description": "{object} ResultError 失败"
  2050. }
  2051. }
  2052. }
  2053. },
  2054. "/getRoleFuncList": {
  2055. "get": {
  2056. "tags": [
  2057. "scd_check_tools/controllersApiController"
  2058. ],
  2059. "summary": "获取指定角色的功能点列表",
  2060. "description": "获取指定角色的功能点列表",
  2061. "parameters": [
  2062. {
  2063. "in": "query",
  2064. "name": "roleid",
  2065. "description": "角色ID",
  2066. "required": true,
  2067. "type": "integer",
  2068. "format": "int64"
  2069. }
  2070. ],
  2071. "responses": {
  2072. "200": {
  2073. "description": "成功",
  2074. "schema": {
  2075. "$ref": "#/definitions/WarpOK"
  2076. }
  2077. },
  2078. "500": {
  2079. "description": "{object} WarpError 失败"
  2080. }
  2081. }
  2082. }
  2083. },
  2084. "/getSysParamList": {
  2085. "get": {
  2086. "tags": [
  2087. "scd_check_tools/controllersApiController"
  2088. ],
  2089. "summary": "获取全部或者指定的系统参数列表",
  2090. "description": "获取全部或者指定的系统参数列表",
  2091. "parameters": [
  2092. {
  2093. "in": "query",
  2094. "name": "param_name",
  2095. "description": "参数名",
  2096. "type": "string"
  2097. }
  2098. ],
  2099. "responses": {
  2100. "200": {
  2101. "description": "成功",
  2102. "schema": {
  2103. "$ref": "#/definitions/ResultOK"
  2104. }
  2105. },
  2106. "500": {
  2107. "description": "{object} ResultError 失败"
  2108. }
  2109. }
  2110. }
  2111. },
  2112. "/getSyslogList": {
  2113. "get": {
  2114. "tags": [
  2115. "scd_check_tools/controllersApiController"
  2116. ],
  2117. "summary": "查询操作日志列表",
  2118. "description": "查询操作日志列表",
  2119. "parameters": [
  2120. {
  2121. "in": "query",
  2122. "name": "pageindex",
  2123. "description": "当前查询页码。默认为1",
  2124. "required": true,
  2125. "type": "integer",
  2126. "format": "int64"
  2127. },
  2128. {
  2129. "in": "query",
  2130. "name": "pagesize",
  2131. "description": "每页显示数据条数。默认20",
  2132. "required": true,
  2133. "type": "integer",
  2134. "format": "int64"
  2135. },
  2136. {
  2137. "in": "query",
  2138. "name": "enddate",
  2139. "description": "查询条件:结束日期",
  2140. "type": "string"
  2141. },
  2142. {
  2143. "in": "query",
  2144. "name": "startdate",
  2145. "description": "查询条件:开始日期",
  2146. "type": "string"
  2147. },
  2148. {
  2149. "in": "query",
  2150. "name": "description",
  2151. "description": "查询条件:日志内容。模糊匹配",
  2152. "type": "string"
  2153. },
  2154. {
  2155. "in": "query",
  2156. "name": "staff",
  2157. "description": "查询条件:操作人姓名。模糊匹配",
  2158. "type": "string"
  2159. },
  2160. {
  2161. "in": "query",
  2162. "name": "ip",
  2163. "description": "查询条件:操作IP地址。模糊匹配",
  2164. "type": "string"
  2165. },
  2166. {
  2167. "in": "query",
  2168. "name": "success",
  2169. "description": "查询条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功",
  2170. "type": "integer",
  2171. "format": "int64"
  2172. },
  2173. {
  2174. "in": "query",
  2175. "name": "opttype",
  2176. "description": "查询条件:操作类型。关联系统字典log_opttype。",
  2177. "type": "integer",
  2178. "format": "int64"
  2179. },
  2180. {
  2181. "in": "query",
  2182. "name": "audittype",
  2183. "description": "查询条件:审计类型。关联系统字典log_audittype。",
  2184. "type": "integer",
  2185. "format": "int64"
  2186. },
  2187. {
  2188. "in": "query",
  2189. "name": "eventtype",
  2190. "description": "查询条件:事件类型。关联系统字典log_eventtype。",
  2191. "type": "integer",
  2192. "format": "int64"
  2193. },
  2194. {
  2195. "in": "query",
  2196. "name": "eventlevel",
  2197. "description": "查询条件:事件等级。关联系统字典log_eventlevel。",
  2198. "type": "integer",
  2199. "format": "int64"
  2200. }
  2201. ],
  2202. "responses": {
  2203. "200": {
  2204. "description": "成功",
  2205. "schema": {
  2206. "$ref": "#/definitions/ResultOK"
  2207. }
  2208. },
  2209. "500": {
  2210. "description": "{object} ResultError 失败"
  2211. }
  2212. }
  2213. }
  2214. },
  2215. "/getUser": {
  2216. "get": {
  2217. "tags": [
  2218. "scd_check_tools/controllersApiController"
  2219. ],
  2220. "summary": "查询指定用户的详细信息",
  2221. "description": "查询用户信息",
  2222. "parameters": [
  2223. {
  2224. "in": "query",
  2225. "name": "id",
  2226. "description": "用户ID",
  2227. "required": true,
  2228. "type": "integer",
  2229. "format": "int64"
  2230. }
  2231. ],
  2232. "responses": {
  2233. "200": {
  2234. "description": "成功",
  2235. "schema": {
  2236. "$ref": "#/definitions/WarpOK"
  2237. }
  2238. },
  2239. "500": {
  2240. "description": "{object} WarpError 失败"
  2241. }
  2242. }
  2243. }
  2244. },
  2245. "/getUserAreaList": {
  2246. "get": {
  2247. "tags": [
  2248. "scd_check_tools/controllersApiController"
  2249. ],
  2250. "summary": "获取指定用户所管理的区域列表",
  2251. "description": "获取指定用户所管理的区域列表",
  2252. "parameters": [
  2253. {
  2254. "in": "query",
  2255. "name": "userid",
  2256. "description": "用户ID",
  2257. "required": true,
  2258. "type": "integer",
  2259. "format": "int64"
  2260. }
  2261. ],
  2262. "responses": {
  2263. "200": {
  2264. "description": "成功",
  2265. "schema": {
  2266. "$ref": "#/definitions/ResultOK"
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "{object} ResultError 失败"
  2271. }
  2272. }
  2273. }
  2274. },
  2275. "/getUserPrivList": {
  2276. "get": {
  2277. "tags": [
  2278. "scd_check_tools/controllersApiController"
  2279. ],
  2280. "summary": "指定用户的功能列表",
  2281. "description": "指定用户的功能列表。非RBAC模式下有效",
  2282. "parameters": [
  2283. {
  2284. "in": "query",
  2285. "name": "id",
  2286. "description": "用户ID",
  2287. "required": true,
  2288. "type": "integer",
  2289. "format": "int64"
  2290. }
  2291. ],
  2292. "responses": {
  2293. "200": {
  2294. "description": "成功",
  2295. "schema": {
  2296. "$ref": "#/definitions/WarpOK"
  2297. }
  2298. },
  2299. "500": {
  2300. "description": "{object} WarpError 失败"
  2301. }
  2302. }
  2303. }
  2304. },
  2305. "/getVersion": {
  2306. "get": {
  2307. "tags": [
  2308. "scd_check_tools/controllersApiController"
  2309. ],
  2310. "summary": "获取当前程序版本",
  2311. "description": "获取当前程序版本",
  2312. "responses": {
  2313. "200": {
  2314. "description": "成功",
  2315. "schema": {
  2316. "$ref": "#/definitions/WarpOK"
  2317. }
  2318. },
  2319. "500": {
  2320. "description": "{object} WarpError 失败"
  2321. }
  2322. }
  2323. }
  2324. },
  2325. "/get_menu_tree": {
  2326. "get": {
  2327. "tags": [
  2328. "scd_check_tools/controllersApiController"
  2329. ],
  2330. "summary": "获取角色的已分配资源ID列表",
  2331. "description": "获取角色的已分配资源ID列表",
  2332. "parameters": [
  2333. {
  2334. "in": "query",
  2335. "name": "roleid",
  2336. "description": "角色ID",
  2337. "required": true,
  2338. "type": "string"
  2339. }
  2340. ],
  2341. "responses": {
  2342. "200": {
  2343. "description": "成功",
  2344. "schema": {
  2345. "$ref": "#/definitions/ResultOK"
  2346. }
  2347. },
  2348. "500": {
  2349. "description": "{object} ResultError 失败"
  2350. }
  2351. }
  2352. }
  2353. },
  2354. "/ied/stat": {
  2355. "get": {
  2356. "tags": [
  2357. "scd_check_tools/controllersStatController"
  2358. ],
  2359. "summary": "SCD装置分类统计",
  2360. "description": "SCD装置分类统计",
  2361. "parameters": [
  2362. {
  2363. "in": "query",
  2364. "name": "station_id",
  2365. "description": "变电站ID",
  2366. "type": "integer",
  2367. "format": "int64"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "错误",
  2373. "schema": {
  2374. "$ref": "#/definitions/ResultError"
  2375. }
  2376. },
  2377. "500": {
  2378. "description": "status 失败"
  2379. }
  2380. }
  2381. }
  2382. },
  2383. "/keep-alive": {
  2384. "get": {
  2385. "tags": [
  2386. "scd_check_tools/controllersApiController"
  2387. ],
  2388. "summary": "客户端心跳",
  2389. "description": "客户端心跳保持,由浏览器或客户端发起请求,以表示其还处于使用中",
  2390. "responses": {
  2391. "200": {
  2392. "description": "status 成功"
  2393. },
  2394. "500": {
  2395. "description": "status 失败"
  2396. }
  2397. }
  2398. }
  2399. },
  2400. "/log/backup": {
  2401. "post": {
  2402. "tags": [
  2403. "scd_check_tools/controllersApiController"
  2404. ],
  2405. "summary": "操作日志备份",
  2406. "description": "操作日志备份",
  2407. "parameters": [
  2408. {
  2409. "in": "query",
  2410. "name": "enddate",
  2411. "description": "备份结束日期",
  2412. "type": "string"
  2413. },
  2414. {
  2415. "in": "query",
  2416. "name": "startdate",
  2417. "description": "备份开始日期",
  2418. "type": "string"
  2419. }
  2420. ],
  2421. "responses": {
  2422. "200": {
  2423. "description": "成功",
  2424. "schema": {
  2425. "$ref": "#/definitions/ResultOK"
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "{object} ResultError 失败"
  2430. }
  2431. }
  2432. }
  2433. },
  2434. "/log/backup/del": {
  2435. "post": {
  2436. "tags": [
  2437. "scd_check_tools/controllersApiController"
  2438. ],
  2439. "summary": "操作日志备份删除",
  2440. "description": "操作日志备份删除",
  2441. "parameters": [
  2442. {
  2443. "in": "query",
  2444. "name": "id",
  2445. "description": "备份记录ID",
  2446. "required": true,
  2447. "type": "integer",
  2448. "format": "int64"
  2449. }
  2450. ],
  2451. "responses": {
  2452. "200": {
  2453. "description": "成功",
  2454. "schema": {
  2455. "$ref": "#/definitions/ResultOK"
  2456. }
  2457. },
  2458. "500": {
  2459. "description": "{object} ResultError 失败"
  2460. }
  2461. }
  2462. }
  2463. },
  2464. "/log/backup/list": {
  2465. "get": {
  2466. "tags": [
  2467. "scd_check_tools/controllersApiController"
  2468. ],
  2469. "summary": "获取操作日志备份列表",
  2470. "description": "获取操作日志备份列表",
  2471. "parameters": [
  2472. {
  2473. "in": "query",
  2474. "name": "pageindex",
  2475. "description": "当前查询的分页页码,默认为1",
  2476. "type": "integer",
  2477. "format": "int64"
  2478. },
  2479. {
  2480. "in": "query",
  2481. "name": "pagesize",
  2482. "description": "每页显示的数据条数,默认为20",
  2483. "type": "integer",
  2484. "format": "int64"
  2485. },
  2486. {
  2487. "in": "query",
  2488. "name": "enddate",
  2489. "description": "备份结束日期",
  2490. "type": "string"
  2491. },
  2492. {
  2493. "in": "query",
  2494. "name": "startdate",
  2495. "description": "备份开始日期",
  2496. "type": "string"
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "成功",
  2502. "schema": {
  2503. "$ref": "#/definitions/ResultOK"
  2504. }
  2505. },
  2506. "500": {
  2507. "description": "{object} ResultError 失败"
  2508. }
  2509. }
  2510. }
  2511. },
  2512. "/log/chartstat": {
  2513. "get": {
  2514. "tags": [
  2515. "scd_check_tools/controllersApiController"
  2516. ],
  2517. "summary": "操作日志分类(图形)统计",
  2518. "description": "操作日志分类(图形)统计",
  2519. "parameters": [
  2520. {
  2521. "in": "query",
  2522. "name": "enddate",
  2523. "description": "统计条件:结束日期",
  2524. "type": "string"
  2525. },
  2526. {
  2527. "in": "query",
  2528. "name": "startdate",
  2529. "description": "统计条件:开始日期",
  2530. "type": "string"
  2531. },
  2532. {
  2533. "in": "query",
  2534. "name": "description",
  2535. "description": "统计条件:日志内容。模糊匹配",
  2536. "type": "string"
  2537. },
  2538. {
  2539. "in": "query",
  2540. "name": "staff",
  2541. "description": "统计条件:操作人姓名。模糊匹配",
  2542. "type": "string"
  2543. },
  2544. {
  2545. "in": "query",
  2546. "name": "ip",
  2547. "description": "统计条件:操作IP地址。模糊匹配",
  2548. "type": "string"
  2549. },
  2550. {
  2551. "in": "query",
  2552. "name": "success",
  2553. "description": "统计条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功",
  2554. "type": "integer",
  2555. "format": "int64"
  2556. },
  2557. {
  2558. "in": "query",
  2559. "name": "opttype",
  2560. "description": "统计条件:操作类型。关联系统字典log_opttype。",
  2561. "type": "integer",
  2562. "format": "int64"
  2563. },
  2564. {
  2565. "in": "query",
  2566. "name": "audittype",
  2567. "description": "统计条件:审计类型。关联系统字典log_audittype。",
  2568. "type": "integer",
  2569. "format": "int64"
  2570. },
  2571. {
  2572. "in": "query",
  2573. "name": "eventtype",
  2574. "description": "统计条件:事件类型。关联系统字典log_eventtype。",
  2575. "type": "integer",
  2576. "format": "int64"
  2577. },
  2578. {
  2579. "in": "query",
  2580. "name": "eventlevel",
  2581. "description": "统计条件:事件等级。关联系统字典log_eventlevel。",
  2582. "type": "integer",
  2583. "format": "int64"
  2584. },
  2585. {
  2586. "in": "query",
  2587. "name": "cycletype",
  2588. "description": "统计周期。值列表为:year,month,day,hour,week,默认为hour。",
  2589. "type": "integer",
  2590. "format": "int64"
  2591. }
  2592. ],
  2593. "responses": {
  2594. "200": {
  2595. "description": "成功",
  2596. "schema": {
  2597. "$ref": "#/definitions/ResultOK"
  2598. }
  2599. },
  2600. "500": {
  2601. "description": "{object} ResultError 失败"
  2602. }
  2603. }
  2604. }
  2605. },
  2606. "/log/datastat": {
  2607. "get": {
  2608. "tags": [
  2609. "scd_check_tools/controllersApiController"
  2610. ],
  2611. "summary": "操作日志分类(数据列表)统计",
  2612. "description": "操作日志分类(数据列表)统计",
  2613. "parameters": [
  2614. {
  2615. "in": "query",
  2616. "name": "enddate",
  2617. "description": "统计条件:结束日期",
  2618. "type": "integer",
  2619. "format": "int64"
  2620. },
  2621. {
  2622. "in": "query",
  2623. "name": "startdate",
  2624. "description": "统计条件:开始日期",
  2625. "type": "integer",
  2626. "format": "int64"
  2627. },
  2628. {
  2629. "in": "query",
  2630. "name": "description",
  2631. "description": "统计条件:日志内容。模糊匹配",
  2632. "type": "integer",
  2633. "format": "int64"
  2634. },
  2635. {
  2636. "in": "query",
  2637. "name": "staff",
  2638. "description": "统计条件:操作人姓名。模糊匹配",
  2639. "type": "string"
  2640. },
  2641. {
  2642. "in": "query",
  2643. "name": "ip",
  2644. "description": "统计条件:操作IP地址。模糊匹配",
  2645. "type": "string"
  2646. },
  2647. {
  2648. "in": "query",
  2649. "name": "success",
  2650. "description": "统计条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功",
  2651. "type": "integer",
  2652. "format": "int64"
  2653. },
  2654. {
  2655. "in": "query",
  2656. "name": "opttype",
  2657. "description": "统计条件:操作类型。关联系统字典log_opttype。",
  2658. "type": "integer",
  2659. "format": "int64"
  2660. },
  2661. {
  2662. "in": "query",
  2663. "name": "audittype",
  2664. "description": "统计条件:审计类型。关联系统字典log_audittype。",
  2665. "type": "integer",
  2666. "format": "int64"
  2667. },
  2668. {
  2669. "in": "query",
  2670. "name": "eventtype",
  2671. "description": "统计条件:事件类型。关联系统字典log_eventtype。",
  2672. "type": "integer",
  2673. "format": "int64"
  2674. },
  2675. {
  2676. "in": "query",
  2677. "name": "eventlevel",
  2678. "description": "统计条件:事件等级。关联系统字典log_eventlevel。",
  2679. "type": "integer",
  2680. "format": "int64"
  2681. },
  2682. {
  2683. "in": "query",
  2684. "name": "stattype",
  2685. "description": "统计类型。值为:logtype或者空。",
  2686. "type": "integer",
  2687. "format": "int64"
  2688. }
  2689. ],
  2690. "responses": {
  2691. "200": {
  2692. "description": "成功",
  2693. "schema": {
  2694. "$ref": "#/definitions/ResultOK"
  2695. }
  2696. },
  2697. "500": {
  2698. "description": "{object} ResultError 失败"
  2699. }
  2700. }
  2701. }
  2702. },
  2703. "/log/runtime_log": {
  2704. "get": {
  2705. "tags": [
  2706. "scd_check_tools/controllersApiController"
  2707. ],
  2708. "summary": "获取当前的服务器运行日志",
  2709. "description": "获取当前的服务器运行日志。每次获取10Kb的日志内容,第一次获取时默认为0,继续获取时需要将上次的最大位置传给offset参数。",
  2710. "parameters": [
  2711. {
  2712. "in": "query",
  2713. "name": "offset",
  2714. "description": "获取的日志起始字节位置。",
  2715. "required": true,
  2716. "type": "integer",
  2717. "format": "int64"
  2718. }
  2719. ],
  2720. "responses": {
  2721. "200": {
  2722. "description": "成功",
  2723. "schema": {
  2724. "$ref": "#/definitions/ResultOK"
  2725. }
  2726. },
  2727. "500": {
  2728. "description": "{object} ResultError 失败"
  2729. }
  2730. }
  2731. }
  2732. },
  2733. "/login": {
  2734. "post": {
  2735. "tags": [
  2736. "scd_check_tools/controllersApiController"
  2737. ],
  2738. "summary": "登录",
  2739. "description": "登录系统。系统会返回当前用户的相关信息,如基本信息、token等",
  2740. "parameters": [
  2741. {
  2742. "in": "query",
  2743. "name": "login_account",
  2744. "description": "用户帐号",
  2745. "required": true,
  2746. "type": "string"
  2747. },
  2748. {
  2749. "in": "query",
  2750. "name": "pwd",
  2751. "description": "用户密码",
  2752. "required": true,
  2753. "type": "string"
  2754. }
  2755. ],
  2756. "responses": {
  2757. "200": {
  2758. "description": "成功",
  2759. "schema": {
  2760. "$ref": "#/definitions/WarpOK"
  2761. }
  2762. },
  2763. "500": {
  2764. "description": "{object} WarpError 失败"
  2765. }
  2766. }
  2767. }
  2768. },
  2769. "/logout": {
  2770. "post": {
  2771. "tags": [
  2772. "scd_check_tools/controllersApiController"
  2773. ],
  2774. "summary": "登出",
  2775. "description": "登出系统。系统会自动清理当前用户的相关信息,如缓存、token等",
  2776. "parameters": [
  2777. {
  2778. "in": "query",
  2779. "name": "sessionid",
  2780. "description": "用户token码",
  2781. "required": true,
  2782. "type": "string"
  2783. }
  2784. ],
  2785. "responses": {
  2786. "200": {
  2787. "description": "成功",
  2788. "schema": {
  2789. "$ref": "#/definitions/WarpOK"
  2790. }
  2791. },
  2792. "500": {
  2793. "description": "{object} WarpError 失败"
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/net/video/play": {
  2799. "post": {
  2800. "tags": [
  2801. "scd_check_tools/controllersApiController"
  2802. ],
  2803. "summary": "视频播放"
  2804. }
  2805. },
  2806. "/notice/info": {
  2807. "get": {
  2808. "tags": [
  2809. "scd_check_tools/controllersNoticeController"
  2810. ],
  2811. "summary": "获取指定通知提醒详细信息",
  2812. "description": "获取指定通知提醒详细信息",
  2813. "parameters": [
  2814. {
  2815. "in": "query",
  2816. "name": "id",
  2817. "description": "通知提醒记录ID",
  2818. "required": true,
  2819. "type": "integer",
  2820. "format": "int64"
  2821. }
  2822. ],
  2823. "responses": {
  2824. "200": {
  2825. "description": "成功",
  2826. "schema": {
  2827. "$ref": "#/definitions/ResultOK"
  2828. }
  2829. },
  2830. "500": {
  2831. "description": "{object} ResultError 失败"
  2832. }
  2833. }
  2834. }
  2835. },
  2836. "/notice/list": {
  2837. "get": {
  2838. "tags": [
  2839. "scd_check_tools/controllersNoticeController"
  2840. ],
  2841. "summary": "获取指定站的通知提醒列表",
  2842. "description": "获取指定站的通知提醒列表",
  2843. "parameters": [
  2844. {
  2845. "in": "query",
  2846. "name": "station_id",
  2847. "description": "变电站ID",
  2848. "required": true,
  2849. "type": "string"
  2850. },
  2851. {
  2852. "in": "query",
  2853. "name": "pageno",
  2854. "description": "当前页码。默认为1",
  2855. "type": "integer",
  2856. "format": "int64"
  2857. },
  2858. {
  2859. "in": "query",
  2860. "name": "pagesize",
  2861. "description": "每页显示记录数。默认为20",
  2862. "type": "integer",
  2863. "format": "int64"
  2864. },
  2865. {
  2866. "in": "query",
  2867. "name": "isread",
  2868. "description": "是否已读。0 未读或1 已读",
  2869. "type": "integer",
  2870. "format": "int64"
  2871. }
  2872. ],
  2873. "responses": {
  2874. "200": {
  2875. "description": "成功",
  2876. "schema": {
  2877. "$ref": "#/definitions/ResultOK"
  2878. }
  2879. },
  2880. "500": {
  2881. "description": "{object} ResultError 失败"
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/notice/read": {
  2887. "post": {
  2888. "tags": [
  2889. "scd_check_tools/controllersNoticeController"
  2890. ],
  2891. "summary": "设置指定通知提醒为已读",
  2892. "description": "设置指定通知提醒为已读",
  2893. "parameters": [
  2894. {
  2895. "in": "formData",
  2896. "name": "id",
  2897. "description": "通知提醒记录ID",
  2898. "required": true,
  2899. "type": "integer",
  2900. "format": "int64"
  2901. }
  2902. ],
  2903. "responses": {
  2904. "200": {
  2905. "description": "成功",
  2906. "schema": {
  2907. "$ref": "#/definitions/ResultOK"
  2908. }
  2909. },
  2910. "500": {
  2911. "description": "{object} ResultError 失败"
  2912. }
  2913. }
  2914. }
  2915. },
  2916. "/playWav": {
  2917. "post": {
  2918. "tags": [
  2919. "scd_check_tools/controllersApiController"
  2920. ],
  2921. "summary": "语音播放",
  2922. "description": "语音播放",
  2923. "operationId": "ApiController.语音播放",
  2924. "parameters": [
  2925. {
  2926. "in": "query",
  2927. "name": "filename",
  2928. "description": "文件名称",
  2929. "type": "string"
  2930. }
  2931. ],
  2932. "responses": {
  2933. "200": {
  2934. "description": "status 成功"
  2935. },
  2936. "500": {
  2937. "description": "status 失败"
  2938. }
  2939. }
  2940. }
  2941. },
  2942. "/record/delete": {
  2943. "post": {
  2944. "tags": [
  2945. "scd_check_tools/controllersApiController"
  2946. ],
  2947. "summary": "删除指定模型的某条数据记录",
  2948. "description": "删除指定模型的某条数据记录",
  2949. "parameters": [
  2950. {
  2951. "in": "query",
  2952. "name": "tablename",
  2953. "description": "数据模型名称",
  2954. "required": true,
  2955. "type": "string"
  2956. },
  2957. {
  2958. "in": "query",
  2959. "name": "id",
  2960. "description": "数据记录ID",
  2961. "required": true,
  2962. "type": "string"
  2963. },
  2964. {
  2965. "in": "query",
  2966. "name": "primaryfield",
  2967. "description": "数据记录ID列名。默认为id",
  2968. "type": "string"
  2969. }
  2970. ],
  2971. "responses": {
  2972. "200": {
  2973. "description": "成功",
  2974. "schema": {
  2975. "$ref": "#/definitions/WarpOK"
  2976. }
  2977. },
  2978. "500": {
  2979. "description": "{object} WarpError 失败"
  2980. }
  2981. }
  2982. }
  2983. },
  2984. "/record/get": {
  2985. "get": {
  2986. "tags": [
  2987. "scd_check_tools/controllersApiController"
  2988. ],
  2989. "summary": "获取指定模型的某条数据记录",
  2990. "description": "获取指定模型的某条数据记录",
  2991. "parameters": [
  2992. {
  2993. "in": "query",
  2994. "name": "tablename",
  2995. "description": "数据模型名称",
  2996. "required": true,
  2997. "type": "string"
  2998. },
  2999. {
  3000. "in": "query",
  3001. "name": "id",
  3002. "description": "数据记录ID",
  3003. "required": true,
  3004. "type": "string"
  3005. },
  3006. {
  3007. "in": "query",
  3008. "name": "primaryfield",
  3009. "description": "数据记录ID列名。默认为id",
  3010. "type": "string"
  3011. }
  3012. ],
  3013. "responses": {
  3014. "200": {
  3015. "description": "成功",
  3016. "schema": {
  3017. "$ref": "#/definitions/WarpOK"
  3018. }
  3019. },
  3020. "500": {
  3021. "description": "{object} WarpError 失败"
  3022. }
  3023. }
  3024. }
  3025. },
  3026. "/report/tpl/delete": {
  3027. "post": {
  3028. "tags": [
  3029. "scd_check_tools/controllersReportController"
  3030. ],
  3031. "summary": "删除指定的检测报告模板",
  3032. "description": "删除指定的检测报告模板",
  3033. "parameters": [
  3034. {
  3035. "in": "formData",
  3036. "name": "id",
  3037. "description": "检测报告ID",
  3038. "required": true,
  3039. "type": "integer",
  3040. "format": "int64"
  3041. }
  3042. ],
  3043. "responses": {
  3044. "200": {
  3045. "description": "成功",
  3046. "schema": {
  3047. "$ref": "#/definitions/ResultOK"
  3048. }
  3049. },
  3050. "500": {
  3051. "description": "{object} ResultError 失败"
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/report/tpl/list": {
  3057. "get": {
  3058. "tags": [
  3059. "scd_check_tools/controllersReportController"
  3060. ],
  3061. "summary": "查询检测报告模板",
  3062. "description": "查询检测报告模板。支持报告模板名称、状态等过滤条件",
  3063. "parameters": [
  3064. {
  3065. "in": "query",
  3066. "name": "pageno",
  3067. "description": "当前页码。默认为1",
  3068. "required": true,
  3069. "type": "integer",
  3070. "format": "int64"
  3071. },
  3072. {
  3073. "in": "query",
  3074. "name": "pagesize",
  3075. "description": "每页显示数据数。默认为20",
  3076. "required": true,
  3077. "type": "integer",
  3078. "format": "int64"
  3079. },
  3080. {
  3081. "in": "query",
  3082. "name": "id",
  3083. "description": "报告模板ID",
  3084. "type": "integer",
  3085. "format": "int64"
  3086. },
  3087. {
  3088. "in": "query",
  3089. "name": "name",
  3090. "description": "名称",
  3091. "type": "string"
  3092. },
  3093. {
  3094. "in": "query",
  3095. "name": "state",
  3096. "description": "状态。空:全部 1:启用 2:禁用",
  3097. "type": "integer",
  3098. "format": "int64"
  3099. }
  3100. ],
  3101. "responses": {
  3102. "200": {
  3103. "description": "成功",
  3104. "schema": {
  3105. "$ref": "#/definitions/ResultOK"
  3106. }
  3107. },
  3108. "500": {
  3109. "description": "{object} ResultError 失败"
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "/report/tpl/save": {
  3115. "post": {
  3116. "tags": [
  3117. "scd_check_tools/controllersReportController"
  3118. ],
  3119. "summary": "创建新的检测报告模板",
  3120. "description": "创建新的检测报告模板",
  3121. "parameters": [
  3122. {
  3123. "in": "formData",
  3124. "name": "id",
  3125. "description": "报告模板ID。指定id值大于0时为编辑操作;否则为新增操作",
  3126. "type": "integer",
  3127. "format": "int64"
  3128. },
  3129. {
  3130. "in": "formData",
  3131. "name": "name",
  3132. "description": "报告模板名称",
  3133. "required": true,
  3134. "type": "string"
  3135. },
  3136. {
  3137. "in": "formData",
  3138. "name": "doc_id",
  3139. "description": "报告模板附件ID",
  3140. "required": true,
  3141. "type": "integer",
  3142. "format": "int64"
  3143. },
  3144. {
  3145. "in": "formData",
  3146. "name": "memo",
  3147. "description": "报告模板说明",
  3148. "type": "string"
  3149. },
  3150. {
  3151. "in": "formData",
  3152. "name": "state",
  3153. "description": "启用状态。1 启用 2 禁用。默认为1",
  3154. "required": true,
  3155. "type": "integer",
  3156. "format": "int64"
  3157. }
  3158. ],
  3159. "responses": {
  3160. "200": {
  3161. "description": "成功",
  3162. "schema": {
  3163. "$ref": "#/definitions/ResultOK"
  3164. }
  3165. },
  3166. "500": {
  3167. "description": "{object} ResultError 失败"
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "/resetUserPwd": {
  3173. "post": {
  3174. "tags": [
  3175. "scd_check_tools/controllersApiController"
  3176. ],
  3177. "summary": "修改自己密码",
  3178. "description": "修改密码。只能修改自己的密码",
  3179. "parameters": [
  3180. {
  3181. "in": "query",
  3182. "name": "newpwd",
  3183. "description": "原密码",
  3184. "required": true,
  3185. "type": "integer",
  3186. "format": "int64"
  3187. },
  3188. {
  3189. "in": "query",
  3190. "name": "oldpwd",
  3191. "description": "新密码",
  3192. "required": true,
  3193. "type": "integer",
  3194. "format": "int64"
  3195. }
  3196. ],
  3197. "responses": {
  3198. "200": {
  3199. "description": "成功",
  3200. "schema": {
  3201. "$ref": "#/definitions/WarpOK"
  3202. }
  3203. },
  3204. "500": {
  3205. "description": "{object} WarpError 失败"
  3206. }
  3207. }
  3208. }
  3209. },
  3210. "/saveGlobalcode": {
  3211. "post": {
  3212. "tags": [
  3213. "scd_check_tools/controllersApiController"
  3214. ],
  3215. "summary": "保存系统字典",
  3216. "description": "保存系统字典",
  3217. "parameters": [
  3218. {
  3219. "in": "query",
  3220. "name": "name",
  3221. "description": "系统字典名称",
  3222. "required": true,
  3223. "type": "string"
  3224. },
  3225. {
  3226. "in": "query",
  3227. "name": "parentcode",
  3228. "description": "上级系统字典编码",
  3229. "required": true,
  3230. "type": "string"
  3231. },
  3232. {
  3233. "in": "query",
  3234. "name": "code",
  3235. "description": "系统字典编码",
  3236. "required": true,
  3237. "type": "string"
  3238. },
  3239. {
  3240. "in": "query",
  3241. "name": "id",
  3242. "description": "系统字典ID",
  3243. "type": "string"
  3244. }
  3245. ],
  3246. "responses": {
  3247. "200": {
  3248. "description": "成功",
  3249. "schema": {
  3250. "$ref": "#/definitions/WarpOK"
  3251. }
  3252. },
  3253. "500": {
  3254. "description": "{object} WarpError 失败"
  3255. }
  3256. }
  3257. }
  3258. },
  3259. "/saveRoleFunc": {
  3260. "post": {
  3261. "tags": [
  3262. "scd_check_tools/controllersApiController"
  3263. ],
  3264. "summary": "保存指定角色的功能点列表",
  3265. "description": "保存指定角色的功能点列表",
  3266. "parameters": [
  3267. {
  3268. "in": "query",
  3269. "name": "roleid",
  3270. "description": "角色ID",
  3271. "required": true,
  3272. "type": "integer",
  3273. "format": "int64"
  3274. },
  3275. {
  3276. "in": "query",
  3277. "name": "areaid",
  3278. "description": "区域列表。JSON串,格式如:[{id:区域ID,allchecked:all|空}]",
  3279. "required": true,
  3280. "type": "string"
  3281. }
  3282. ],
  3283. "responses": {
  3284. "200": {
  3285. "description": "成功",
  3286. "schema": {
  3287. "$ref": "#/definitions/WarpOK"
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "{object} WarpError 失败"
  3292. }
  3293. }
  3294. }
  3295. },
  3296. "/saveSysParam": {
  3297. "post": {
  3298. "tags": [
  3299. "scd_check_tools/controllersApiController"
  3300. ],
  3301. "summary": "保存系统参数",
  3302. "description": "保存系统参数",
  3303. "parameters": [
  3304. {
  3305. "in": "query",
  3306. "name": "param_name",
  3307. "description": "参数缟编码",
  3308. "type": "string"
  3309. },
  3310. {
  3311. "in": "query",
  3312. "name": "param_value",
  3313. "description": "参数值",
  3314. "type": "string"
  3315. },
  3316. {
  3317. "in": "query",
  3318. "name": "param_memo",
  3319. "description": "参数描述",
  3320. "type": "string"
  3321. }
  3322. ],
  3323. "responses": {
  3324. "200": {
  3325. "description": "错误",
  3326. "schema": {
  3327. "$ref": "#/definitions/ResultError"
  3328. }
  3329. },
  3330. "500": {
  3331. "description": "status 失败"
  3332. }
  3333. }
  3334. }
  3335. },
  3336. "/saveUser": {
  3337. "post": {
  3338. "tags": [
  3339. "scd_check_tools/controllersApiController"
  3340. ],
  3341. "summary": "保存用户信息(已废弃)"
  3342. }
  3343. },
  3344. "/saveUserAreaList": {
  3345. "post": {
  3346. "tags": [
  3347. "scd_check_tools/controllersApiController"
  3348. ],
  3349. "summary": "保存指定用户所管理的区域列表",
  3350. "description": "保存指定用户所管理的区域列表",
  3351. "parameters": [
  3352. {
  3353. "in": "query",
  3354. "name": "userid",
  3355. "description": "用户ID",
  3356. "required": true,
  3357. "type": "integer",
  3358. "format": "int64"
  3359. },
  3360. {
  3361. "in": "query",
  3362. "name": "areaid",
  3363. "description": "区域列表。JSON串,格式如:[{id:区域ID,allchecked:all|空}]",
  3364. "required": true,
  3365. "type": "string"
  3366. }
  3367. ],
  3368. "responses": {
  3369. "200": {
  3370. "description": "成功",
  3371. "schema": {
  3372. "$ref": "#/definitions/ResultOK"
  3373. }
  3374. },
  3375. "500": {
  3376. "description": "{object} ResultError 失败"
  3377. }
  3378. }
  3379. }
  3380. },
  3381. "/saveUserPrivList": {
  3382. "post": {
  3383. "tags": [
  3384. "scd_check_tools/controllersApiController"
  3385. ],
  3386. "summary": "保存指定用户的功能列表",
  3387. "description": "保存指定用户的功能列表。非RBAC模式下有效",
  3388. "parameters": [
  3389. {
  3390. "in": "query",
  3391. "name": "id",
  3392. "description": "用户ID",
  3393. "required": true,
  3394. "type": "integer",
  3395. "format": "int64"
  3396. },
  3397. {
  3398. "in": "query",
  3399. "name": "privids",
  3400. "description": "功能ID列表,使用逗号分隔",
  3401. "required": true,
  3402. "type": "string"
  3403. }
  3404. ],
  3405. "responses": {
  3406. "200": {
  3407. "description": "成功",
  3408. "schema": {
  3409. "$ref": "#/definitions/WarpOK"
  3410. }
  3411. },
  3412. "500": {
  3413. "description": "{object} WarpError 失败"
  3414. }
  3415. }
  3416. }
  3417. },
  3418. "/scd/area/edit_voltage_level": {
  3419. "post": {
  3420. "tags": [
  3421. "scd_check_tools/controllersScreenController"
  3422. ],
  3423. "summary": "修改指定间隔的所属电压等级",
  3424. "description": "修改指定间隔的所属电压等级",
  3425. "parameters": [
  3426. {
  3427. "in": "query",
  3428. "name": "voltagelevel",
  3429. "description": "电压等级ID",
  3430. "required": true,
  3431. "type": "integer",
  3432. "format": "int64"
  3433. },
  3434. {
  3435. "in": "query",
  3436. "name": "area_id",
  3437. "description": "间隔ID",
  3438. "required": true,
  3439. "type": "integer",
  3440. "format": "int64"
  3441. }
  3442. ]
  3443. }
  3444. },
  3445. "/scd/area/editname": {
  3446. "post": {
  3447. "tags": [
  3448. "scd_check_tools/controllersScreenController"
  3449. ],
  3450. "summary": "修改指定间隔的名称信息",
  3451. "description": "修改指定间隔的名称信息",
  3452. "parameters": [
  3453. {
  3454. "in": "query",
  3455. "name": "scd_id",
  3456. "description": "SCD文件ID",
  3457. "required": true,
  3458. "type": "integer",
  3459. "format": "int64"
  3460. },
  3461. {
  3462. "in": "query",
  3463. "name": "area_id",
  3464. "description": "间隔ID",
  3465. "required": true,
  3466. "type": "integer",
  3467. "format": "int64"
  3468. },
  3469. {
  3470. "in": "query",
  3471. "name": "name",
  3472. "description": "间隔名称",
  3473. "required": true,
  3474. "type": "string"
  3475. }
  3476. ]
  3477. }
  3478. },
  3479. "/scd/area/ied/list": {
  3480. "get": {
  3481. "tags": [
  3482. "scd_check_tools/controllersScreenController"
  3483. ],
  3484. "summary": "获取指定间隔下的IED信息",
  3485. "description": "获取指定间隔下的IED信息",
  3486. "parameters": [
  3487. {
  3488. "in": "query",
  3489. "name": "scd_id",
  3490. "description": "SCD文件ID",
  3491. "required": true,
  3492. "type": "integer",
  3493. "format": "int64"
  3494. },
  3495. {
  3496. "in": "query",
  3497. "name": "voltage_level_id",
  3498. "description": "电压等级ID",
  3499. "type": "integer",
  3500. "format": "int64"
  3501. },
  3502. {
  3503. "in": "query",
  3504. "name": "area_id",
  3505. "description": "间隔ID",
  3506. "type": "integer",
  3507. "format": "int64"
  3508. },
  3509. {
  3510. "in": "query",
  3511. "name": "device_type_id",
  3512. "description": "装置类型ID。关联系统字典:device_type",
  3513. "type": "string"
  3514. }
  3515. ]
  3516. }
  3517. },
  3518. "/scd/area/list": {
  3519. "get": {
  3520. "tags": [
  3521. "scd_check_tools/controllersScreenController"
  3522. ],
  3523. "summary": "获取指定scd下的间隔信息",
  3524. "description": "获取指定scd下的间隔信息",
  3525. "parameters": [
  3526. {
  3527. "in": "query",
  3528. "name": "scd_id",
  3529. "description": "SCD文件ID",
  3530. "required": true,
  3531. "type": "integer",
  3532. "format": "int64"
  3533. },
  3534. {
  3535. "in": "query",
  3536. "name": "voltage_level_id",
  3537. "description": "电压等级ID",
  3538. "type": "integer",
  3539. "format": "int64"
  3540. }
  3541. ]
  3542. }
  3543. },
  3544. "/scd/check/resultlist": {
  3545. "get": {
  3546. "tags": [
  3547. "scd_check_tools/controllersScreenController"
  3548. ],
  3549. "summary": "获取指定SCD的校验结果",
  3550. "description": "获取指定SCD的校验结果",
  3551. "parameters": [
  3552. {
  3553. "in": "query",
  3554. "name": "scd_id",
  3555. "description": "SCD文件ID",
  3556. "required": true,
  3557. "type": "integer",
  3558. "format": "int64"
  3559. },
  3560. {
  3561. "in": "query",
  3562. "name": "pageno",
  3563. "description": "当前页码。默认为1",
  3564. "required": true,
  3565. "type": "integer",
  3566. "format": "int64"
  3567. },
  3568. {
  3569. "in": "query",
  3570. "name": "pagesize",
  3571. "description": "每页数据记录条数。默认为20",
  3572. "required": true,
  3573. "type": "integer",
  3574. "format": "int64"
  3575. },
  3576. {
  3577. "in": "query",
  3578. "name": "scd_name",
  3579. "description": "SCD文件名称",
  3580. "type": "string"
  3581. },
  3582. {
  3583. "in": "query",
  3584. "name": "scd_path",
  3585. "description": "SCD文件名称",
  3586. "type": "string"
  3587. },
  3588. {
  3589. "in": "query",
  3590. "name": "level",
  3591. "description": "校验错误级别",
  3592. "type": "string"
  3593. },
  3594. {
  3595. "in": "query",
  3596. "name": "ied_name",
  3597. "description": "IED装置名称",
  3598. "type": "string"
  3599. },
  3600. {
  3601. "in": "query",
  3602. "name": "node_name",
  3603. "description": "节点名称",
  3604. "type": "string"
  3605. },
  3606. {
  3607. "in": "query",
  3608. "name": "node_id",
  3609. "description": "节点ID",
  3610. "type": "string"
  3611. }
  3612. ]
  3613. }
  3614. },
  3615. "/scd/check/stat/level": {
  3616. "get": {
  3617. "tags": [
  3618. "scd_check_tools/controllersScreenController"
  3619. ],
  3620. "summary": "按校验错误等级统计校验结果",
  3621. "description": "按校验错误等级统计校验结果",
  3622. "parameters": [
  3623. {
  3624. "in": "query",
  3625. "name": "scd_id",
  3626. "description": "SCD文件ID",
  3627. "required": true,
  3628. "type": "integer",
  3629. "format": "int64"
  3630. },
  3631. {
  3632. "in": "query",
  3633. "name": "scd_name",
  3634. "description": "SCD文件名称",
  3635. "type": "string"
  3636. },
  3637. {
  3638. "in": "query",
  3639. "name": "scd_path",
  3640. "description": "SCD文件名称",
  3641. "type": "string"
  3642. },
  3643. {
  3644. "in": "query",
  3645. "name": "ied_name",
  3646. "description": "IED装置名称",
  3647. "type": "string"
  3648. },
  3649. {
  3650. "in": "query",
  3651. "name": "node_name",
  3652. "description": "节点名称",
  3653. "type": "string"
  3654. },
  3655. {
  3656. "in": "query",
  3657. "name": "node_id",
  3658. "description": "节点ID",
  3659. "type": "string"
  3660. }
  3661. ]
  3662. }
  3663. },
  3664. "/scd/check/sum/result": {
  3665. "get": {
  3666. "tags": [
  3667. "scd_check_tools/controllersScreenController"
  3668. ],
  3669. "summary": "获取指定SCD的汇总统计结果",
  3670. "description": "获取指定SCD的汇总统计结果",
  3671. "parameters": [
  3672. {
  3673. "in": "query",
  3674. "name": "scd_id",
  3675. "description": "SCD文件ID",
  3676. "required": true,
  3677. "type": "integer",
  3678. "format": "int64"
  3679. }
  3680. ]
  3681. }
  3682. },
  3683. "/scd/ied/editarea": {
  3684. "post": {
  3685. "tags": [
  3686. "scd_check_tools/controllersScreenController"
  3687. ],
  3688. "summary": "修改指定装置的所属间隔",
  3689. "description": "修改指定装置的所属间隔",
  3690. "parameters": [
  3691. {
  3692. "in": "query",
  3693. "name": "scd_id",
  3694. "description": "SCD文件ID",
  3695. "required": true,
  3696. "type": "integer",
  3697. "format": "int64"
  3698. },
  3699. {
  3700. "in": "query",
  3701. "name": "ied_name",
  3702. "description": "装置名称",
  3703. "required": true,
  3704. "type": "string"
  3705. },
  3706. {
  3707. "in": "query",
  3708. "name": "area_id",
  3709. "description": "间隔ID",
  3710. "required": true,
  3711. "type": "integer",
  3712. "format": "int64"
  3713. }
  3714. ]
  3715. }
  3716. },
  3717. "/scd/ied/typelist": {
  3718. "get": {
  3719. "tags": [
  3720. "scd_check_tools/controllersScreenController"
  3721. ],
  3722. "summary": "获取指定SCD下的IED类型信息",
  3723. "description": "获取指定SCD下的IED类型信息",
  3724. "parameters": [
  3725. {
  3726. "in": "query",
  3727. "name": "scd_id",
  3728. "description": "SCD文件ID",
  3729. "required": true,
  3730. "type": "integer",
  3731. "format": "int64"
  3732. }
  3733. ]
  3734. }
  3735. },
  3736. "/scd_check_tools/checkin/detail": {
  3737. "get": {
  3738. "tags": [
  3739. "scd_check_tools/controllersFlowController"
  3740. ],
  3741. "summary": "获取指定站的指定scd的签入详情",
  3742. "description": "获取指定站的指定scd的签入详情",
  3743. "parameters": [
  3744. {
  3745. "in": "query",
  3746. "name": "station_id",
  3747. "description": "变电站ID",
  3748. "required": true,
  3749. "type": "string"
  3750. },
  3751. {
  3752. "in": "query",
  3753. "name": "scd_name",
  3754. "description": "SCD名称",
  3755. "type": "string"
  3756. },
  3757. {
  3758. "in": "query",
  3759. "name": "scd_path",
  3760. "description": "SCD文件路径",
  3761. "type": "string"
  3762. },
  3763. {
  3764. "in": "query",
  3765. "name": "scd_id",
  3766. "description": "SCD文件ID。为空时scd_name和scd_path必填",
  3767. "type": "string"
  3768. }
  3769. ],
  3770. "responses": {
  3771. "200": {
  3772. "description": "成功",
  3773. "schema": {
  3774. "$ref": "#/definitions/ResultOK"
  3775. }
  3776. },
  3777. "500": {
  3778. "description": "{object} ResultError 失败"
  3779. }
  3780. }
  3781. }
  3782. },
  3783. "/scd_check_tools/comp/iedstat/type": {
  3784. "get": {
  3785. "tags": [
  3786. "scd_check_tools/controllersScdCompController"
  3787. ],
  3788. "summary": "指定装置差异对比结果分类统计",
  3789. "description": "指定装置差异对比结果分类统计",
  3790. "parameters": [
  3791. {
  3792. "in": "query",
  3793. "name": "comp_id",
  3794. "description": "差异比对记录ID",
  3795. "required": true,
  3796. "type": "integer",
  3797. "format": "int64"
  3798. },
  3799. {
  3800. "in": "query",
  3801. "name": "ied_name",
  3802. "description": "装置名称",
  3803. "type": "string"
  3804. },
  3805. {
  3806. "in": "query",
  3807. "name": "comptype",
  3808. "description": "差异类别。值为:i|d|u之一",
  3809. "type": "string"
  3810. }
  3811. ],
  3812. "responses": {
  3813. "200": {
  3814. "description": "成功",
  3815. "schema": {
  3816. "$ref": "#/definitions/ResultOK"
  3817. }
  3818. },
  3819. "500": {
  3820. "description": "status 失败"
  3821. }
  3822. }
  3823. }
  3824. },
  3825. "/scd_check_tools/comp/list": {
  3826. "get": {
  3827. "tags": [
  3828. "scd_check_tools/controllersScdCompController"
  3829. ],
  3830. "summary": "获取指定变电站的差异对比记录列表",
  3831. "description": "获取指定变电站的差异对比记录列表",
  3832. "parameters": [
  3833. {
  3834. "in": "query",
  3835. "name": "station_id",
  3836. "description": "变电站ID",
  3837. "required": true,
  3838. "type": "integer",
  3839. "format": "int64"
  3840. }
  3841. ],
  3842. "responses": {
  3843. "200": {
  3844. "description": "成功",
  3845. "schema": {
  3846. "$ref": "#/definitions/ResultOK"
  3847. }
  3848. },
  3849. "500": {
  3850. "description": "status 失败"
  3851. }
  3852. }
  3853. }
  3854. },
  3855. "/scd_check_tools/comp/result": {
  3856. "get": {
  3857. "tags": [
  3858. "scd_check_tools/controllersScdCompController"
  3859. ],
  3860. "summary": "获取指定差异对比的详细结果列表",
  3861. "description": "获取指定差异对比的详细结果列表",
  3862. "parameters": [
  3863. {
  3864. "in": "query",
  3865. "name": "comp_id",
  3866. "description": "差异比对记录ID",
  3867. "required": true,
  3868. "type": "integer",
  3869. "format": "int64"
  3870. },
  3871. {
  3872. "in": "query",
  3873. "name": "ied_name",
  3874. "description": "装置名称",
  3875. "type": "string"
  3876. },
  3877. {
  3878. "in": "query",
  3879. "name": "itemcode",
  3880. "description": "差异对象类型代码",
  3881. "type": "string"
  3882. }
  3883. ],
  3884. "responses": {
  3885. "200": {
  3886. "description": "成功",
  3887. "schema": {
  3888. "$ref": "#/definitions/ResultOK"
  3889. }
  3890. },
  3891. "500": {
  3892. "description": "status 失败"
  3893. }
  3894. }
  3895. }
  3896. },
  3897. "/scd_check_tools/comp/start": {
  3898. "post": {
  3899. "tags": [
  3900. "scd_check_tools/controllersScdCompController"
  3901. ],
  3902. "summary": "开始scd差异对比",
  3903. "description": "开始scd差异对比",
  3904. "parameters": [
  3905. {
  3906. "in": "query",
  3907. "name": "type",
  3908. "description": "对比的文件类型。值为scd\\ccd\\cid\\ccd_cid_scd\\icd_scd之一。",
  3909. "required": true,
  3910. "type": "string"
  3911. },
  3912. {
  3913. "in": "query",
  3914. "name": "comp_id",
  3915. "description": "差异比对记录ID。不为空或0时表示重新比对差异",
  3916. "type": "integer",
  3917. "format": "int64"
  3918. },
  3919. {
  3920. "in": "query",
  3921. "name": "station_id",
  3922. "description": "变电站ID",
  3923. "required": true,
  3924. "type": "integer",
  3925. "format": "int64"
  3926. },
  3927. {
  3928. "in": "query",
  3929. "name": "source_scd_id",
  3930. "description": "对比的基准SCD文件ID。type为scd时必填。",
  3931. "type": "integer",
  3932. "format": "int64"
  3933. },
  3934. {
  3935. "in": "query",
  3936. "name": "target_scd_id",
  3937. "description": "对比的参照SCD文件ID。type为scd时必填。",
  3938. "type": "integer",
  3939. "format": "int64"
  3940. },
  3941. {
  3942. "in": "query",
  3943. "name": "ids",
  3944. "description": "如果是2个非SCD对比文件时,需要对比的文件ID列表,使用逗号分隔。仅当type为ccd\\cid\\ccd_cid_scd\\icd_scd时有效",
  3945. "type": "string"
  3946. }
  3947. ],
  3948. "responses": {
  3949. "200": {
  3950. "description": "成功",
  3951. "schema": {
  3952. "$ref": "#/definitions/ResultOK"
  3953. }
  3954. },
  3955. "500": {
  3956. "description": "status 失败"
  3957. }
  3958. }
  3959. }
  3960. },
  3961. "/scd_check_tools/comp/stat/result": {
  3962. "get": {
  3963. "tags": [
  3964. "scd_check_tools/controllersScdCompController"
  3965. ],
  3966. "summary": "获取scd差异对比结果概览统计",
  3967. "description": "获取scd差异对比结果概览统计",
  3968. "parameters": [
  3969. {
  3970. "in": "query",
  3971. "name": "comp_id",
  3972. "description": "差异比对记录ID",
  3973. "required": true,
  3974. "type": "integer",
  3975. "format": "int64"
  3976. }
  3977. ],
  3978. "responses": {
  3979. "200": {
  3980. "description": "成功",
  3981. "schema": {
  3982. "$ref": "#/definitions/ResultOK"
  3983. }
  3984. },
  3985. "500": {
  3986. "description": "status 失败"
  3987. }
  3988. }
  3989. }
  3990. },
  3991. "/scd_check_tools/comp/tree": {
  3992. "get": {
  3993. "tags": [
  3994. "scd_check_tools/controllersScdCompController"
  3995. ],
  3996. "summary": "获取SCD校验对象树",
  3997. "description": "获取SCD校验对象树",
  3998. "parameters": [
  3999. {
  4000. "in": "query",
  4001. "name": "scd_id",
  4002. "description": "SCD文件ID",
  4003. "required": true,
  4004. "type": "integer",
  4005. "format": "int64"
  4006. },
  4007. {
  4008. "in": "query",
  4009. "name": "id",
  4010. "description": "对象ID",
  4011. "type": "integer",
  4012. "format": "int64"
  4013. },
  4014. {
  4015. "in": "query",
  4016. "name": "pid",
  4017. "description": "上级对象ID",
  4018. "type": "integer",
  4019. "format": "int64"
  4020. }
  4021. ],
  4022. "responses": {
  4023. "200": {
  4024. "description": "成功",
  4025. "schema": {
  4026. "$ref": "#/definitions/ResultOK"
  4027. }
  4028. },
  4029. "500": {
  4030. "description": "status 失败"
  4031. }
  4032. }
  4033. }
  4034. },
  4035. "/scd_check_tools/rule/list": {
  4036. "get": {
  4037. "tags": [
  4038. "scd_check_tools/controllersRuleController"
  4039. ],
  4040. "summary": "获取校验规则列表",
  4041. "description": "获取校验规则列表",
  4042. "parameters": [
  4043. {
  4044. "in": "query",
  4045. "name": "pageindex",
  4046. "description": "当前页码。默认为1",
  4047. "type": "integer",
  4048. "format": "int64"
  4049. },
  4050. {
  4051. "in": "query",
  4052. "name": "pagesize",
  4053. "description": "每页显示记录数。默认为20",
  4054. "type": "integer",
  4055. "format": "int64"
  4056. },
  4057. {
  4058. "in": "query",
  4059. "name": "id",
  4060. "description": "规则ID",
  4061. "type": "integer",
  4062. "format": "int64"
  4063. },
  4064. {
  4065. "in": "query",
  4066. "name": "enable",
  4067. "description": "是否启用。默认为全部",
  4068. "type": "integer",
  4069. "format": "int64"
  4070. },
  4071. {
  4072. "in": "query",
  4073. "name": "object_name",
  4074. "description": "规则的对象名称",
  4075. "type": "string"
  4076. },
  4077. {
  4078. "in": "query",
  4079. "name": "object_type",
  4080. "description": "规则的对象分类",
  4081. "type": "integer",
  4082. "format": "int64"
  4083. },
  4084. {
  4085. "in": "query",
  4086. "name": "alert_level",
  4087. "description": "规则的告警级别。值为error\\alert\\hint之一。",
  4088. "type": "string"
  4089. },
  4090. {
  4091. "in": "query",
  4092. "name": "apply_standard",
  4093. "description": "规则标准",
  4094. "type": "string"
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "成功",
  4100. "schema": {
  4101. "$ref": "#/definitions/ResultOK"
  4102. }
  4103. },
  4104. "500": {
  4105. "description": "status 失败"
  4106. }
  4107. }
  4108. }
  4109. },
  4110. "/scd_check_tools/rule/remove": {
  4111. "post": {
  4112. "tags": [
  4113. "scd_check_tools/controllersRuleController"
  4114. ],
  4115. "summary": "删除校验规则",
  4116. "description": "删除校验规则",
  4117. "parameters": [
  4118. {
  4119. "in": "formData",
  4120. "name": "id",
  4121. "description": "规则ID",
  4122. "required": true,
  4123. "type": "integer",
  4124. "format": "int64"
  4125. }
  4126. ],
  4127. "responses": {
  4128. "200": {
  4129. "description": "成功",
  4130. "schema": {
  4131. "$ref": "#/definitions/ResultOK"
  4132. }
  4133. },
  4134. "500": {
  4135. "description": "status 失败"
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/scd_check_tools/rule/reset": {
  4141. "post": {
  4142. "tags": [
  4143. "scd_check_tools/controllersRuleController"
  4144. ],
  4145. "summary": "重新校验指定scd",
  4146. "description": "重新校验指定scd",
  4147. "parameters": [
  4148. {
  4149. "in": "formData",
  4150. "name": "scd_id",
  4151. "description": "SCD文件ID",
  4152. "required": true,
  4153. "type": "integer",
  4154. "format": "int64"
  4155. }
  4156. ],
  4157. "responses": {
  4158. "200": {
  4159. "description": "成功",
  4160. "schema": {
  4161. "$ref": "#/definitions/ResultOK"
  4162. }
  4163. },
  4164. "500": {
  4165. "description": "status 失败"
  4166. }
  4167. }
  4168. }
  4169. },
  4170. "/scd_check_tools/rule/save": {
  4171. "post": {
  4172. "tags": [
  4173. "scd_check_tools/controllersRuleController"
  4174. ],
  4175. "summary": "保存校验规则",
  4176. "description": "保存校验规则",
  4177. "parameters": [
  4178. {
  4179. "in": "formData",
  4180. "name": "id",
  4181. "description": "规则ID。不为0时表示编辑",
  4182. "type": "integer",
  4183. "format": "int64"
  4184. },
  4185. {
  4186. "in": "formData",
  4187. "name": "enable",
  4188. "description": "是否启用。默认为全部",
  4189. "type": "integer",
  4190. "format": "int64"
  4191. },
  4192. {
  4193. "in": "formData",
  4194. "name": "object_name",
  4195. "description": "规则的对象名称",
  4196. "type": "string"
  4197. },
  4198. {
  4199. "in": "formData",
  4200. "name": "object_type",
  4201. "description": "规则的对象分类",
  4202. "type": "integer",
  4203. "format": "int64"
  4204. },
  4205. {
  4206. "in": "formData",
  4207. "name": "alert_level",
  4208. "description": "规则的告警级别。值为error\\alert\\hint之一。",
  4209. "type": "string"
  4210. },
  4211. {
  4212. "in": "formData",
  4213. "name": "apply_standard",
  4214. "description": "规则标准",
  4215. "type": "string"
  4216. }
  4217. ],
  4218. "responses": {
  4219. "200": {
  4220. "description": "成功",
  4221. "schema": {
  4222. "$ref": "#/definitions/ResultOK"
  4223. }
  4224. },
  4225. "500": {
  4226. "description": "status 失败"
  4227. }
  4228. }
  4229. }
  4230. },
  4231. "/scd_check_tools/stat/right": {
  4232. "get": {
  4233. "tags": [
  4234. "scd_check_tools/controllersStatController"
  4235. ],
  4236. "summary": "scd正确性分析",
  4237. "description": "scd正确性分析",
  4238. "parameters": [
  4239. {
  4240. "in": "query",
  4241. "name": "station_id",
  4242. "description": "变电站ID",
  4243. "required": true,
  4244. "type": "integer",
  4245. "format": "int64"
  4246. }
  4247. ],
  4248. "responses": {
  4249. "200": {
  4250. "description": "错误",
  4251. "schema": {
  4252. "$ref": "#/definitions/ResultError"
  4253. }
  4254. },
  4255. "500": {
  4256. "description": "status 失败"
  4257. }
  4258. }
  4259. }
  4260. },
  4261. "/screen/scd/agin_parse": {
  4262. "post": {
  4263. "tags": [
  4264. "scd_check_tools/controllersScreenController"
  4265. ],
  4266. "summary": "重新解析指定scd",
  4267. "description": "重新解析指定scd",
  4268. "parameters": [
  4269. {
  4270. "in": "formData",
  4271. "name": "scd_id",
  4272. "description": "SCD ID",
  4273. "required": true,
  4274. "type": "integer",
  4275. "format": "int64"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "成功",
  4281. "schema": {
  4282. "$ref": "#/definitions/ResultOK"
  4283. }
  4284. },
  4285. "500": {
  4286. "description": "{object} ResultError 失败"
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/screen/scd/checktools/tree": {
  4292. "get": {
  4293. "tags": [
  4294. "scd_check_tools/controllersScreenController"
  4295. ],
  4296. "summary": "获取指定scd校验类型树",
  4297. "description": "获取指定scd校验类型树",
  4298. "parameters": [
  4299. {
  4300. "in": "query",
  4301. "name": "scd_id",
  4302. "description": "SCD文件ID",
  4303. "required": true,
  4304. "type": "integer",
  4305. "format": "int64"
  4306. },
  4307. {
  4308. "in": "query",
  4309. "name": "id",
  4310. "description": "节点ID",
  4311. "required": true,
  4312. "type": "integer",
  4313. "format": "int64"
  4314. },
  4315. {
  4316. "in": "query",
  4317. "name": "pid",
  4318. "description": "父节点ID",
  4319. "required": true,
  4320. "type": "integer",
  4321. "format": "int64"
  4322. },
  4323. {
  4324. "in": "query",
  4325. "name": "datatype",
  4326. "description": "节点类型",
  4327. "required": true,
  4328. "type": "string"
  4329. }
  4330. ],
  4331. "responses": {
  4332. "200": {
  4333. "description": "成功",
  4334. "schema": {
  4335. "$ref": "#/definitions/ResultOK"
  4336. }
  4337. },
  4338. "500": {
  4339. "description": "{object} ResultError 失败"
  4340. }
  4341. }
  4342. }
  4343. },
  4344. "/screen/scd/crc": {
  4345. "get": {
  4346. "tags": [
  4347. "scd_check_tools/controllersScreenController"
  4348. ],
  4349. "summary": "获取指定scd的crc校验结果",
  4350. "description": "获取指定scd的crc校验结果",
  4351. "parameters": [
  4352. {
  4353. "in": "query",
  4354. "name": "scd_id",
  4355. "description": "SCD文件ID",
  4356. "required": true,
  4357. "type": "integer",
  4358. "format": "int64"
  4359. }
  4360. ]
  4361. }
  4362. },
  4363. "/screen/scd/delete": {
  4364. "post": {
  4365. "tags": [
  4366. "scd_check_tools/controllersScreenController"
  4367. ],
  4368. "summary": "删除指定scd数据",
  4369. "description": "删除指定scd数据",
  4370. "parameters": [
  4371. {
  4372. "in": "formData",
  4373. "name": "id",
  4374. "description": "SCD文件ID",
  4375. "required": true,
  4376. "type": "integer",
  4377. "format": "int64"
  4378. }
  4379. ],
  4380. "responses": {
  4381. "200": {
  4382. "description": "成功",
  4383. "schema": {
  4384. "$ref": "#/definitions/ResultOK"
  4385. }
  4386. },
  4387. "500": {
  4388. "description": "{object} ResultError 失败"
  4389. }
  4390. }
  4391. }
  4392. },
  4393. "/screen/scd/ied/ctrlblock": {
  4394. "get": {
  4395. "tags": [
  4396. "scd_check_tools/controllersScreenController"
  4397. ],
  4398. "summary": "获取指定IED的控制块信息",
  4399. "description": "获取指定IED的控制块信息",
  4400. "parameters": [
  4401. {
  4402. "in": "query",
  4403. "name": "scd_id",
  4404. "description": "SCD文件ID",
  4405. "required": true,
  4406. "type": "integer",
  4407. "format": "int64"
  4408. },
  4409. {
  4410. "in": "query",
  4411. "name": "ied_name",
  4412. "description": "装置名称",
  4413. "required": true,
  4414. "type": "string"
  4415. }
  4416. ]
  4417. }
  4418. },
  4419. "/screen/scd/ied/dingzhi": {
  4420. "get": {
  4421. "tags": [
  4422. "scd_check_tools/controllersScreenController"
  4423. ],
  4424. "summary": "获取指定IED的定值条目",
  4425. "description": "获取指定IED的定值条目",
  4426. "parameters": [
  4427. {
  4428. "in": "query",
  4429. "name": "scd_id",
  4430. "description": "SCD文件ID",
  4431. "required": true,
  4432. "type": "integer",
  4433. "format": "int64"
  4434. },
  4435. {
  4436. "in": "query",
  4437. "name": "ied_name",
  4438. "description": "IED装置名称",
  4439. "required": true,
  4440. "type": "string"
  4441. }
  4442. ]
  4443. }
  4444. },
  4445. "/screen/scd/ied/goose_ctrlblock/receive": {
  4446. "get": {
  4447. "tags": [
  4448. "scd_check_tools/controllersScreenController"
  4449. ],
  4450. "summary": "获取指定IED的接收GOOSE控制块端子列表",
  4451. "description": "获取指定IED的接收GOOSE控制块端子列表",
  4452. "parameters": [
  4453. {
  4454. "in": "query",
  4455. "name": "scd_id",
  4456. "description": "SCD文件ID",
  4457. "required": true,
  4458. "type": "integer",
  4459. "format": "int64"
  4460. },
  4461. {
  4462. "in": "query",
  4463. "name": "ied_name",
  4464. "description": "装置名称",
  4465. "required": true,
  4466. "type": "string"
  4467. }
  4468. ]
  4469. }
  4470. },
  4471. "/screen/scd/ied/goose_ctrlblock/sendfcdalist": {
  4472. "get": {
  4473. "tags": [
  4474. "scd_check_tools/controllersScreenController"
  4475. ],
  4476. "summary": "获取指定IED的指定GOOSE控制块端子列表",
  4477. "description": "获取指定IED的指定GOOSE控制块端子列表",
  4478. "parameters": [
  4479. {
  4480. "in": "query",
  4481. "name": "scd_id",
  4482. "description": "SCD文件ID",
  4483. "required": true,
  4484. "type": "integer",
  4485. "format": "int64"
  4486. },
  4487. {
  4488. "in": "query",
  4489. "name": "ied_name",
  4490. "description": "装置名称",
  4491. "required": true,
  4492. "type": "string"
  4493. },
  4494. {
  4495. "in": "query",
  4496. "name": "ctrlid",
  4497. "description": "GOOSE控制块ID",
  4498. "required": true,
  4499. "type": "integer",
  4500. "format": "int64"
  4501. }
  4502. ]
  4503. }
  4504. },
  4505. "/screen/scd/ied/inputs": {
  4506. "get": {
  4507. "tags": [
  4508. "scd_check_tools/controllersScreenController"
  4509. ],
  4510. "summary": "获取IED的虚端子关系",
  4511. "description": "获取IED的虚端子关系",
  4512. "parameters": [
  4513. {
  4514. "in": "query",
  4515. "name": "scd_id",
  4516. "description": "SCD文件ID",
  4517. "required": true,
  4518. "type": "integer",
  4519. "format": "int64"
  4520. },
  4521. {
  4522. "in": "query",
  4523. "name": "ied_name",
  4524. "description": "主装置名称",
  4525. "required": true,
  4526. "type": "string"
  4527. },
  4528. {
  4529. "in": "query",
  4530. "name": "m_ied_name",
  4531. "description": "输出IED装置名称",
  4532. "required": true,
  4533. "type": "string"
  4534. },
  4535. {
  4536. "in": "query",
  4537. "name": "s_ied_name",
  4538. "description": "输入IED装置名称",
  4539. "required": true,
  4540. "type": "string"
  4541. },
  4542. {
  4543. "in": "query",
  4544. "name": "m_ctrlid",
  4545. "description": "输出控制块ID",
  4546. "required": true,
  4547. "type": "string"
  4548. },
  4549. {
  4550. "in": "query",
  4551. "name": "s_ctrlid",
  4552. "description": "输入控制块ID",
  4553. "required": true,
  4554. "type": "string"
  4555. }
  4556. ]
  4557. }
  4558. },
  4559. "/screen/scd/ied/netaddr": {
  4560. "get": {
  4561. "tags": [
  4562. "scd_check_tools/controllersScreenController"
  4563. ],
  4564. "summary": "获取SCD中配置的所有设备网络地址",
  4565. "description": "获取SCD中配置的所有设备网络地址",
  4566. "parameters": [
  4567. {
  4568. "in": "query",
  4569. "name": "scd_id",
  4570. "description": "SCD文件ID",
  4571. "required": true,
  4572. "type": "integer",
  4573. "format": "int64"
  4574. }
  4575. ]
  4576. }
  4577. },
  4578. "/screen/scd/ied/network/info": {
  4579. "get": {
  4580. "tags": [
  4581. "scd_check_tools/controllersScreenController"
  4582. ],
  4583. "summary": "获取IED网络配置信息",
  4584. "description": "获取IED网络配置信息",
  4585. "parameters": [
  4586. {
  4587. "in": "query",
  4588. "name": "scd_id",
  4589. "description": "SCD文件ID",
  4590. "required": true,
  4591. "type": "integer",
  4592. "format": "int64"
  4593. },
  4594. {
  4595. "in": "query",
  4596. "name": "ied_name",
  4597. "description": "装置名称",
  4598. "required": true,
  4599. "type": "string"
  4600. }
  4601. ]
  4602. }
  4603. },
  4604. "/screen/scd/ied/pointtable": {
  4605. "get": {
  4606. "tags": [
  4607. "scd_check_tools/controllersScreenController"
  4608. ],
  4609. "summary": "获取指定IED的信息点表",
  4610. "description": "获取指定IED的定值条目",
  4611. "parameters": [
  4612. {
  4613. "in": "query",
  4614. "name": "scd_id",
  4615. "description": "SCD文件ID",
  4616. "required": true,
  4617. "type": "integer",
  4618. "format": "int64"
  4619. },
  4620. {
  4621. "in": "query",
  4622. "name": "ied_name",
  4623. "description": "IED装置名称",
  4624. "required": true,
  4625. "type": "string"
  4626. }
  4627. ]
  4628. }
  4629. },
  4630. "/screen/scd/ied/ref/ctrlblock": {
  4631. "get": {
  4632. "tags": [
  4633. "scd_check_tools/controllersScreenController"
  4634. ],
  4635. "summary": "获取指定IED的关联IED控制块信息",
  4636. "description": "获取指定IED的关联IED控制块信息",
  4637. "parameters": [
  4638. {
  4639. "in": "query",
  4640. "name": "scd_id",
  4641. "description": "SCD文件ID",
  4642. "required": true,
  4643. "type": "integer",
  4644. "format": "int64"
  4645. },
  4646. {
  4647. "in": "query",
  4648. "name": "ied_name",
  4649. "description": "装置名称",
  4650. "required": true,
  4651. "type": "string"
  4652. }
  4653. ]
  4654. }
  4655. },
  4656. "/screen/scd/ied/relation": {
  4657. "get": {
  4658. "tags": [
  4659. "scd_check_tools/controllersScreenController"
  4660. ],
  4661. "summary": "获取IED关联关系",
  4662. "description": "获取IED关联关系",
  4663. "parameters": [
  4664. {
  4665. "in": "query",
  4666. "name": "scd_id",
  4667. "description": "SCD文件ID",
  4668. "required": true,
  4669. "type": "integer",
  4670. "format": "int64"
  4671. },
  4672. {
  4673. "in": "query",
  4674. "name": "ied_name",
  4675. "description": "装置名称",
  4676. "required": true,
  4677. "type": "string"
  4678. }
  4679. ]
  4680. }
  4681. },
  4682. "/screen/scd/ied/smv_ctrlblock/receive": {
  4683. "get": {
  4684. "tags": [
  4685. "scd_check_tools/controllersScreenController"
  4686. ],
  4687. "summary": "获取指定IED的接收SMV控制块端子列表",
  4688. "description": "获取指定IED的接收SMV控制块端子列表",
  4689. "parameters": [
  4690. {
  4691. "in": "query",
  4692. "name": "scd_id",
  4693. "description": "SCD文件ID",
  4694. "required": true,
  4695. "type": "integer",
  4696. "format": "int64"
  4697. },
  4698. {
  4699. "in": "query",
  4700. "name": "ied_name",
  4701. "description": "装置名称",
  4702. "required": true,
  4703. "type": "string"
  4704. }
  4705. ]
  4706. }
  4707. },
  4708. "/screen/scd/ied/smv_ctrlblock/sendfcdalist": {
  4709. "get": {
  4710. "tags": [
  4711. "scd_check_tools/controllersScreenController"
  4712. ],
  4713. "summary": "获取指定IED的指定SMV控制块端子列表",
  4714. "description": "获取指定IED的指定SMV控制块端子列表",
  4715. "parameters": [
  4716. {
  4717. "in": "query",
  4718. "name": "scd_id",
  4719. "description": "SCD文件ID",
  4720. "required": true,
  4721. "type": "integer",
  4722. "format": "int64"
  4723. },
  4724. {
  4725. "in": "query",
  4726. "name": "ied_name",
  4727. "description": "装置名称",
  4728. "required": true,
  4729. "type": "string"
  4730. },
  4731. {
  4732. "in": "query",
  4733. "name": "ctrlid",
  4734. "description": "SMV控制块ID",
  4735. "required": true,
  4736. "type": "integer",
  4737. "format": "int64"
  4738. }
  4739. ]
  4740. }
  4741. },
  4742. "/screen/scd/ied/sourcexml": {
  4743. "get": {
  4744. "tags": [
  4745. "scd_check_tools/controllersScreenController"
  4746. ],
  4747. "summary": "获取指定IED的源XML",
  4748. "description": "获取指定IED的源XML",
  4749. "parameters": [
  4750. {
  4751. "in": "query",
  4752. "name": "scd_id",
  4753. "description": "SCD文件ID",
  4754. "required": true,
  4755. "type": "integer",
  4756. "format": "int64"
  4757. },
  4758. {
  4759. "in": "query",
  4760. "name": "ied_name",
  4761. "description": "IED装置名称",
  4762. "required": true,
  4763. "type": "string"
  4764. }
  4765. ]
  4766. }
  4767. },
  4768. "/screen/scd/info": {
  4769. "get": {
  4770. "tags": [
  4771. "scd_check_tools/controllersScreenController"
  4772. ],
  4773. "summary": "获取scd详细信息",
  4774. "description": "获取scd详细信息",
  4775. "parameters": [
  4776. {
  4777. "in": "query",
  4778. "name": "scd_id",
  4779. "description": "SCD文件ID",
  4780. "required": true,
  4781. "type": "integer",
  4782. "format": "int64"
  4783. },
  4784. {
  4785. "in": "query",
  4786. "name": "scdname",
  4787. "description": "SCD名称",
  4788. "type": "string"
  4789. },
  4790. {
  4791. "in": "query",
  4792. "name": "scdpath",
  4793. "description": "SCD路径",
  4794. "type": "string"
  4795. }
  4796. ],
  4797. "responses": {
  4798. "200": {
  4799. "description": "成功",
  4800. "schema": {
  4801. "$ref": "#/definitions/ResultOK"
  4802. }
  4803. },
  4804. "500": {
  4805. "description": "{object} ResultError 失败"
  4806. }
  4807. }
  4808. }
  4809. },
  4810. "/screen/scd/ldevice/list": {
  4811. "get": {
  4812. "tags": [
  4813. "scd_check_tools/controllersScreenController"
  4814. ],
  4815. "summary": "获取指定accessPoint下的Ldevice节点列表",
  4816. "description": "获取指定accessPoint下的Ldevice节点列表",
  4817. "parameters": [
  4818. {
  4819. "in": "query",
  4820. "name": "scd_id",
  4821. "description": "SCD文件ID",
  4822. "required": true,
  4823. "type": "integer",
  4824. "format": "int64"
  4825. },
  4826. {
  4827. "in": "query",
  4828. "name": "accessPointId",
  4829. "description": "访问点ID",
  4830. "required": true,
  4831. "type": "integer",
  4832. "format": "int64"
  4833. }
  4834. ]
  4835. }
  4836. },
  4837. "/screen/scd/line/sourcexml": {
  4838. "get": {
  4839. "tags": [
  4840. "scd_check_tools/controllersScreenController"
  4841. ],
  4842. "summary": "获取指定行号的源XML",
  4843. "description": "获取指定行号的源XML,每次获取指定行的前后各100行源数据",
  4844. "parameters": [
  4845. {
  4846. "in": "query",
  4847. "name": "scd_id",
  4848. "description": "SCD文件ID",
  4849. "required": true,
  4850. "type": "integer",
  4851. "format": "int64"
  4852. },
  4853. {
  4854. "in": "query",
  4855. "name": "lineno",
  4856. "description": "行号",
  4857. "required": true,
  4858. "type": "integer",
  4859. "format": "int64"
  4860. }
  4861. ]
  4862. }
  4863. },
  4864. "/screen/scd/list": {
  4865. "get": {
  4866. "tags": [
  4867. "scd_check_tools/controllersScreenController"
  4868. ],
  4869. "summary": "获取scd列表",
  4870. "description": "获取scd列表",
  4871. "parameters": [
  4872. {
  4873. "in": "query",
  4874. "name": "stationid",
  4875. "description": "变电站ID",
  4876. "required": true,
  4877. "type": "integer",
  4878. "format": "int64"
  4879. },
  4880. {
  4881. "in": "query",
  4882. "name": "pageno",
  4883. "description": "当前页码。默认为1",
  4884. "required": true,
  4885. "type": "integer",
  4886. "format": "int64"
  4887. },
  4888. {
  4889. "in": "query",
  4890. "name": "pagesize",
  4891. "description": "每页显示数据数。默认为50",
  4892. "required": true,
  4893. "type": "integer",
  4894. "format": "int64"
  4895. },
  4896. {
  4897. "in": "query",
  4898. "name": "name",
  4899. "description": "SCD名称",
  4900. "type": "string"
  4901. },
  4902. {
  4903. "in": "query",
  4904. "name": "enable",
  4905. "description": "是否在运版SCD",
  4906. "type": "integer",
  4907. "format": "int64"
  4908. },
  4909. {
  4910. "in": "query",
  4911. "name": "ischeckinscd",
  4912. "description": "是否管控scd",
  4913. "type": "integer",
  4914. "format": "int64"
  4915. }
  4916. ],
  4917. "responses": {
  4918. "200": {
  4919. "description": "成功",
  4920. "schema": {
  4921. "$ref": "#/definitions/ResultOK"
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "{object} ResultError 失败"
  4926. }
  4927. }
  4928. }
  4929. },
  4930. "/screen/scd/node/attrs": {
  4931. "get": {
  4932. "tags": [
  4933. "scd_check_tools/controllersScreenController"
  4934. ],
  4935. "summary": "获取scd节点属性",
  4936. "description": "获取scd节点属性",
  4937. "parameters": [
  4938. {
  4939. "in": "query",
  4940. "name": "scd_id",
  4941. "description": "SCD文件ID",
  4942. "required": true,
  4943. "type": "integer",
  4944. "format": "int64"
  4945. },
  4946. {
  4947. "in": "query",
  4948. "name": "node_id",
  4949. "description": "SCD节点ID",
  4950. "required": true,
  4951. "type": "integer",
  4952. "format": "int64"
  4953. },
  4954. {
  4955. "in": "query",
  4956. "name": "ied_name",
  4957. "description": "SCD装置名称",
  4958. "type": "string"
  4959. }
  4960. ]
  4961. }
  4962. },
  4963. "/screen/scd/node/children/stat": {
  4964. "get": {
  4965. "tags": [
  4966. "scd_check_tools/controllersScreenController"
  4967. ],
  4968. "summary": "统计指定节点的下级节点类型及数量",
  4969. "description": "统计指定节点的下级节点类型及数量",
  4970. "parameters": [
  4971. {
  4972. "in": "query",
  4973. "name": "scd_id",
  4974. "description": "SCD文件ID",
  4975. "required": true,
  4976. "type": "integer",
  4977. "format": "int64"
  4978. },
  4979. {
  4980. "in": "query",
  4981. "name": "node_id",
  4982. "description": "SCD节点ID",
  4983. "required": true,
  4984. "type": "integer",
  4985. "format": "int64"
  4986. }
  4987. ]
  4988. }
  4989. },
  4990. "/screen/scd/node/list": {
  4991. "get": {
  4992. "tags": [
  4993. "scd_check_tools/controllersScreenController"
  4994. ],
  4995. "summary": "获取scd节点列表",
  4996. "description": "获取scd节点列表",
  4997. "parameters": [
  4998. {
  4999. "in": "query",
  5000. "name": "scd_id",
  5001. "description": "SCD文件ID",
  5002. "required": true,
  5003. "type": "integer",
  5004. "format": "int64"
  5005. },
  5006. {
  5007. "in": "query",
  5008. "name": "pageno",
  5009. "description": "当前页码。默认为1",
  5010. "required": true,
  5011. "type": "integer",
  5012. "format": "int64"
  5013. },
  5014. {
  5015. "in": "query",
  5016. "name": "pagesize",
  5017. "description": "每页的数据条数。默认为20",
  5018. "required": true,
  5019. "type": "integer",
  5020. "format": "int64"
  5021. },
  5022. {
  5023. "in": "query",
  5024. "name": "parent_node_id",
  5025. "description": "父节点ID",
  5026. "type": "integer",
  5027. "format": "int64"
  5028. },
  5029. {
  5030. "in": "query",
  5031. "name": "name",
  5032. "description": "节点Name",
  5033. "type": "string"
  5034. },
  5035. {
  5036. "in": "query",
  5037. "name": "ied_name",
  5038. "description": "装置Name",
  5039. "type": "string"
  5040. }
  5041. ]
  5042. }
  5043. },
  5044. "/screen/scd/parse/step1": {
  5045. "post": {
  5046. "tags": [
  5047. "scd_check_tools/controllersScreenController"
  5048. ],
  5049. "summary": "解析指定scd的间隔及装置",
  5050. "description": "解析指定scd的间隔及装置,该接口不会进行校验及其他分析",
  5051. "parameters": [
  5052. {
  5053. "in": "formData",
  5054. "name": "station_id",
  5055. "description": "变电站ID",
  5056. "required": true,
  5057. "type": "integer",
  5058. "format": "int64"
  5059. },
  5060. {
  5061. "in": "formData",
  5062. "name": "scd_path",
  5063. "description": "SCD文件路径",
  5064. "required": true,
  5065. "type": "string"
  5066. },
  5067. {
  5068. "in": "formData",
  5069. "name": "scd_name",
  5070. "description": "SCD文件名称",
  5071. "required": true,
  5072. "type": "string"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "成功",
  5078. "schema": {
  5079. "$ref": "#/definitions/ResultOK"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "{object} ResultError 失败"
  5084. }
  5085. }
  5086. }
  5087. },
  5088. "/screen/scd/parse/step2": {
  5089. "post": {
  5090. "tags": [
  5091. "scd_check_tools/controllersScreenController"
  5092. ],
  5093. "summary": "对指定scd进行校验及分析",
  5094. "description": "对指定scd进行校验及分析",
  5095. "parameters": [
  5096. {
  5097. "in": "formData",
  5098. "name": "scd_id",
  5099. "description": "SCD ID",
  5100. "required": true,
  5101. "type": "integer",
  5102. "format": "int64"
  5103. }
  5104. ],
  5105. "responses": {
  5106. "200": {
  5107. "description": "成功",
  5108. "schema": {
  5109. "$ref": "#/definitions/ResultOK"
  5110. }
  5111. },
  5112. "500": {
  5113. "description": "{object} ResultError 失败"
  5114. }
  5115. }
  5116. }
  5117. },
  5118. "/screen/scd/tmp_parse": {
  5119. "post": {
  5120. "tags": [
  5121. "scd_check_tools/controllersScreenController"
  5122. ],
  5123. "summary": "临时scd解析",
  5124. "description": "临时scd解析",
  5125. "parameters": [
  5126. {
  5127. "in": "formData",
  5128. "name": "station_id",
  5129. "description": "变电站ID",
  5130. "required": true,
  5131. "type": "integer",
  5132. "format": "int64"
  5133. },
  5134. {
  5135. "in": "formData",
  5136. "name": "scdname",
  5137. "description": "SCD名称",
  5138. "type": "string"
  5139. },
  5140. {
  5141. "in": "formData",
  5142. "name": "scdpath",
  5143. "description": "SCD路径",
  5144. "type": "string"
  5145. }
  5146. ],
  5147. "responses": {
  5148. "200": {
  5149. "description": "成功",
  5150. "schema": {
  5151. "$ref": "#/definitions/ResultOK"
  5152. }
  5153. },
  5154. "500": {
  5155. "description": "{object} ResultError 失败"
  5156. }
  5157. }
  5158. }
  5159. },
  5160. "/screen/scd/unlock": {
  5161. "post": {
  5162. "tags": [
  5163. "scd_check_tools/controllersScreenController"
  5164. ],
  5165. "summary": "强制解除scd文件锁定状态",
  5166. "description": "强制解除scd文件锁定状态",
  5167. "parameters": [
  5168. {
  5169. "in": "formData",
  5170. "name": "scd_id",
  5171. "description": "SCD文件ID",
  5172. "required": true,
  5173. "type": "integer",
  5174. "format": "int64"
  5175. },
  5176. {
  5177. "in": "formData",
  5178. "name": "flow_run_id",
  5179. "description": "签入流程ID",
  5180. "required": true,
  5181. "type": "integer",
  5182. "format": "int64"
  5183. }
  5184. ],
  5185. "responses": {
  5186. "200": {
  5187. "description": "成功",
  5188. "schema": {
  5189. "$ref": "#/definitions/ResultOK"
  5190. }
  5191. },
  5192. "500": {
  5193. "description": "{object} ResultError 失败"
  5194. }
  5195. }
  5196. }
  5197. },
  5198. "/searchUserInfo": {
  5199. "get": {
  5200. "tags": [
  5201. "scd_check_tools/controllersApiController"
  5202. ],
  5203. "summary": "搜索查询用户",
  5204. "description": "查询用户",
  5205. "parameters": [
  5206. {
  5207. "in": "query",
  5208. "name": "name",
  5209. "description": "姓名",
  5210. "type": "integer",
  5211. "format": "int64"
  5212. },
  5213. {
  5214. "in": "query",
  5215. "name": "pageindex",
  5216. "description": "分页页码,默认为1",
  5217. "type": "integer",
  5218. "format": "int64"
  5219. },
  5220. {
  5221. "in": "query",
  5222. "name": "pagesize",
  5223. "description": "每页最大记录数,默认为20",
  5224. "type": "integer",
  5225. "format": "int64"
  5226. },
  5227. {
  5228. "in": "query",
  5229. "name": "area_id",
  5230. "description": "区域ID",
  5231. "type": "integer",
  5232. "format": "int64"
  5233. },
  5234. {
  5235. "in": "query",
  5236. "name": "role_id",
  5237. "description": "角色ID",
  5238. "type": "integer",
  5239. "format": "int64"
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "成功",
  5245. "schema": {
  5246. "$ref": "#/definitions/WarpOK"
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "{object} WarpError 失败"
  5251. }
  5252. }
  5253. }
  5254. },
  5255. "/sys/alarm/list": {
  5256. "get": {
  5257. "tags": [
  5258. "scd_check_tools/controllersApiController"
  5259. ],
  5260. "summary": "获取系统告警列表",
  5261. "description": "获取系统告警列表",
  5262. "parameters": [
  5263. {
  5264. "in": "query",
  5265. "name": "pageindex",
  5266. "description": "当前查询的分页页码,默认为1",
  5267. "type": "integer",
  5268. "format": "int64"
  5269. },
  5270. {
  5271. "in": "query",
  5272. "name": "pagesize",
  5273. "description": "每页显示的数据条数,默认为20",
  5274. "type": "integer",
  5275. "format": "int64"
  5276. },
  5277. {
  5278. "in": "query",
  5279. "name": "enddate",
  5280. "description": "查询条件:结束日期",
  5281. "type": "string"
  5282. },
  5283. {
  5284. "in": "query",
  5285. "name": "startdate",
  5286. "description": "查询条件:开始日期",
  5287. "type": "string"
  5288. },
  5289. {
  5290. "in": "query",
  5291. "name": "eventtype",
  5292. "description": "查询条件:事件类型。关联系统字典代码log_eventtype。",
  5293. "type": "integer",
  5294. "format": "int64"
  5295. },
  5296. {
  5297. "in": "query",
  5298. "name": "alarmtype",
  5299. "description": "查询条件:告警类型。值为disk|cpu|mem之一。",
  5300. "type": "string"
  5301. },
  5302. {
  5303. "in": "query",
  5304. "name": "description",
  5305. "description": "查询条件:告警内容。模糊查询",
  5306. "type": "string"
  5307. }
  5308. ],
  5309. "responses": {
  5310. "200": {
  5311. "description": "成功",
  5312. "schema": {
  5313. "$ref": "#/definitions/ResultOK"
  5314. }
  5315. },
  5316. "500": {
  5317. "description": "{object} ResultError 失败"
  5318. }
  5319. }
  5320. }
  5321. },
  5322. "/sys/init": {
  5323. "post": {
  5324. "tags": [
  5325. "scd_check_tools/controllersApiController"
  5326. ],
  5327. "summary": "初始化系统数据"
  5328. }
  5329. },
  5330. "/task/delete": {
  5331. "post": {
  5332. "tags": [
  5333. "scd_check_tools/controllersTaskController"
  5334. ],
  5335. "summary": "删除指定的检测任务",
  5336. "description": "删除指定的检测任务",
  5337. "parameters": [
  5338. {
  5339. "in": "formData",
  5340. "name": "id",
  5341. "description": "检测任务ID",
  5342. "required": true,
  5343. "type": "integer",
  5344. "format": "int64"
  5345. }
  5346. ],
  5347. "responses": {
  5348. "200": {
  5349. "description": "成功",
  5350. "schema": {
  5351. "$ref": "#/definitions/ResultOK"
  5352. }
  5353. },
  5354. "500": {
  5355. "description": "{object} ResultError 失败"
  5356. }
  5357. }
  5358. }
  5359. },
  5360. "/task/list": {
  5361. "get": {
  5362. "tags": [
  5363. "scd_check_tools/controllersTaskController"
  5364. ],
  5365. "summary": "查询检测任务",
  5366. "description": "查询检测任务。支持任务名称、检测状态等过滤条件",
  5367. "parameters": [
  5368. {
  5369. "in": "query",
  5370. "name": "pageno",
  5371. "description": "当前页码。默认为1",
  5372. "required": true,
  5373. "type": "integer",
  5374. "format": "int64"
  5375. },
  5376. {
  5377. "in": "query",
  5378. "name": "pagesize",
  5379. "description": "每页显示数据数。默认为20",
  5380. "required": true,
  5381. "type": "integer",
  5382. "format": "int64"
  5383. },
  5384. {
  5385. "in": "query",
  5386. "name": "id",
  5387. "description": "任务ID",
  5388. "type": "integer",
  5389. "format": "int64"
  5390. },
  5391. {
  5392. "in": "query",
  5393. "name": "station_id",
  5394. "description": "变电站ID",
  5395. "type": "integer",
  5396. "format": "int64"
  5397. },
  5398. {
  5399. "in": "query",
  5400. "name": "name",
  5401. "description": "名称",
  5402. "type": "string"
  5403. },
  5404. {
  5405. "in": "query",
  5406. "name": "start_time",
  5407. "description": "检测开始日期。格式:yyyy-mm-dd",
  5408. "type": "string"
  5409. },
  5410. {
  5411. "in": "query",
  5412. "name": "end_time",
  5413. "description": "检测结束日期。格式:yyyy-mm-dd",
  5414. "type": "string"
  5415. },
  5416. {
  5417. "in": "query",
  5418. "name": "state",
  5419. "description": "检测状态。空:全部 0:未检查 1:检测中 2:检测结束 3:异常中断",
  5420. "type": "integer",
  5421. "format": "int64"
  5422. }
  5423. ],
  5424. "responses": {
  5425. "200": {
  5426. "description": "成功",
  5427. "schema": {
  5428. "$ref": "#/definitions/ResultOK"
  5429. }
  5430. },
  5431. "500": {
  5432. "description": "{object} ResultError 失败"
  5433. }
  5434. }
  5435. }
  5436. },
  5437. "/task/save": {
  5438. "post": {
  5439. "tags": [
  5440. "scd_check_tools/controllersTaskController"
  5441. ],
  5442. "summary": "创建新的检测任务",
  5443. "description": "创建新的检测任务",
  5444. "parameters": [
  5445. {
  5446. "in": "formData",
  5447. "name": "id",
  5448. "description": "任务ID。指定id值大于0时为编辑操作;否则为新增操作",
  5449. "type": "integer",
  5450. "format": "int64"
  5451. },
  5452. {
  5453. "in": "formData",
  5454. "name": "name",
  5455. "description": "任务名称",
  5456. "required": true,
  5457. "type": "string"
  5458. },
  5459. {
  5460. "in": "formData",
  5461. "name": "station_id",
  5462. "description": "变电站ID",
  5463. "required": true,
  5464. "type": "integer",
  5465. "format": "int64"
  5466. },
  5467. {
  5468. "in": "formData",
  5469. "name": "memo",
  5470. "description": "任务说明",
  5471. "type": "string"
  5472. },
  5473. {
  5474. "in": "formData",
  5475. "name": "report_id",
  5476. "description": "报告模板ID",
  5477. "required": true,
  5478. "type": "integer",
  5479. "format": "int64"
  5480. },
  5481. {
  5482. "in": "formData",
  5483. "name": "scd_id",
  5484. "description": "SCD文件ID",
  5485. "required": true,
  5486. "type": "integer",
  5487. "format": "int64"
  5488. },
  5489. {
  5490. "in": "formData",
  5491. "name": "modelids",
  5492. "description": "间隔-模型关系。数据格式:[[间隔id,模型id],[间隔id,模型id],..]多个间隔-模型关系之间逗号分隔",
  5493. "required": true,
  5494. "type": "array"
  5495. }
  5496. ],
  5497. "responses": {
  5498. "200": {
  5499. "description": "成功",
  5500. "schema": {
  5501. "$ref": "#/definitions/ResultOK"
  5502. }
  5503. },
  5504. "500": {
  5505. "description": "{object} ResultError 失败"
  5506. }
  5507. }
  5508. }
  5509. },
  5510. "/task/start": {
  5511. "post": {
  5512. "tags": [
  5513. "scd_check_tools/controllersTaskController"
  5514. ],
  5515. "summary": "开始进行检测",
  5516. "description": "开始进行检测",
  5517. "parameters": [
  5518. {
  5519. "in": "formData",
  5520. "name": "id",
  5521. "description": "检测任务ID",
  5522. "required": true,
  5523. "type": "integer",
  5524. "format": "int64"
  5525. }
  5526. ],
  5527. "responses": {
  5528. "200": {
  5529. "description": "成功",
  5530. "schema": {
  5531. "$ref": "#/definitions/ResultOK"
  5532. }
  5533. },
  5534. "500": {
  5535. "description": "{object} ResultError 失败"
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/task/stop": {
  5541. "post": {
  5542. "tags": [
  5543. "scd_check_tools/controllersTaskController"
  5544. ],
  5545. "summary": "取消或者终止检测",
  5546. "description": "取消或者终止检测",
  5547. "parameters": [
  5548. {
  5549. "in": "formData",
  5550. "name": "id",
  5551. "description": "检测任务ID",
  5552. "required": true,
  5553. "type": "integer",
  5554. "format": "int64"
  5555. }
  5556. ],
  5557. "responses": {
  5558. "200": {
  5559. "description": "成功",
  5560. "schema": {
  5561. "$ref": "#/definitions/ResultOK"
  5562. }
  5563. },
  5564. "500": {
  5565. "description": "{object} ResultError 失败"
  5566. }
  5567. }
  5568. }
  5569. },
  5570. "/test": {
  5571. "get": {
  5572. "tags": [
  5573. "scd_check_tools/controllersTestController"
  5574. ],
  5575. "summary": "这是一个测试接口",
  5576. "description": "这是一个测试接口"
  5577. }
  5578. },
  5579. "/uploadfile": {
  5580. "post": {
  5581. "tags": [
  5582. "scd_check_tools/controllersAttachmentController"
  5583. ],
  5584. "summary": "上传文件",
  5585. "description": "上传文件",
  5586. "parameters": [
  5587. {
  5588. "in": "formData",
  5589. "name": "file",
  5590. "description": "文件流",
  5591. "required": true,
  5592. "type": "file"
  5593. },
  5594. {
  5595. "in": "formData",
  5596. "name": "station_id",
  5597. "description": "变电站ID",
  5598. "required": true,
  5599. "type": "integer",
  5600. "format": "int64"
  5601. },
  5602. {
  5603. "in": "formData",
  5604. "name": "is_checkin",
  5605. "description": "是否是管控文档",
  5606. "type": "integer",
  5607. "format": "int64"
  5608. },
  5609. {
  5610. "in": "formData",
  5611. "name": "data_type",
  5612. "description": "业务类型。值为:a_scd|ccd|icd|cid|空。",
  5613. "type": "string"
  5614. },
  5615. {
  5616. "in": "formData",
  5617. "name": "attachment_type",
  5618. "description": "文件类别。值关联系统字典file_types或者为空。",
  5619. "type": "string"
  5620. }
  5621. ],
  5622. "responses": {
  5623. "200": {
  5624. "description": "成功",
  5625. "schema": {
  5626. "$ref": "#/definitions/ResultOK"
  5627. }
  5628. },
  5629. "500": {
  5630. "description": "{object} ResultError 失败"
  5631. }
  5632. }
  5633. }
  5634. },
  5635. "/version/check_client": {
  5636. "get": {
  5637. "tags": [
  5638. "scd_check_tools/upgradeVersionController"
  5639. ],
  5640. "summary": "获取最新客户端版本下载地址"
  5641. }
  5642. },
  5643. "/version/isnew": {
  5644. "get": {
  5645. "tags": [
  5646. "scd_check_tools/upgradeVersionController"
  5647. ],
  5648. "summary": "检查是否有新的客户端版本"
  5649. }
  5650. },
  5651. "expTableData": {
  5652. "post": {
  5653. "tags": [
  5654. "scd_check_tools/controllersApiController"
  5655. ],
  5656. "summary": "Excel数据导出",
  5657. "description": "Excel数据导出。导出成功时将返回导出文件的下载地址。",
  5658. "parameters": [
  5659. {
  5660. "in": "query",
  5661. "name": "code",
  5662. "description": "业务类型。值为:scd-comp-result(差异对比结果)\\scl-check-result(SCL校验结果)之一",
  5663. "required": true,
  5664. "type": "string"
  5665. },
  5666. {
  5667. "in": "query",
  5668. "name": "caption",
  5669. "description": "数据标题",
  5670. "type": "string"
  5671. },
  5672. {
  5673. "in": "query",
  5674. "name": "expcols",
  5675. "description": "导出的数据列,与expcolnames一一对应。从个数据列之间使用逗号分隔。未设置时将导出业务对应的所有列",
  5676. "type": "string"
  5677. },
  5678. {
  5679. "in": "query",
  5680. "name": "expcolnames",
  5681. "description": "导出的数据列对应的名称,与expcols一一一对应。从个数据列名之间使用逗号分隔。未设置时将导出业务对应的所有列",
  5682. "type": "string"
  5683. }
  5684. ],
  5685. "responses": {
  5686. "200": {
  5687. "description": "成功",
  5688. "schema": {
  5689. "$ref": "#/definitions/ResultOK"
  5690. }
  5691. },
  5692. "500": {
  5693. "description": "{object} ResultError 失败"
  5694. }
  5695. }
  5696. }
  5697. }
  5698. },
  5699. "definitions": {
  5700. "ResultError": {
  5701. "title": "ResultError",
  5702. "type": "object"
  5703. },
  5704. "ResultOK": {
  5705. "title": "ResultOK",
  5706. "type": "object"
  5707. },
  5708. "WarpOK": {
  5709. "title": "WarpOK",
  5710. "type": "object"
  5711. }
  5712. },
  5713. "tags": [
  5714. {
  5715. "name": "scd_check_tools/controllersApiController",
  5716. "description": "基础功能服务\n"
  5717. },
  5718. {
  5719. "name": "scd_check_tools/controllersTestController",
  5720. "description": "测试\n"
  5721. },
  5722. {
  5723. "name": "scd_check_tools/controllersExcelController",
  5724. "description": "文件/附件服务\n"
  5725. },
  5726. {
  5727. "name": "scd_check_tools/controllersScreenController",
  5728. "description": "SCD服务\n"
  5729. },
  5730. {
  5731. "name": "scd_check_tools/controllersFlowController",
  5732. "description": "签入签出流程服务\n"
  5733. },
  5734. {
  5735. "name": "scd_check_tools/controllersAttachmentController",
  5736. "description": "文件/附件服务\n"
  5737. },
  5738. {
  5739. "name": "scd_check_tools/controllersRuleController",
  5740. "description": "校验规则管理服务\n"
  5741. },
  5742. {
  5743. "name": "scd_check_tools/controllersStatController",
  5744. "description": "统计分析服务\n"
  5745. },
  5746. {
  5747. "name": "scd_check_tools/controllersScdCompController",
  5748. "description": "一致性校验服务\n"
  5749. },
  5750. {
  5751. "name": "scd_check_tools/controllersNoticeController",
  5752. "description": "通知提醒服务\n"
  5753. },
  5754. {
  5755. "name": "scd_check_tools/controllersTaskController",
  5756. "description": "检测任务服务\n"
  5757. },
  5758. {
  5759. "name": "scd_check_tools/controllersBusAdminController",
  5760. "description": "业务管理服务\n"
  5761. },
  5762. {
  5763. "name": "scd_check_tools/controllersReportController",
  5764. "description": "检测报告服务\n"
  5765. }
  5766. ]
  5767. }