swagger.json 239 KB

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