swagger.json 245 KB

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