swagger.json 242 KB

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