swagger.json 236 KB

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