swagger.json 216 KB

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