swagger.json 181 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976
  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. "/area/children/list": {
  14. "get": {
  15. "tags": [
  16. "scd_check_tools/controllersApiController"
  17. ],
  18. "summary": "获取指定获取的下级区域列表",
  19. "description": "获取指定获取的下级区域列表",
  20. "parameters": [
  21. {
  22. "in": "query",
  23. "name": "id",
  24. "description": "查询条件:区域ID",
  25. "required": true,
  26. "type": "string"
  27. },
  28. {
  29. "in": "query",
  30. "name": "all",
  31. "description": "查询条件:是否获取全部子区域。1表示是,反之表示否。默认为0",
  32. "type": "integer",
  33. "format": "int64"
  34. }
  35. ],
  36. "responses": {
  37. "200": {
  38. "description": "成功",
  39. "schema": {
  40. "$ref": "#/definitions/ResultOK"
  41. }
  42. },
  43. "500": {
  44. "description": "{object} ResultError 失败"
  45. }
  46. }
  47. }
  48. },
  49. "/area/tree": {
  50. "get": {
  51. "tags": [
  52. "scd_check_tools/controllersApiController"
  53. ],
  54. "summary": "获取区域列表",
  55. "description": "获取区域列表。以tree结构形式返回。",
  56. "responses": {
  57. "200": {
  58. "description": "成功",
  59. "schema": {
  60. "$ref": "#/definitions/ResultOK"
  61. }
  62. },
  63. "500": {
  64. "description": "{object} ResultError 失败"
  65. }
  66. }
  67. }
  68. },
  69. "/attachment/cfg/delete": {
  70. "post": {
  71. "tags": [
  72. "scd_check_tools/controllersAttachmentController"
  73. ],
  74. "summary": "删除指定的数据及附件自动清理配置",
  75. "description": "删除指定的数据及附件自动清理配置",
  76. "parameters": [
  77. {
  78. "in": "formData",
  79. "name": "id",
  80. "description": "配置记录id",
  81. "required": true,
  82. "type": "integer",
  83. "format": "int64"
  84. }
  85. ],
  86. "responses": {
  87. "200": {
  88. "description": "成功",
  89. "schema": {
  90. "$ref": "#/definitions/ResultOK"
  91. }
  92. },
  93. "500": {
  94. "description": "{object} ResultError 失败"
  95. }
  96. }
  97. }
  98. },
  99. "/attachment/cfg/list": {
  100. "get": {
  101. "tags": [
  102. "scd_check_tools/controllersAttachmentController"
  103. ],
  104. "summary": "获取数据及附件自动清理配置列表",
  105. "description": "获取数据及附件自动清理配置列表",
  106. "responses": {
  107. "200": {
  108. "description": "成功",
  109. "schema": {
  110. "$ref": "#/definitions/ResultOK"
  111. }
  112. },
  113. "500": {
  114. "description": "{object} ResultError 失败"
  115. }
  116. }
  117. }
  118. },
  119. "/attachment/cfg/one": {
  120. "get": {
  121. "tags": [
  122. "scd_check_tools/controllersAttachmentController"
  123. ],
  124. "summary": "获取指定的数据及附件自动清理配置",
  125. "description": "获取指定的数据及附件自动清理配置",
  126. "parameters": [
  127. {
  128. "in": "query",
  129. "name": "id",
  130. "description": "配置记录id。",
  131. "required": true,
  132. "type": "integer",
  133. "format": "int64"
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "成功",
  139. "schema": {
  140. "$ref": "#/definitions/ResultOK"
  141. }
  142. },
  143. "500": {
  144. "description": "{object} ResultError 失败"
  145. }
  146. }
  147. }
  148. },
  149. "/attachment/cfg/save": {
  150. "post": {
  151. "tags": [
  152. "scd_check_tools/controllersAttachmentController"
  153. ],
  154. "summary": "保存数据及附件自动清理配置",
  155. "description": "保存数据及附件自动清理配置",
  156. "parameters": [
  157. {
  158. "in": "formData",
  159. "name": "id",
  160. "description": "配置记录id。不为0时表示编辑保存",
  161. "required": true,
  162. "type": "integer",
  163. "format": "int64"
  164. },
  165. {
  166. "in": "formData",
  167. "name": "name",
  168. "description": "配置名称",
  169. "required": true,
  170. "type": "string"
  171. },
  172. {
  173. "in": "formData",
  174. "name": "skeepday",
  175. "description": "数据及附件保留的天数",
  176. "required": true,
  177. "type": "integer",
  178. "format": "int64"
  179. },
  180. {
  181. "in": "formData",
  182. "name": "tablename",
  183. "description": "数据模型名称",
  184. "required": true,
  185. "type": "string"
  186. },
  187. {
  188. "in": "formData",
  189. "name": "colname",
  190. "description": "数据模型中的记录创建日期列名",
  191. "required": true,
  192. "type": "string"
  193. },
  194. {
  195. "in": "formData",
  196. "name": "filterwhere",
  197. "description": "数据过滤条件。支持SQL语法",
  198. "type": "string"
  199. },
  200. {
  201. "in": "formData",
  202. "name": "memo",
  203. "description": "配置说明",
  204. "type": "string"
  205. }
  206. ],
  207. "responses": {
  208. "200": {
  209. "description": "成功",
  210. "schema": {
  211. "$ref": "#/definitions/ResultOK"
  212. }
  213. },
  214. "500": {
  215. "description": "{object} ResultError 失败"
  216. }
  217. }
  218. }
  219. },
  220. "/attachment/delete": {
  221. "post": {
  222. "tags": [
  223. "scd_check_tools/controllersAttachmentController"
  224. ],
  225. "summary": "删除附件",
  226. "description": "删除指定的附件",
  227. "parameters": [
  228. {
  229. "in": "formData",
  230. "name": "id",
  231. "description": "需要删除的附件id。",
  232. "required": true,
  233. "type": "integer",
  234. "format": "int64"
  235. },
  236. {
  237. "in": "formData",
  238. "name": "ids",
  239. "description": "需要删除的附件id。多个附件id使用逗号分隔。",
  240. "required": true,
  241. "type": "string"
  242. },
  243. {
  244. "in": "formData",
  245. "name": "scd_id",
  246. "description": "SCD文件ID。不为空时表示删除该SCD关联的文件",
  247. "type": "integer",
  248. "format": "int64"
  249. },
  250. {
  251. "in": "formData",
  252. "name": "check_flag",
  253. "description": "是否是管控文件。1表示是,否则表示为否",
  254. "type": "integer",
  255. "format": "int64"
  256. }
  257. ],
  258. "responses": {
  259. "200": {
  260. "description": "成功",
  261. "schema": {
  262. "$ref": "#/definitions/ResultOK"
  263. }
  264. },
  265. "500": {
  266. "description": "{object} ResultError 失败"
  267. }
  268. }
  269. }
  270. },
  271. "/attachment/download": {
  272. "post": {
  273. "tags": [
  274. "scd_check_tools/controllersAttachmentController"
  275. ],
  276. "summary": "下载附件",
  277. "description": "查询附件列表",
  278. "parameters": [
  279. {
  280. "in": "formData",
  281. "name": "ids",
  282. "description": "需要下载的附件id。多个附件id使用逗号分隔。",
  283. "required": true,
  284. "type": "string"
  285. }
  286. ],
  287. "responses": {
  288. "200": {
  289. "description": "成功",
  290. "schema": {
  291. "$ref": "#/definitions/ResultOK"
  292. }
  293. },
  294. "500": {
  295. "description": "{object} ResultError 失败"
  296. }
  297. }
  298. }
  299. },
  300. "/attachment/download/rec": {
  301. "post": {
  302. "tags": [
  303. "scd_check_tools/controllersAttachmentController"
  304. ],
  305. "summary": "查询指定附件下载历史记录",
  306. "description": "查询指定附件下载历史记录。(预留)",
  307. "parameters": [
  308. {
  309. "in": "query",
  310. "name": "id",
  311. "description": "附件id。",
  312. "required": true,
  313. "type": "integer",
  314. "format": "int64"
  315. }
  316. ],
  317. "responses": {
  318. "200": {
  319. "description": "成功",
  320. "schema": {
  321. "$ref": "#/definitions/ResultOK"
  322. }
  323. },
  324. "500": {
  325. "description": "{object} ResultError 失败"
  326. }
  327. }
  328. }
  329. },
  330. "/attachment/list": {
  331. "get": {
  332. "tags": [
  333. "scd_check_tools/controllersAttachmentController"
  334. ],
  335. "summary": "查询附件列表",
  336. "description": "查询附件列表",
  337. "parameters": [
  338. {
  339. "in": "query",
  340. "name": "pageindex",
  341. "description": "当前查询的分页页码,默认为1",
  342. "required": true,
  343. "type": "integer",
  344. "format": "int64"
  345. },
  346. {
  347. "in": "query",
  348. "name": "pagesize",
  349. "description": "每页显示的数据条数,默认为20",
  350. "required": true,
  351. "type": "integer",
  352. "format": "int64"
  353. },
  354. {
  355. "in": "query",
  356. "name": "station_id",
  357. "description": "变电站ID",
  358. "required": true,
  359. "type": "integer",
  360. "format": "int64"
  361. },
  362. {
  363. "in": "query",
  364. "name": "scd_id",
  365. "description": "SCD文件ID",
  366. "type": "integer",
  367. "format": "int64"
  368. },
  369. {
  370. "in": "query",
  371. "name": "is_checkin",
  372. "description": "是否管控文档。0 其他文件 1 管控文件 2 裁剪文件",
  373. "type": "integer",
  374. "format": "int64"
  375. },
  376. {
  377. "in": "query",
  378. "name": "name",
  379. "description": "附件名称",
  380. "type": "string"
  381. },
  382. {
  383. "in": "query",
  384. "name": "ied_name",
  385. "description": "装置名称",
  386. "type": "string"
  387. },
  388. {
  389. "in": "query",
  390. "name": "type",
  391. "description": "文件类别ID",
  392. "type": "integer",
  393. "format": "int64"
  394. }
  395. ],
  396. "responses": {
  397. "200": {
  398. "description": "成功",
  399. "schema": {
  400. "$ref": "#/definitions/ResultOK"
  401. }
  402. },
  403. "500": {
  404. "description": "{object} ResultError 失败"
  405. }
  406. }
  407. }
  408. },
  409. "/attachment/one": {
  410. "get": {
  411. "tags": [
  412. "scd_check_tools/controllersAttachmentController"
  413. ],
  414. "summary": "根据id获取附件信息",
  415. "description": "根据id获取附件信息",
  416. "parameters": [
  417. {
  418. "in": "query",
  419. "name": "id",
  420. "description": "附件ID",
  421. "required": true,
  422. "type": "integer",
  423. "format": "int64"
  424. }
  425. ],
  426. "responses": {
  427. "200": {
  428. "description": "成功",
  429. "schema": {
  430. "$ref": "#/definitions/ResultOK"
  431. }
  432. },
  433. "500": {
  434. "description": "{object} ResultError 失败"
  435. }
  436. }
  437. }
  438. },
  439. "/attachment/scdparse/start": {
  440. "post": {
  441. "tags": [
  442. "scd_check_tools/controllersAttachmentController"
  443. ],
  444. "summary": "重新解析指定的SCD文件",
  445. "description": "重新解析指定的SCD文件",
  446. "parameters": [
  447. {
  448. "in": "formData",
  449. "name": "station_id",
  450. "description": "变电站ID",
  451. "required": true,
  452. "type": "integer",
  453. "format": "int64"
  454. },
  455. {
  456. "in": "formData",
  457. "name": "scd_name",
  458. "description": "SCD文件名称",
  459. "required": true,
  460. "type": "string"
  461. },
  462. {
  463. "in": "formData",
  464. "name": "scd_path",
  465. "description": "SCD附件路径",
  466. "required": true,
  467. "type": "string"
  468. }
  469. ],
  470. "responses": {
  471. "200": {
  472. "description": "成功",
  473. "schema": {
  474. "$ref": "#/definitions/ResultOK"
  475. }
  476. },
  477. "500": {
  478. "description": "{object} ResultError 失败"
  479. }
  480. }
  481. }
  482. },
  483. "/attachment/stat": {
  484. "get": {
  485. "tags": [
  486. "scd_check_tools/controllersStatController"
  487. ],
  488. "summary": "SCD文档分类统计",
  489. "description": "SCD文档分类统计",
  490. "parameters": [
  491. {
  492. "in": "query",
  493. "name": "station_id",
  494. "description": "变电站ID",
  495. "type": "integer",
  496. "format": "int64"
  497. }
  498. ],
  499. "responses": {
  500. "200": {
  501. "description": "错误",
  502. "schema": {
  503. "$ref": "#/definitions/ResultError"
  504. }
  505. },
  506. "500": {
  507. "description": "status 失败"
  508. }
  509. }
  510. }
  511. },
  512. "/basic_area/del": {
  513. "post": {
  514. "tags": [
  515. "scd_check_tools/controllersApiController"
  516. ],
  517. "summary": "删除指定区域信息",
  518. "description": "删除指定区域信息",
  519. "parameters": [
  520. {
  521. "in": "query",
  522. "name": "id",
  523. "description": "区域ID。",
  524. "required": true,
  525. "type": "integer",
  526. "format": "int64"
  527. },
  528. {
  529. "in": "query",
  530. "name": "isall",
  531. "description": "是否同时删除所有下级区域。1为是,反之为否。默认为否",
  532. "type": "integer",
  533. "format": "int64"
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "成功",
  539. "schema": {
  540. "$ref": "#/definitions/ResultOK"
  541. }
  542. },
  543. "500": {
  544. "description": "{object} ResultError 失败"
  545. }
  546. }
  547. }
  548. },
  549. "/basic_area/getchildrencount": {
  550. "get": {
  551. "tags": [
  552. "scd_check_tools/controllersApiController"
  553. ],
  554. "summary": "查询指定区域的下级区域数量",
  555. "description": "查询指定区域的下级区域数量",
  556. "parameters": [
  557. {
  558. "in": "query",
  559. "name": "pid",
  560. "description": "查询条件:父级区域ID",
  561. "required": true,
  562. "type": "integer",
  563. "format": "int64"
  564. }
  565. ],
  566. "responses": {
  567. "200": {
  568. "description": "成功",
  569. "schema": {
  570. "$ref": "#/definitions/ResultOK"
  571. }
  572. },
  573. "500": {
  574. "description": "{object} ResultError 失败"
  575. }
  576. }
  577. }
  578. },
  579. "/basic_area/list": {
  580. "get": {
  581. "tags": [
  582. "scd_check_tools/controllersApiController"
  583. ],
  584. "summary": "根据查询条件搜索区域列表",
  585. "description": "根据查询条件搜索区域列表",
  586. "parameters": [
  587. {
  588. "in": "query",
  589. "name": "pageindex",
  590. "description": "当前查询的分页页码,默认为1",
  591. "type": "integer",
  592. "format": "int64"
  593. },
  594. {
  595. "in": "query",
  596. "name": "pagesize",
  597. "description": "每页显示的数据条数,默认为20",
  598. "type": "integer",
  599. "format": "int64"
  600. },
  601. {
  602. "in": "query",
  603. "name": "name",
  604. "description": "查询条件:区域名称。模糊匹配",
  605. "type": "string"
  606. },
  607. {
  608. "in": "query",
  609. "name": "id",
  610. "description": "查询条件:区域ID",
  611. "type": "integer",
  612. "format": "int64"
  613. },
  614. {
  615. "in": "query",
  616. "name": "pid",
  617. "description": "查询条件:父级区域ID",
  618. "type": "integer",
  619. "format": "int64"
  620. }
  621. ],
  622. "responses": {
  623. "200": {
  624. "description": "成功",
  625. "schema": {
  626. "$ref": "#/definitions/ResultOK"
  627. }
  628. },
  629. "500": {
  630. "description": "{object} ResultError 失败"
  631. }
  632. }
  633. }
  634. },
  635. "/basic_area/save": {
  636. "post": {
  637. "tags": [
  638. "scd_check_tools/controllersApiController"
  639. ],
  640. "summary": "保存区域信息",
  641. "description": "保存区域信息",
  642. "parameters": [
  643. {
  644. "in": "query",
  645. "name": "id",
  646. "description": "区域ID。编辑时必填。",
  647. "required": true,
  648. "type": "integer",
  649. "format": "int64"
  650. },
  651. {
  652. "in": "query",
  653. "name": "pid",
  654. "description": "父级区域ID",
  655. "required": true,
  656. "type": "integer",
  657. "format": "int64"
  658. },
  659. {
  660. "in": "query",
  661. "name": "area_type",
  662. "description": "区域类型",
  663. "required": true,
  664. "type": "integer",
  665. "format": "int64"
  666. },
  667. {
  668. "in": "query",
  669. "name": "area_name",
  670. "description": "区域名称",
  671. "required": true,
  672. "type": "string"
  673. },
  674. {
  675. "in": "query",
  676. "name": "area_addr",
  677. "description": "区域地址",
  678. "type": "string"
  679. }
  680. ],
  681. "responses": {
  682. "200": {
  683. "description": "成功",
  684. "schema": {
  685. "$ref": "#/definitions/ResultOK"
  686. }
  687. },
  688. "500": {
  689. "description": "{object} ResultError 失败"
  690. }
  691. }
  692. }
  693. },
  694. "/code/tree": {
  695. "get": {
  696. "tags": [
  697. "scd_check_tools/controllersApiController"
  698. ]
  699. }
  700. },
  701. "/createuser": {
  702. "post": {
  703. "tags": [
  704. "scd_check_tools/controllersApiController"
  705. ],
  706. "summary": "创建用户",
  707. "description": "查询用户信息",
  708. "parameters": [
  709. {
  710. "in": "query",
  711. "name": "userid",
  712. "description": "用户ID",
  713. "required": true,
  714. "type": "integer",
  715. "format": "int64"
  716. },
  717. {
  718. "in": "query",
  719. "name": "role",
  720. "description": "角色ID",
  721. "required": true,
  722. "type": "integer",
  723. "format": "int64"
  724. },
  725. {
  726. "in": "query",
  727. "name": "username",
  728. "description": "姓名",
  729. "required": true,
  730. "type": "string"
  731. },
  732. {
  733. "in": "query",
  734. "name": "account",
  735. "description": "登录帐号",
  736. "required": true,
  737. "type": "string"
  738. },
  739. {
  740. "in": "query",
  741. "name": "password",
  742. "description": "登录密码",
  743. "required": true,
  744. "type": "string"
  745. },
  746. {
  747. "in": "query",
  748. "name": "mobilephone",
  749. "description": "手机号",
  750. "type": "string"
  751. },
  752. {
  753. "in": "query",
  754. "name": "pwd_expire",
  755. "description": "密码过期日期",
  756. "type": "string"
  757. },
  758. {
  759. "in": "query",
  760. "name": "bind_ips",
  761. "description": "允许登录的IP",
  762. "type": "string"
  763. },
  764. {
  765. "in": "query",
  766. "name": "datelimit_start",
  767. "description": "帐号有效期开始日期",
  768. "type": "string"
  769. },
  770. {
  771. "in": "query",
  772. "name": "datelimit_end",
  773. "description": "帐号有效期结束日期",
  774. "type": "string"
  775. },
  776. {
  777. "in": "query",
  778. "name": "memo",
  779. "description": "其他说明",
  780. "type": "string"
  781. }
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "成功",
  786. "schema": {
  787. "$ref": "#/definitions/WarpOK"
  788. }
  789. },
  790. "500": {
  791. "description": "{object} WarpError 失败"
  792. }
  793. }
  794. }
  795. },
  796. "/db/backup/del": {
  797. "post": {
  798. "tags": [
  799. "scd_check_tools/controllersApiController"
  800. ],
  801. "summary": "删除指定的数据备份",
  802. "description": "删除指定的数据备份",
  803. "parameters": [
  804. {
  805. "in": "query",
  806. "name": "id",
  807. "description": "备份记录ID",
  808. "type": "integer",
  809. "format": "int64"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "成功",
  815. "schema": {
  816. "$ref": "#/definitions/ResultOK"
  817. }
  818. },
  819. "500": {
  820. "description": "{object} ResultError 失败"
  821. }
  822. }
  823. }
  824. },
  825. "/db/backup/list": {
  826. "get": {
  827. "tags": [
  828. "scd_check_tools/controllersApiController"
  829. ],
  830. "summary": "获取数据备份列表",
  831. "description": "获取数据备份列表",
  832. "parameters": [
  833. {
  834. "in": "query",
  835. "name": "pageindex",
  836. "description": "当前查询的分页页码,默认为1",
  837. "type": "integer",
  838. "format": "int64"
  839. },
  840. {
  841. "in": "query",
  842. "name": "pagesize",
  843. "description": "每页显示的数据条数,默认为20",
  844. "type": "integer",
  845. "format": "int64"
  846. },
  847. {
  848. "in": "query",
  849. "name": "enddate",
  850. "description": "备份结束日期",
  851. "type": "string"
  852. },
  853. {
  854. "in": "query",
  855. "name": "startdate",
  856. "description": "备份开始日期",
  857. "type": "string"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "成功",
  863. "schema": {
  864. "$ref": "#/definitions/ResultOK"
  865. }
  866. },
  867. "500": {
  868. "description": "{object} ResultError 失败"
  869. }
  870. }
  871. }
  872. },
  873. "/db/backup/new": {
  874. "post": {
  875. "tags": [
  876. "scd_check_tools/controllersApiController"
  877. ],
  878. "summary": "创建新数据备份",
  879. "description": "创建新数据备份",
  880. "responses": {
  881. "200": {
  882. "description": "成功",
  883. "schema": {
  884. "$ref": "#/definitions/ResultOK"
  885. }
  886. },
  887. "500": {
  888. "description": "{object} ResultError 失败"
  889. }
  890. }
  891. }
  892. },
  893. "/db/backup/recover": {
  894. "post": {
  895. "tags": [
  896. "scd_check_tools/controllersApiController"
  897. ],
  898. "summary": "数据还原",
  899. "description": "还原指定的数据备份",
  900. "parameters": [
  901. {
  902. "in": "query",
  903. "name": "id",
  904. "description": "备份记录ID",
  905. "required": true,
  906. "type": "integer",
  907. "format": "int64"
  908. }
  909. ],
  910. "responses": {
  911. "200": {
  912. "description": "成功",
  913. "schema": {
  914. "$ref": "#/definitions/ResultOK"
  915. }
  916. },
  917. "500": {
  918. "description": "{object} ResultError 失败"
  919. }
  920. }
  921. }
  922. },
  923. "/deleteGlobalcode": {
  924. "post": {
  925. "tags": [
  926. "scd_check_tools/controllersApiController"
  927. ],
  928. "summary": "删除指定系统字典定义",
  929. "description": "根据字典编码或ID删除指定系统字典定义",
  930. "parameters": [
  931. {
  932. "in": "query",
  933. "name": "code",
  934. "description": "系统字典编码",
  935. "type": "string"
  936. },
  937. {
  938. "in": "query",
  939. "name": "id",
  940. "description": "系统字典ID",
  941. "type": "string"
  942. }
  943. ],
  944. "responses": {
  945. "200": {
  946. "description": "成功",
  947. "schema": {
  948. "$ref": "#/definitions/WarpOK"
  949. }
  950. },
  951. "500": {
  952. "description": "{object} WarpError 失败"
  953. }
  954. }
  955. }
  956. },
  957. "/doc/stat/1": {
  958. "get": {
  959. "tags": [
  960. "scd_check_tools/controllersStatController"
  961. ],
  962. "summary": "资料完整度统计",
  963. "description": "资料完整度统计",
  964. "parameters": [
  965. {
  966. "in": "query",
  967. "name": "id",
  968. "description": "区域ID",
  969. "type": "integer",
  970. "format": "int64"
  971. }
  972. ],
  973. "responses": {
  974. "200": {
  975. "description": "错误",
  976. "schema": {
  977. "$ref": "#/definitions/ResultError"
  978. }
  979. },
  980. "500": {
  981. "description": "status 失败"
  982. }
  983. }
  984. }
  985. },
  986. "/flow/cnf/deleteuser": {
  987. "post": {
  988. "tags": [
  989. "scd_check_tools/controllersFlowController"
  990. ],
  991. "summary": "删除指定流程的节点人员配置信息",
  992. "description": "删除指定流程的节点人员配置信息",
  993. "parameters": [
  994. {
  995. "in": "formData",
  996. "name": "user_id",
  997. "description": "节点已分配的人员ID",
  998. "required": true,
  999. "type": "string"
  1000. },
  1001. {
  1002. "in": "formData",
  1003. "name": "node_inst_id",
  1004. "description": "节点与人员的分配记录ID",
  1005. "required": true,
  1006. "type": "string"
  1007. }
  1008. ],
  1009. "responses": {
  1010. "200": {
  1011. "description": "成功",
  1012. "schema": {
  1013. "$ref": "#/definitions/ResultOK"
  1014. }
  1015. },
  1016. "500": {
  1017. "description": "{object} ResultError 失败"
  1018. }
  1019. }
  1020. }
  1021. },
  1022. "/flow/cnf/getinfo": {
  1023. "get": {
  1024. "tags": [
  1025. "scd_check_tools/controllersFlowController"
  1026. ],
  1027. "summary": "获取流程配置信息",
  1028. "description": "获取流程配置信息",
  1029. "parameters": [
  1030. {
  1031. "in": "query",
  1032. "name": "station_id",
  1033. "description": "变电站ID",
  1034. "required": true,
  1035. "type": "string"
  1036. },
  1037. {
  1038. "in": "query",
  1039. "name": "flow_type",
  1040. "description": "流程类型。值为:3(SCD签入)、4(SCD签出)之一",
  1041. "type": "string"
  1042. },
  1043. {
  1044. "in": "query",
  1045. "name": "userfilter",
  1046. "description": "是否需要根据当前登录人员进行节点过滤,为1表示需要,主要用于流转时获取节点列表;否则为获取全节点,主要用于后台配置",
  1047. "type": "string"
  1048. }
  1049. ],
  1050. "responses": {
  1051. "200": {
  1052. "description": "成功",
  1053. "schema": {
  1054. "$ref": "#/definitions/ResultOK"
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "{object} ResultError 失败"
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/flow/getlastoutworkbook": {
  1064. "get": {
  1065. "tags": [
  1066. "scd_check_tools/controllersFlowController"
  1067. ],
  1068. "summary": "获取指定站最新签出流程详细信息",
  1069. "description": "获取指定站最新签出流程详细信息",
  1070. "parameters": [
  1071. {
  1072. "in": "query",
  1073. "name": "station_id",
  1074. "description": "变电站ID",
  1075. "required": true,
  1076. "type": "string"
  1077. }
  1078. ],
  1079. "responses": {
  1080. "200": {
  1081. "description": "成功",
  1082. "schema": {
  1083. "$ref": "#/definitions/ResultOK"
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "{object} ResultError 失败"
  1088. }
  1089. }
  1090. }
  1091. },
  1092. "/flow/lock/list": {
  1093. "get": {
  1094. "tags": [
  1095. "scd_check_tools/controllersFlowController"
  1096. ],
  1097. "summary": "获取指定站的锁定流程记录列表",
  1098. "description": "获取指定站的锁定流程记录列表",
  1099. "parameters": [
  1100. {
  1101. "in": "query",
  1102. "name": "station_id",
  1103. "description": "变电站ID",
  1104. "required": true,
  1105. "type": "string"
  1106. }
  1107. ],
  1108. "responses": {
  1109. "200": {
  1110. "description": "成功",
  1111. "schema": {
  1112. "$ref": "#/definitions/ResultOK"
  1113. }
  1114. },
  1115. "500": {
  1116. "description": "{object} ResultError 失败"
  1117. }
  1118. }
  1119. }
  1120. },
  1121. "/flow/node/getdata": {
  1122. "get": {
  1123. "tags": [
  1124. "scd_check_tools/controllersFlowController"
  1125. ],
  1126. "summary": "获取指节点的详细数据",
  1127. "description": "获取指节点的详细数据",
  1128. "parameters": [
  1129. {
  1130. "in": "query",
  1131. "name": "station_id",
  1132. "description": "变电站ID",
  1133. "required": true,
  1134. "type": "string"
  1135. },
  1136. {
  1137. "in": "query",
  1138. "name": "node_code",
  1139. "description": "节点编号。值为:checkinstart 编制,checkincheck 校验,checkinaudit 审核,checkinend 发布,checkoutstart 签出,checkoutcheck 校核,checkoutend 审核之一",
  1140. "required": true,
  1141. "type": "string"
  1142. },
  1143. {
  1144. "in": "query",
  1145. "name": "flow_run_id",
  1146. "description": "流程ID",
  1147. "required": true,
  1148. "type": "integer",
  1149. "format": "int64"
  1150. },
  1151. {
  1152. "in": "query",
  1153. "name": "flow_type",
  1154. "description": "流程类型,值为:3(SCD签入)、4(SCD签出)之一",
  1155. "type": "string"
  1156. }
  1157. ],
  1158. "responses": {
  1159. "200": {
  1160. "description": "成功",
  1161. "schema": {
  1162. "$ref": "#/definitions/ResultOK"
  1163. }
  1164. },
  1165. "500": {
  1166. "description": "{object} ResultError 失败"
  1167. }
  1168. }
  1169. }
  1170. },
  1171. "/flow/node/refuser": {
  1172. "post": {
  1173. "tags": [
  1174. "scd_check_tools/controllersFlowController"
  1175. ],
  1176. "summary": "保存流程配置信息",
  1177. "description": "保存流程配置信息",
  1178. "parameters": [
  1179. {
  1180. "in": "formData",
  1181. "name": "station_id",
  1182. "description": "变电站ID",
  1183. "required": true,
  1184. "type": "string"
  1185. },
  1186. {
  1187. "in": "formData",
  1188. "name": "node_id",
  1189. "description": "节点编号ID",
  1190. "required": true,
  1191. "type": "string"
  1192. },
  1193. {
  1194. "in": "formData",
  1195. "name": "user_ids",
  1196. "description": "有该节点权限的人员ID列表,多个ID之间用逗号分隔",
  1197. "required": true,
  1198. "type": "string"
  1199. },
  1200. {
  1201. "in": "formData",
  1202. "name": "node_inst_id",
  1203. "description": "节点与人员的分配记录ID",
  1204. "type": "string"
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "成功",
  1210. "schema": {
  1211. "$ref": "#/definitions/ResultOK"
  1212. }
  1213. },
  1214. "500": {
  1215. "description": "{object} ResultError 失败"
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/flow/run/list": {
  1221. "get": {
  1222. "tags": [
  1223. "scd_check_tools/controllersFlowController"
  1224. ],
  1225. "summary": "获取指定站的签入签出流程记录列表",
  1226. "description": "获取指定站的签入签出流程记录列表",
  1227. "parameters": [
  1228. {
  1229. "in": "query",
  1230. "name": "station_id",
  1231. "description": "变电站ID",
  1232. "required": true,
  1233. "type": "string"
  1234. },
  1235. {
  1236. "in": "query",
  1237. "name": "pageno",
  1238. "description": "当前页码,默认为1",
  1239. "required": true,
  1240. "type": "integer",
  1241. "format": "int64"
  1242. },
  1243. {
  1244. "in": "query",
  1245. "name": "pagesize",
  1246. "description": "每页记录条数,默认为20",
  1247. "required": true,
  1248. "type": "integer",
  1249. "format": "int64"
  1250. },
  1251. {
  1252. "in": "query",
  1253. "name": "dt1",
  1254. "description": "查询条件:开始日期",
  1255. "type": "string"
  1256. },
  1257. {
  1258. "in": "query",
  1259. "name": "dt2",
  1260. "description": "查询条件:结束日期",
  1261. "type": "string"
  1262. },
  1263. {
  1264. "in": "query",
  1265. "name": "name",
  1266. "description": "查询条件:SCD名称。模糊匹配",
  1267. "type": "string"
  1268. },
  1269. {
  1270. "in": "query",
  1271. "name": "flowtype",
  1272. "description": "查询条件:流程类型,值为:3(SCD签入)、4(SCD签出)之一",
  1273. "type": "string"
  1274. },
  1275. {
  1276. "in": "query",
  1277. "name": "flowstate",
  1278. "description": "查询条件:流程状态,值为:0 处理中 1 结束 2 驳回之一",
  1279. "type": "string"
  1280. }
  1281. ],
  1282. "responses": {
  1283. "200": {
  1284. "description": "成功",
  1285. "schema": {
  1286. "$ref": "#/definitions/ResultOK"
  1287. }
  1288. },
  1289. "500": {
  1290. "description": "{object} ResultError 失败"
  1291. }
  1292. }
  1293. }
  1294. },
  1295. "/flow/run/nodedeal/save": {
  1296. "post": {
  1297. "tags": [
  1298. "scd_check_tools/controllersFlowController"
  1299. ],
  1300. "summary": "保存指定站的签入签出节点信息",
  1301. "description": "保存指定站的签入签出节点信息",
  1302. "parameters": [
  1303. {
  1304. "in": "formData",
  1305. "name": "station_id",
  1306. "description": "变电站ID",
  1307. "required": true,
  1308. "type": "string"
  1309. },
  1310. {
  1311. "in": "formData",
  1312. "name": "node_code",
  1313. "description": "节点编号。值为:checkinstart 编制,checkincheck 校验,checkinaudit 审核,checkinend 发布,checkoutstart 签出,checkoutcheck 校核,checkoutend 审核之一",
  1314. "required": true,
  1315. "type": "string"
  1316. },
  1317. {
  1318. "in": "formData",
  1319. "name": "content",
  1320. "description": "节点填录的所有信息,为JSON对象序列化后的字符串。",
  1321. "required": true,
  1322. "type": "string"
  1323. },
  1324. {
  1325. "in": "formData",
  1326. "name": "flow_run_id",
  1327. "description": "流程ID",
  1328. "required": true,
  1329. "type": "integer",
  1330. "format": "int64"
  1331. },
  1332. {
  1333. "in": "formData",
  1334. "name": "opt",
  1335. "description": "操作类型。1 通过 0 驳回",
  1336. "type": "string"
  1337. },
  1338. {
  1339. "in": "formData",
  1340. "name": "flow_type",
  1341. "description": "流程类型,值为:3(SCD签入)、4(SCD签出)之一",
  1342. "type": "string"
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "成功",
  1348. "schema": {
  1349. "$ref": "#/definitions/ResultOK"
  1350. }
  1351. },
  1352. "500": {
  1353. "description": "{object} ResultError 失败"
  1354. }
  1355. }
  1356. }
  1357. },
  1358. "/flow/stat/list": {
  1359. "get": {
  1360. "tags": [
  1361. "scd_check_tools/controllersStatController"
  1362. ],
  1363. "summary": "SCD签入签出统计",
  1364. "description": "SCD签入签出统计",
  1365. "parameters": [
  1366. {
  1367. "in": "query",
  1368. "name": "station_id",
  1369. "description": "变电站ID",
  1370. "type": "integer",
  1371. "format": "int64"
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "错误",
  1377. "schema": {
  1378. "$ref": "#/definitions/ResultError"
  1379. }
  1380. },
  1381. "500": {
  1382. "description": "status 失败"
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/getGlobalChildrenCode": {
  1388. "get": {
  1389. "tags": [
  1390. "scd_check_tools/controllersApiController"
  1391. ],
  1392. "summary": "获取指定系统字典的下级字典码定义",
  1393. "description": "获取指定系统字典的下级字典码定义",
  1394. "parameters": [
  1395. {
  1396. "in": "query",
  1397. "name": "code",
  1398. "description": "未指定code时,将返回根字典下的子字典定义列表。",
  1399. "type": "string"
  1400. }
  1401. ],
  1402. "responses": {
  1403. "200": {
  1404. "description": "成功",
  1405. "schema": {
  1406. "$ref": "#/definitions/ResultOK"
  1407. }
  1408. },
  1409. "500": {
  1410. "description": "{object} ResultError 失败"
  1411. }
  1412. }
  1413. }
  1414. },
  1415. "/getGlobalCode": {
  1416. "get": {
  1417. "tags": [
  1418. "scd_check_tools/controllersApiController"
  1419. ],
  1420. "summary": "查询系统字典列表",
  1421. "description": "查询系统字典列表",
  1422. "parameters": [
  1423. {
  1424. "in": "query",
  1425. "name": "pageindex",
  1426. "description": "当前查询的页码。默认为1",
  1427. "type": "integer",
  1428. "format": "int64"
  1429. },
  1430. {
  1431. "in": "query",
  1432. "name": "pagesize",
  1433. "description": "每页显示的数据记录数,默认为20",
  1434. "type": "integer",
  1435. "format": "int64"
  1436. },
  1437. {
  1438. "in": "query",
  1439. "name": "pcode",
  1440. "description": "查询条件:指定的父级字典码",
  1441. "type": "string"
  1442. },
  1443. {
  1444. "in": "query",
  1445. "name": "code",
  1446. "description": "查询条件:指定的字典码",
  1447. "type": "string"
  1448. }
  1449. ],
  1450. "responses": {
  1451. "200": {
  1452. "description": "成功",
  1453. "schema": {
  1454. "$ref": "#/definitions/ResultOK"
  1455. }
  1456. },
  1457. "500": {
  1458. "description": "{object} ResultError 失败"
  1459. }
  1460. }
  1461. }
  1462. },
  1463. "/getGlobalCode/byid": {
  1464. "get": {
  1465. "tags": [
  1466. "scd_check_tools/controllersApiController"
  1467. ],
  1468. "summary": "根据id获取字典定义",
  1469. "description": "根据id获取字典定义",
  1470. "parameters": [
  1471. {
  1472. "in": "query",
  1473. "name": "id",
  1474. "description": "系统字典码ID",
  1475. "type": "string"
  1476. }
  1477. ],
  1478. "responses": {
  1479. "200": {
  1480. "description": "成功",
  1481. "schema": {
  1482. "$ref": "#/definitions/ResultOK"
  1483. }
  1484. },
  1485. "500": {
  1486. "description": "{object} ResultError 失败"
  1487. }
  1488. }
  1489. }
  1490. },
  1491. "/getRoleFuncList": {
  1492. "get": {
  1493. "tags": [
  1494. "scd_check_tools/controllersApiController"
  1495. ],
  1496. "summary": "获取指定角色的功能点列表",
  1497. "description": "获取指定角色的功能点列表",
  1498. "parameters": [
  1499. {
  1500. "in": "query",
  1501. "name": "roleid",
  1502. "description": "角色ID",
  1503. "required": true,
  1504. "type": "integer",
  1505. "format": "int64"
  1506. }
  1507. ],
  1508. "responses": {
  1509. "200": {
  1510. "description": "成功",
  1511. "schema": {
  1512. "$ref": "#/definitions/WarpOK"
  1513. }
  1514. },
  1515. "500": {
  1516. "description": "{object} WarpError 失败"
  1517. }
  1518. }
  1519. }
  1520. },
  1521. "/getSysParamList": {
  1522. "get": {
  1523. "tags": [
  1524. "scd_check_tools/controllersApiController"
  1525. ],
  1526. "summary": "获取全部或者指定的系统参数列表",
  1527. "description": "获取全部或者指定的系统参数列表",
  1528. "parameters": [
  1529. {
  1530. "in": "query",
  1531. "name": "param_name",
  1532. "description": "参数名",
  1533. "type": "string"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "成功",
  1539. "schema": {
  1540. "$ref": "#/definitions/ResultOK"
  1541. }
  1542. },
  1543. "500": {
  1544. "description": "{object} ResultError 失败"
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/getSyslogList": {
  1550. "get": {
  1551. "tags": [
  1552. "scd_check_tools/controllersApiController"
  1553. ],
  1554. "summary": "查询操作日志列表",
  1555. "description": "查询操作日志列表",
  1556. "parameters": [
  1557. {
  1558. "in": "query",
  1559. "name": "pageindex",
  1560. "description": "当前查询页码。默认为1",
  1561. "required": true,
  1562. "type": "integer",
  1563. "format": "int64"
  1564. },
  1565. {
  1566. "in": "query",
  1567. "name": "pagesize",
  1568. "description": "每页显示数据条数。默认20",
  1569. "required": true,
  1570. "type": "integer",
  1571. "format": "int64"
  1572. },
  1573. {
  1574. "in": "query",
  1575. "name": "enddate",
  1576. "description": "查询条件:结束日期",
  1577. "type": "string"
  1578. },
  1579. {
  1580. "in": "query",
  1581. "name": "startdate",
  1582. "description": "查询条件:开始日期",
  1583. "type": "string"
  1584. },
  1585. {
  1586. "in": "query",
  1587. "name": "description",
  1588. "description": "查询条件:日志内容。模糊匹配",
  1589. "type": "string"
  1590. },
  1591. {
  1592. "in": "query",
  1593. "name": "staff",
  1594. "description": "查询条件:操作人姓名。模糊匹配",
  1595. "type": "string"
  1596. },
  1597. {
  1598. "in": "query",
  1599. "name": "ip",
  1600. "description": "查询条件:操作IP地址。模糊匹配",
  1601. "type": "string"
  1602. },
  1603. {
  1604. "in": "query",
  1605. "name": "success",
  1606. "description": "查询条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功",
  1607. "type": "integer",
  1608. "format": "int64"
  1609. },
  1610. {
  1611. "in": "query",
  1612. "name": "opttype",
  1613. "description": "查询条件:操作类型。关联系统字典log_opttype。",
  1614. "type": "integer",
  1615. "format": "int64"
  1616. },
  1617. {
  1618. "in": "query",
  1619. "name": "audittype",
  1620. "description": "查询条件:审计类型。关联系统字典log_audittype。",
  1621. "type": "integer",
  1622. "format": "int64"
  1623. },
  1624. {
  1625. "in": "query",
  1626. "name": "eventtype",
  1627. "description": "查询条件:事件类型。关联系统字典log_eventtype。",
  1628. "type": "integer",
  1629. "format": "int64"
  1630. },
  1631. {
  1632. "in": "query",
  1633. "name": "eventlevel",
  1634. "description": "查询条件:事件等级。关联系统字典log_eventlevel。",
  1635. "type": "integer",
  1636. "format": "int64"
  1637. }
  1638. ],
  1639. "responses": {
  1640. "200": {
  1641. "description": "成功",
  1642. "schema": {
  1643. "$ref": "#/definitions/ResultOK"
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "{object} ResultError 失败"
  1648. }
  1649. }
  1650. }
  1651. },
  1652. "/getUser": {
  1653. "get": {
  1654. "tags": [
  1655. "scd_check_tools/controllersApiController"
  1656. ],
  1657. "summary": "查询指定用户的详细信息",
  1658. "description": "查询用户信息",
  1659. "parameters": [
  1660. {
  1661. "in": "query",
  1662. "name": "id",
  1663. "description": "用户ID",
  1664. "required": true,
  1665. "type": "integer",
  1666. "format": "int64"
  1667. }
  1668. ],
  1669. "responses": {
  1670. "200": {
  1671. "description": "成功",
  1672. "schema": {
  1673. "$ref": "#/definitions/WarpOK"
  1674. }
  1675. },
  1676. "500": {
  1677. "description": "{object} WarpError 失败"
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/getUserAreaList": {
  1683. "get": {
  1684. "tags": [
  1685. "scd_check_tools/controllersApiController"
  1686. ],
  1687. "summary": "获取指定用户所管理的区域列表",
  1688. "description": "获取指定用户所管理的区域列表",
  1689. "parameters": [
  1690. {
  1691. "in": "query",
  1692. "name": "userid",
  1693. "description": "用户ID",
  1694. "required": true,
  1695. "type": "integer",
  1696. "format": "int64"
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "成功",
  1702. "schema": {
  1703. "$ref": "#/definitions/ResultOK"
  1704. }
  1705. },
  1706. "500": {
  1707. "description": "{object} ResultError 失败"
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/getUserPrivList": {
  1713. "get": {
  1714. "tags": [
  1715. "scd_check_tools/controllersApiController"
  1716. ],
  1717. "summary": "指定用户的功能列表",
  1718. "description": "指定用户的功能列表。非RBAC模式下有效",
  1719. "parameters": [
  1720. {
  1721. "in": "query",
  1722. "name": "id",
  1723. "description": "用户ID",
  1724. "required": true,
  1725. "type": "integer",
  1726. "format": "int64"
  1727. }
  1728. ],
  1729. "responses": {
  1730. "200": {
  1731. "description": "成功",
  1732. "schema": {
  1733. "$ref": "#/definitions/WarpOK"
  1734. }
  1735. },
  1736. "500": {
  1737. "description": "{object} WarpError 失败"
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "/getVersion": {
  1743. "get": {
  1744. "tags": [
  1745. "scd_check_tools/controllersApiController"
  1746. ],
  1747. "summary": "获取当前程序版本",
  1748. "description": "获取当前程序版本",
  1749. "responses": {
  1750. "200": {
  1751. "description": "成功",
  1752. "schema": {
  1753. "$ref": "#/definitions/WarpOK"
  1754. }
  1755. },
  1756. "500": {
  1757. "description": "{object} WarpError 失败"
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/get_menu_tree": {
  1763. "get": {
  1764. "tags": [
  1765. "scd_check_tools/controllersApiController"
  1766. ],
  1767. "summary": "获取角色的已分配资源ID列表",
  1768. "description": "获取角色的已分配资源ID列表",
  1769. "parameters": [
  1770. {
  1771. "in": "query",
  1772. "name": "roleid",
  1773. "description": "角色ID",
  1774. "required": true,
  1775. "type": "string"
  1776. }
  1777. ],
  1778. "responses": {
  1779. "200": {
  1780. "description": "成功",
  1781. "schema": {
  1782. "$ref": "#/definitions/ResultOK"
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "{object} ResultError 失败"
  1787. }
  1788. }
  1789. }
  1790. },
  1791. "/ied/stat": {
  1792. "get": {
  1793. "tags": [
  1794. "scd_check_tools/controllersStatController"
  1795. ],
  1796. "summary": "SCD装置分类统计",
  1797. "description": "SCD装置分类统计",
  1798. "parameters": [
  1799. {
  1800. "in": "query",
  1801. "name": "station_id",
  1802. "description": "变电站ID",
  1803. "type": "integer",
  1804. "format": "int64"
  1805. }
  1806. ],
  1807. "responses": {
  1808. "200": {
  1809. "description": "错误",
  1810. "schema": {
  1811. "$ref": "#/definitions/ResultError"
  1812. }
  1813. },
  1814. "500": {
  1815. "description": "status 失败"
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/keep-alive": {
  1821. "get": {
  1822. "tags": [
  1823. "scd_check_tools/controllersApiController"
  1824. ],
  1825. "summary": "客户端心跳",
  1826. "description": "客户端心跳保持,由浏览器或客户端发起请求,以表示其还处于使用中",
  1827. "responses": {
  1828. "200": {
  1829. "description": "status 成功"
  1830. },
  1831. "500": {
  1832. "description": "status 失败"
  1833. }
  1834. }
  1835. }
  1836. },
  1837. "/log/backup": {
  1838. "post": {
  1839. "tags": [
  1840. "scd_check_tools/controllersApiController"
  1841. ],
  1842. "summary": "操作日志备份",
  1843. "description": "操作日志备份",
  1844. "parameters": [
  1845. {
  1846. "in": "query",
  1847. "name": "enddate",
  1848. "description": "备份结束日期",
  1849. "type": "string"
  1850. },
  1851. {
  1852. "in": "query",
  1853. "name": "startdate",
  1854. "description": "备份开始日期",
  1855. "type": "string"
  1856. }
  1857. ],
  1858. "responses": {
  1859. "200": {
  1860. "description": "成功",
  1861. "schema": {
  1862. "$ref": "#/definitions/ResultOK"
  1863. }
  1864. },
  1865. "500": {
  1866. "description": "{object} ResultError 失败"
  1867. }
  1868. }
  1869. }
  1870. },
  1871. "/log/backup/del": {
  1872. "post": {
  1873. "tags": [
  1874. "scd_check_tools/controllersApiController"
  1875. ],
  1876. "summary": "操作日志备份删除",
  1877. "description": "操作日志备份删除",
  1878. "parameters": [
  1879. {
  1880. "in": "query",
  1881. "name": "id",
  1882. "description": "备份记录ID",
  1883. "required": true,
  1884. "type": "integer",
  1885. "format": "int64"
  1886. }
  1887. ],
  1888. "responses": {
  1889. "200": {
  1890. "description": "成功",
  1891. "schema": {
  1892. "$ref": "#/definitions/ResultOK"
  1893. }
  1894. },
  1895. "500": {
  1896. "description": "{object} ResultError 失败"
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/log/backup/list": {
  1902. "get": {
  1903. "tags": [
  1904. "scd_check_tools/controllersApiController"
  1905. ],
  1906. "summary": "获取操作日志备份列表",
  1907. "description": "获取操作日志备份列表",
  1908. "parameters": [
  1909. {
  1910. "in": "query",
  1911. "name": "pageindex",
  1912. "description": "当前查询的分页页码,默认为1",
  1913. "type": "integer",
  1914. "format": "int64"
  1915. },
  1916. {
  1917. "in": "query",
  1918. "name": "pagesize",
  1919. "description": "每页显示的数据条数,默认为20",
  1920. "type": "integer",
  1921. "format": "int64"
  1922. },
  1923. {
  1924. "in": "query",
  1925. "name": "enddate",
  1926. "description": "备份结束日期",
  1927. "type": "string"
  1928. },
  1929. {
  1930. "in": "query",
  1931. "name": "startdate",
  1932. "description": "备份开始日期",
  1933. "type": "string"
  1934. }
  1935. ],
  1936. "responses": {
  1937. "200": {
  1938. "description": "成功",
  1939. "schema": {
  1940. "$ref": "#/definitions/ResultOK"
  1941. }
  1942. },
  1943. "500": {
  1944. "description": "{object} ResultError 失败"
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/log/chartstat": {
  1950. "get": {
  1951. "tags": [
  1952. "scd_check_tools/controllersApiController"
  1953. ],
  1954. "summary": "操作日志分类(图形)统计",
  1955. "description": "操作日志分类(图形)统计",
  1956. "parameters": [
  1957. {
  1958. "in": "query",
  1959. "name": "enddate",
  1960. "description": "统计条件:结束日期",
  1961. "type": "string"
  1962. },
  1963. {
  1964. "in": "query",
  1965. "name": "startdate",
  1966. "description": "统计条件:开始日期",
  1967. "type": "string"
  1968. },
  1969. {
  1970. "in": "query",
  1971. "name": "description",
  1972. "description": "统计条件:日志内容。模糊匹配",
  1973. "type": "string"
  1974. },
  1975. {
  1976. "in": "query",
  1977. "name": "staff",
  1978. "description": "统计条件:操作人姓名。模糊匹配",
  1979. "type": "string"
  1980. },
  1981. {
  1982. "in": "query",
  1983. "name": "ip",
  1984. "description": "统计条件:操作IP地址。模糊匹配",
  1985. "type": "string"
  1986. },
  1987. {
  1988. "in": "query",
  1989. "name": "success",
  1990. "description": "统计条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功",
  1991. "type": "integer",
  1992. "format": "int64"
  1993. },
  1994. {
  1995. "in": "query",
  1996. "name": "opttype",
  1997. "description": "统计条件:操作类型。关联系统字典log_opttype。",
  1998. "type": "integer",
  1999. "format": "int64"
  2000. },
  2001. {
  2002. "in": "query",
  2003. "name": "audittype",
  2004. "description": "统计条件:审计类型。关联系统字典log_audittype。",
  2005. "type": "integer",
  2006. "format": "int64"
  2007. },
  2008. {
  2009. "in": "query",
  2010. "name": "eventtype",
  2011. "description": "统计条件:事件类型。关联系统字典log_eventtype。",
  2012. "type": "integer",
  2013. "format": "int64"
  2014. },
  2015. {
  2016. "in": "query",
  2017. "name": "eventlevel",
  2018. "description": "统计条件:事件等级。关联系统字典log_eventlevel。",
  2019. "type": "integer",
  2020. "format": "int64"
  2021. },
  2022. {
  2023. "in": "query",
  2024. "name": "cycletype",
  2025. "description": "统计周期。值列表为:year,month,day,hour,week,默认为hour。",
  2026. "type": "integer",
  2027. "format": "int64"
  2028. }
  2029. ],
  2030. "responses": {
  2031. "200": {
  2032. "description": "成功",
  2033. "schema": {
  2034. "$ref": "#/definitions/ResultOK"
  2035. }
  2036. },
  2037. "500": {
  2038. "description": "{object} ResultError 失败"
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/log/datastat": {
  2044. "get": {
  2045. "tags": [
  2046. "scd_check_tools/controllersApiController"
  2047. ],
  2048. "summary": "操作日志分类(数据列表)统计",
  2049. "description": "操作日志分类(数据列表)统计",
  2050. "parameters": [
  2051. {
  2052. "in": "query",
  2053. "name": "enddate",
  2054. "description": "统计条件:结束日期",
  2055. "type": "integer",
  2056. "format": "int64"
  2057. },
  2058. {
  2059. "in": "query",
  2060. "name": "startdate",
  2061. "description": "统计条件:开始日期",
  2062. "type": "integer",
  2063. "format": "int64"
  2064. },
  2065. {
  2066. "in": "query",
  2067. "name": "description",
  2068. "description": "统计条件:日志内容。模糊匹配",
  2069. "type": "integer",
  2070. "format": "int64"
  2071. },
  2072. {
  2073. "in": "query",
  2074. "name": "staff",
  2075. "description": "统计条件:操作人姓名。模糊匹配",
  2076. "type": "string"
  2077. },
  2078. {
  2079. "in": "query",
  2080. "name": "ip",
  2081. "description": "统计条件:操作IP地址。模糊匹配",
  2082. "type": "string"
  2083. },
  2084. {
  2085. "in": "query",
  2086. "name": "success",
  2087. "description": "统计条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功",
  2088. "type": "integer",
  2089. "format": "int64"
  2090. },
  2091. {
  2092. "in": "query",
  2093. "name": "opttype",
  2094. "description": "统计条件:操作类型。关联系统字典log_opttype。",
  2095. "type": "integer",
  2096. "format": "int64"
  2097. },
  2098. {
  2099. "in": "query",
  2100. "name": "audittype",
  2101. "description": "统计条件:审计类型。关联系统字典log_audittype。",
  2102. "type": "integer",
  2103. "format": "int64"
  2104. },
  2105. {
  2106. "in": "query",
  2107. "name": "eventtype",
  2108. "description": "统计条件:事件类型。关联系统字典log_eventtype。",
  2109. "type": "integer",
  2110. "format": "int64"
  2111. },
  2112. {
  2113. "in": "query",
  2114. "name": "eventlevel",
  2115. "description": "统计条件:事件等级。关联系统字典log_eventlevel。",
  2116. "type": "integer",
  2117. "format": "int64"
  2118. },
  2119. {
  2120. "in": "query",
  2121. "name": "stattype",
  2122. "description": "统计类型。值为:logtype或者空。",
  2123. "type": "integer",
  2124. "format": "int64"
  2125. }
  2126. ],
  2127. "responses": {
  2128. "200": {
  2129. "description": "成功",
  2130. "schema": {
  2131. "$ref": "#/definitions/ResultOK"
  2132. }
  2133. },
  2134. "500": {
  2135. "description": "{object} ResultError 失败"
  2136. }
  2137. }
  2138. }
  2139. },
  2140. "/log/runtime_log": {
  2141. "get": {
  2142. "tags": [
  2143. "scd_check_tools/controllersApiController"
  2144. ],
  2145. "summary": "获取当前的服务器运行日志",
  2146. "description": "获取当前的服务器运行日志。每次获取10Kb的日志内容,第一次获取时默认为0,继续获取时需要将上次的最大位置传给offset参数。",
  2147. "parameters": [
  2148. {
  2149. "in": "query",
  2150. "name": "offset",
  2151. "description": "获取的日志起始字节位置。",
  2152. "required": true,
  2153. "type": "integer",
  2154. "format": "int64"
  2155. }
  2156. ],
  2157. "responses": {
  2158. "200": {
  2159. "description": "成功",
  2160. "schema": {
  2161. "$ref": "#/definitions/ResultOK"
  2162. }
  2163. },
  2164. "500": {
  2165. "description": "{object} ResultError 失败"
  2166. }
  2167. }
  2168. }
  2169. },
  2170. "/login": {
  2171. "post": {
  2172. "tags": [
  2173. "scd_check_tools/controllersApiController"
  2174. ],
  2175. "summary": "登录",
  2176. "description": "登录系统。系统会返回当前用户的相关信息,如基本信息、token等",
  2177. "parameters": [
  2178. {
  2179. "in": "query",
  2180. "name": "login_account",
  2181. "description": "用户帐号",
  2182. "required": true,
  2183. "type": "string"
  2184. },
  2185. {
  2186. "in": "query",
  2187. "name": "pwd",
  2188. "description": "用户密码",
  2189. "required": true,
  2190. "type": "string"
  2191. }
  2192. ],
  2193. "responses": {
  2194. "200": {
  2195. "description": "成功",
  2196. "schema": {
  2197. "$ref": "#/definitions/WarpOK"
  2198. }
  2199. },
  2200. "500": {
  2201. "description": "{object} WarpError 失败"
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/logout": {
  2207. "post": {
  2208. "tags": [
  2209. "scd_check_tools/controllersApiController"
  2210. ],
  2211. "summary": "登出",
  2212. "description": "登出系统。系统会自动清理当前用户的相关信息,如缓存、token等",
  2213. "parameters": [
  2214. {
  2215. "in": "query",
  2216. "name": "sessionid",
  2217. "description": "用户token码",
  2218. "required": true,
  2219. "type": "string"
  2220. }
  2221. ],
  2222. "responses": {
  2223. "200": {
  2224. "description": "成功",
  2225. "schema": {
  2226. "$ref": "#/definitions/WarpOK"
  2227. }
  2228. },
  2229. "500": {
  2230. "description": "{object} WarpError 失败"
  2231. }
  2232. }
  2233. }
  2234. },
  2235. "/net/video/play": {
  2236. "post": {
  2237. "tags": [
  2238. "scd_check_tools/controllersApiController"
  2239. ],
  2240. "summary": "视频播放"
  2241. }
  2242. },
  2243. "/notice/info": {
  2244. "get": {
  2245. "tags": [
  2246. "scd_check_tools/controllersNoticeController"
  2247. ],
  2248. "summary": "获取指定通知提醒详细信息",
  2249. "description": "获取指定通知提醒详细信息",
  2250. "parameters": [
  2251. {
  2252. "in": "query",
  2253. "name": "id",
  2254. "description": "通知提醒记录ID",
  2255. "required": true,
  2256. "type": "integer",
  2257. "format": "int64"
  2258. }
  2259. ],
  2260. "responses": {
  2261. "200": {
  2262. "description": "成功",
  2263. "schema": {
  2264. "$ref": "#/definitions/ResultOK"
  2265. }
  2266. },
  2267. "500": {
  2268. "description": "{object} ResultError 失败"
  2269. }
  2270. }
  2271. }
  2272. },
  2273. "/notice/list": {
  2274. "get": {
  2275. "tags": [
  2276. "scd_check_tools/controllersNoticeController"
  2277. ],
  2278. "summary": "获取指定站的通知提醒列表",
  2279. "description": "获取指定站的通知提醒列表",
  2280. "parameters": [
  2281. {
  2282. "in": "query",
  2283. "name": "station_id",
  2284. "description": "变电站ID",
  2285. "required": true,
  2286. "type": "string"
  2287. },
  2288. {
  2289. "in": "query",
  2290. "name": "pageno",
  2291. "description": "当前页码。默认为1",
  2292. "type": "integer",
  2293. "format": "int64"
  2294. },
  2295. {
  2296. "in": "query",
  2297. "name": "pagesize",
  2298. "description": "每页显示记录数。默认为20",
  2299. "type": "integer",
  2300. "format": "int64"
  2301. },
  2302. {
  2303. "in": "query",
  2304. "name": "isread",
  2305. "description": "是否已读。0 未读或1 已读",
  2306. "type": "integer",
  2307. "format": "int64"
  2308. }
  2309. ],
  2310. "responses": {
  2311. "200": {
  2312. "description": "成功",
  2313. "schema": {
  2314. "$ref": "#/definitions/ResultOK"
  2315. }
  2316. },
  2317. "500": {
  2318. "description": "{object} ResultError 失败"
  2319. }
  2320. }
  2321. }
  2322. },
  2323. "/notice/read": {
  2324. "post": {
  2325. "tags": [
  2326. "scd_check_tools/controllersNoticeController"
  2327. ],
  2328. "summary": "设置指定通知提醒为已读",
  2329. "description": "设置指定通知提醒为已读",
  2330. "parameters": [
  2331. {
  2332. "in": "formData",
  2333. "name": "id",
  2334. "description": "通知提醒记录ID",
  2335. "required": true,
  2336. "type": "integer",
  2337. "format": "int64"
  2338. }
  2339. ],
  2340. "responses": {
  2341. "200": {
  2342. "description": "成功",
  2343. "schema": {
  2344. "$ref": "#/definitions/ResultOK"
  2345. }
  2346. },
  2347. "500": {
  2348. "description": "{object} ResultError 失败"
  2349. }
  2350. }
  2351. }
  2352. },
  2353. "/playWav": {
  2354. "post": {
  2355. "tags": [
  2356. "scd_check_tools/controllersApiController"
  2357. ],
  2358. "summary": "语音播放",
  2359. "description": "语音播放",
  2360. "operationId": "ApiController.语音播放",
  2361. "parameters": [
  2362. {
  2363. "in": "query",
  2364. "name": "filename",
  2365. "description": "文件名称",
  2366. "type": "string"
  2367. }
  2368. ],
  2369. "responses": {
  2370. "200": {
  2371. "description": "status 成功"
  2372. },
  2373. "500": {
  2374. "description": "status 失败"
  2375. }
  2376. }
  2377. }
  2378. },
  2379. "/record/delete": {
  2380. "post": {
  2381. "tags": [
  2382. "scd_check_tools/controllersApiController"
  2383. ],
  2384. "summary": "删除指定模型的某条数据记录",
  2385. "description": "删除指定模型的某条数据记录",
  2386. "parameters": [
  2387. {
  2388. "in": "query",
  2389. "name": "tablename",
  2390. "description": "数据模型名称",
  2391. "required": true,
  2392. "type": "string"
  2393. },
  2394. {
  2395. "in": "query",
  2396. "name": "id",
  2397. "description": "数据记录ID",
  2398. "required": true,
  2399. "type": "string"
  2400. },
  2401. {
  2402. "in": "query",
  2403. "name": "primaryfield",
  2404. "description": "数据记录ID列名。默认为id",
  2405. "type": "string"
  2406. }
  2407. ],
  2408. "responses": {
  2409. "200": {
  2410. "description": "成功",
  2411. "schema": {
  2412. "$ref": "#/definitions/WarpOK"
  2413. }
  2414. },
  2415. "500": {
  2416. "description": "{object} WarpError 失败"
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/record/get": {
  2422. "get": {
  2423. "tags": [
  2424. "scd_check_tools/controllersApiController"
  2425. ],
  2426. "summary": "获取指定模型的某条数据记录",
  2427. "description": "获取指定模型的某条数据记录",
  2428. "parameters": [
  2429. {
  2430. "in": "query",
  2431. "name": "tablename",
  2432. "description": "数据模型名称",
  2433. "required": true,
  2434. "type": "string"
  2435. },
  2436. {
  2437. "in": "query",
  2438. "name": "id",
  2439. "description": "数据记录ID",
  2440. "required": true,
  2441. "type": "string"
  2442. },
  2443. {
  2444. "in": "query",
  2445. "name": "primaryfield",
  2446. "description": "数据记录ID列名。默认为id",
  2447. "type": "string"
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "成功",
  2453. "schema": {
  2454. "$ref": "#/definitions/WarpOK"
  2455. }
  2456. },
  2457. "500": {
  2458. "description": "{object} WarpError 失败"
  2459. }
  2460. }
  2461. }
  2462. },
  2463. "/resetUserPwd": {
  2464. "post": {
  2465. "tags": [
  2466. "scd_check_tools/controllersApiController"
  2467. ],
  2468. "summary": "修改自己密码",
  2469. "description": "修改密码。只能修改自己的密码",
  2470. "parameters": [
  2471. {
  2472. "in": "query",
  2473. "name": "newpwd",
  2474. "description": "原密码",
  2475. "required": true,
  2476. "type": "integer",
  2477. "format": "int64"
  2478. },
  2479. {
  2480. "in": "query",
  2481. "name": "oldpwd",
  2482. "description": "新密码",
  2483. "required": true,
  2484. "type": "integer",
  2485. "format": "int64"
  2486. }
  2487. ],
  2488. "responses": {
  2489. "200": {
  2490. "description": "成功",
  2491. "schema": {
  2492. "$ref": "#/definitions/WarpOK"
  2493. }
  2494. },
  2495. "500": {
  2496. "description": "{object} WarpError 失败"
  2497. }
  2498. }
  2499. }
  2500. },
  2501. "/saveGlobalcode": {
  2502. "post": {
  2503. "tags": [
  2504. "scd_check_tools/controllersApiController"
  2505. ],
  2506. "summary": "保存系统字典",
  2507. "description": "保存系统字典",
  2508. "parameters": [
  2509. {
  2510. "in": "query",
  2511. "name": "name",
  2512. "description": "系统字典名称",
  2513. "required": true,
  2514. "type": "string"
  2515. },
  2516. {
  2517. "in": "query",
  2518. "name": "parentcode",
  2519. "description": "上级系统字典编码",
  2520. "required": true,
  2521. "type": "string"
  2522. },
  2523. {
  2524. "in": "query",
  2525. "name": "code",
  2526. "description": "系统字典编码",
  2527. "required": true,
  2528. "type": "string"
  2529. },
  2530. {
  2531. "in": "query",
  2532. "name": "id",
  2533. "description": "系统字典ID",
  2534. "type": "string"
  2535. }
  2536. ],
  2537. "responses": {
  2538. "200": {
  2539. "description": "成功",
  2540. "schema": {
  2541. "$ref": "#/definitions/WarpOK"
  2542. }
  2543. },
  2544. "500": {
  2545. "description": "{object} WarpError 失败"
  2546. }
  2547. }
  2548. }
  2549. },
  2550. "/saveRoleFunc": {
  2551. "post": {
  2552. "tags": [
  2553. "scd_check_tools/controllersApiController"
  2554. ],
  2555. "summary": "保存指定角色的功能点列表",
  2556. "description": "保存指定角色的功能点列表",
  2557. "parameters": [
  2558. {
  2559. "in": "query",
  2560. "name": "roleid",
  2561. "description": "角色ID",
  2562. "required": true,
  2563. "type": "integer",
  2564. "format": "int64"
  2565. },
  2566. {
  2567. "in": "query",
  2568. "name": "areaid",
  2569. "description": "区域列表。JSON串,格式如:[{id:区域ID,allchecked:all|空}]",
  2570. "required": true,
  2571. "type": "string"
  2572. }
  2573. ],
  2574. "responses": {
  2575. "200": {
  2576. "description": "成功",
  2577. "schema": {
  2578. "$ref": "#/definitions/WarpOK"
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "{object} WarpError 失败"
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/saveSysParam": {
  2588. "post": {
  2589. "tags": [
  2590. "scd_check_tools/controllersApiController"
  2591. ],
  2592. "summary": "保存系统参数",
  2593. "description": "保存系统参数",
  2594. "parameters": [
  2595. {
  2596. "in": "query",
  2597. "name": "param_name",
  2598. "description": "参数缟编码",
  2599. "type": "string"
  2600. },
  2601. {
  2602. "in": "query",
  2603. "name": "param_value",
  2604. "description": "参数值",
  2605. "type": "string"
  2606. },
  2607. {
  2608. "in": "query",
  2609. "name": "param_memo",
  2610. "description": "参数描述",
  2611. "type": "string"
  2612. }
  2613. ],
  2614. "responses": {
  2615. "200": {
  2616. "description": "错误",
  2617. "schema": {
  2618. "$ref": "#/definitions/ResultError"
  2619. }
  2620. },
  2621. "500": {
  2622. "description": "status 失败"
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/saveUser": {
  2628. "post": {
  2629. "tags": [
  2630. "scd_check_tools/controllersApiController"
  2631. ],
  2632. "summary": "保存用户信息(已废弃)"
  2633. }
  2634. },
  2635. "/saveUserAreaList": {
  2636. "post": {
  2637. "tags": [
  2638. "scd_check_tools/controllersApiController"
  2639. ],
  2640. "summary": "保存指定用户所管理的区域列表",
  2641. "description": "保存指定用户所管理的区域列表",
  2642. "parameters": [
  2643. {
  2644. "in": "query",
  2645. "name": "userid",
  2646. "description": "用户ID",
  2647. "required": true,
  2648. "type": "integer",
  2649. "format": "int64"
  2650. },
  2651. {
  2652. "in": "query",
  2653. "name": "areaid",
  2654. "description": "区域列表。JSON串,格式如:[{id:区域ID,allchecked:all|空}]",
  2655. "required": true,
  2656. "type": "string"
  2657. }
  2658. ],
  2659. "responses": {
  2660. "200": {
  2661. "description": "成功",
  2662. "schema": {
  2663. "$ref": "#/definitions/ResultOK"
  2664. }
  2665. },
  2666. "500": {
  2667. "description": "{object} ResultError 失败"
  2668. }
  2669. }
  2670. }
  2671. },
  2672. "/saveUserPrivList": {
  2673. "post": {
  2674. "tags": [
  2675. "scd_check_tools/controllersApiController"
  2676. ],
  2677. "summary": "保存指定用户的功能列表",
  2678. "description": "保存指定用户的功能列表。非RBAC模式下有效",
  2679. "parameters": [
  2680. {
  2681. "in": "query",
  2682. "name": "id",
  2683. "description": "用户ID",
  2684. "required": true,
  2685. "type": "integer",
  2686. "format": "int64"
  2687. },
  2688. {
  2689. "in": "query",
  2690. "name": "privids",
  2691. "description": "功能ID列表,使用逗号分隔",
  2692. "required": true,
  2693. "type": "string"
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "成功",
  2699. "schema": {
  2700. "$ref": "#/definitions/WarpOK"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "{object} WarpError 失败"
  2705. }
  2706. }
  2707. }
  2708. },
  2709. "/scd/area/edit_voltage_level": {
  2710. "post": {
  2711. "tags": [
  2712. "scd_check_tools/controllersScreenController"
  2713. ],
  2714. "summary": "修改指定间隔的所属电压等级",
  2715. "description": "修改指定间隔的所属电压等级",
  2716. "parameters": [
  2717. {
  2718. "in": "query",
  2719. "name": "voltagelevel",
  2720. "description": "电压等级ID",
  2721. "required": true,
  2722. "type": "integer",
  2723. "format": "int64"
  2724. },
  2725. {
  2726. "in": "query",
  2727. "name": "area_id",
  2728. "description": "间隔ID",
  2729. "required": true,
  2730. "type": "integer",
  2731. "format": "int64"
  2732. }
  2733. ]
  2734. }
  2735. },
  2736. "/scd/area/editname": {
  2737. "post": {
  2738. "tags": [
  2739. "scd_check_tools/controllersScreenController"
  2740. ],
  2741. "summary": "修改指定间隔的名称信息",
  2742. "description": "修改指定间隔的名称信息",
  2743. "parameters": [
  2744. {
  2745. "in": "query",
  2746. "name": "scd_id",
  2747. "description": "SCD文件ID",
  2748. "required": true,
  2749. "type": "integer",
  2750. "format": "int64"
  2751. },
  2752. {
  2753. "in": "query",
  2754. "name": "area_id",
  2755. "description": "间隔ID",
  2756. "required": true,
  2757. "type": "integer",
  2758. "format": "int64"
  2759. },
  2760. {
  2761. "in": "query",
  2762. "name": "name",
  2763. "description": "间隔名称",
  2764. "required": true,
  2765. "type": "string"
  2766. }
  2767. ]
  2768. }
  2769. },
  2770. "/scd/area/ied/list": {
  2771. "get": {
  2772. "tags": [
  2773. "scd_check_tools/controllersScreenController"
  2774. ],
  2775. "summary": "获取指定间隔下的IED信息",
  2776. "description": "获取指定间隔下的IED信息",
  2777. "parameters": [
  2778. {
  2779. "in": "query",
  2780. "name": "scd_id",
  2781. "description": "SCD文件ID",
  2782. "required": true,
  2783. "type": "integer",
  2784. "format": "int64"
  2785. },
  2786. {
  2787. "in": "query",
  2788. "name": "voltage_level_id",
  2789. "description": "电压等级ID",
  2790. "type": "integer",
  2791. "format": "int64"
  2792. },
  2793. {
  2794. "in": "query",
  2795. "name": "area_id",
  2796. "description": "间隔ID",
  2797. "type": "integer",
  2798. "format": "int64"
  2799. },
  2800. {
  2801. "in": "query",
  2802. "name": "device_type_id",
  2803. "description": "装置类型ID。关联系统字典:device_type",
  2804. "type": "string"
  2805. }
  2806. ]
  2807. }
  2808. },
  2809. "/scd/area/list": {
  2810. "get": {
  2811. "tags": [
  2812. "scd_check_tools/controllersScreenController"
  2813. ],
  2814. "summary": "获取指定scd下的间隔信息",
  2815. "description": "获取指定scd下的间隔信息",
  2816. "parameters": [
  2817. {
  2818. "in": "query",
  2819. "name": "scd_id",
  2820. "description": "SCD文件ID",
  2821. "required": true,
  2822. "type": "integer",
  2823. "format": "int64"
  2824. },
  2825. {
  2826. "in": "query",
  2827. "name": "voltage_level_id",
  2828. "description": "电压等级ID",
  2829. "type": "integer",
  2830. "format": "int64"
  2831. }
  2832. ]
  2833. }
  2834. },
  2835. "/scd/check/resultlist": {
  2836. "get": {
  2837. "tags": [
  2838. "scd_check_tools/controllersScreenController"
  2839. ],
  2840. "summary": "获取指定SCD的校验结果",
  2841. "description": "获取指定SCD的校验结果",
  2842. "parameters": [
  2843. {
  2844. "in": "query",
  2845. "name": "scd_id",
  2846. "description": "SCD文件ID",
  2847. "required": true,
  2848. "type": "integer",
  2849. "format": "int64"
  2850. },
  2851. {
  2852. "in": "query",
  2853. "name": "pageno",
  2854. "description": "当前页码。默认为1",
  2855. "required": true,
  2856. "type": "integer",
  2857. "format": "int64"
  2858. },
  2859. {
  2860. "in": "query",
  2861. "name": "pagesize",
  2862. "description": "每页数据记录条数。默认为20",
  2863. "required": true,
  2864. "type": "integer",
  2865. "format": "int64"
  2866. },
  2867. {
  2868. "in": "query",
  2869. "name": "scd_name",
  2870. "description": "SCD文件名称",
  2871. "type": "string"
  2872. },
  2873. {
  2874. "in": "query",
  2875. "name": "scd_path",
  2876. "description": "SCD文件名称",
  2877. "type": "string"
  2878. },
  2879. {
  2880. "in": "query",
  2881. "name": "level",
  2882. "description": "校验错误级别",
  2883. "type": "string"
  2884. },
  2885. {
  2886. "in": "query",
  2887. "name": "ied_name",
  2888. "description": "IED装置名称",
  2889. "type": "string"
  2890. },
  2891. {
  2892. "in": "query",
  2893. "name": "node_name",
  2894. "description": "节点名称",
  2895. "type": "string"
  2896. },
  2897. {
  2898. "in": "query",
  2899. "name": "node_id",
  2900. "description": "节点ID",
  2901. "type": "string"
  2902. }
  2903. ]
  2904. }
  2905. },
  2906. "/scd/check/stat/level": {
  2907. "get": {
  2908. "tags": [
  2909. "scd_check_tools/controllersScreenController"
  2910. ],
  2911. "summary": "按校验错误等级统计校验结果",
  2912. "description": "按校验错误等级统计校验结果",
  2913. "parameters": [
  2914. {
  2915. "in": "query",
  2916. "name": "scd_id",
  2917. "description": "SCD文件ID",
  2918. "required": true,
  2919. "type": "integer",
  2920. "format": "int64"
  2921. },
  2922. {
  2923. "in": "query",
  2924. "name": "scd_name",
  2925. "description": "SCD文件名称",
  2926. "type": "string"
  2927. },
  2928. {
  2929. "in": "query",
  2930. "name": "scd_path",
  2931. "description": "SCD文件名称",
  2932. "type": "string"
  2933. },
  2934. {
  2935. "in": "query",
  2936. "name": "ied_name",
  2937. "description": "IED装置名称",
  2938. "type": "string"
  2939. },
  2940. {
  2941. "in": "query",
  2942. "name": "node_name",
  2943. "description": "节点名称",
  2944. "type": "string"
  2945. },
  2946. {
  2947. "in": "query",
  2948. "name": "node_id",
  2949. "description": "节点ID",
  2950. "type": "string"
  2951. }
  2952. ]
  2953. }
  2954. },
  2955. "/scd/check/sum/result": {
  2956. "get": {
  2957. "tags": [
  2958. "scd_check_tools/controllersScreenController"
  2959. ],
  2960. "summary": "获取指定SCD的汇总统计结果",
  2961. "description": "获取指定SCD的汇总统计结果",
  2962. "parameters": [
  2963. {
  2964. "in": "query",
  2965. "name": "scd_id",
  2966. "description": "SCD文件ID",
  2967. "required": true,
  2968. "type": "integer",
  2969. "format": "int64"
  2970. }
  2971. ]
  2972. }
  2973. },
  2974. "/scd/ied/editarea": {
  2975. "post": {
  2976. "tags": [
  2977. "scd_check_tools/controllersScreenController"
  2978. ],
  2979. "summary": "修改指定装置的所属间隔",
  2980. "description": "修改指定装置的所属间隔",
  2981. "parameters": [
  2982. {
  2983. "in": "query",
  2984. "name": "scd_id",
  2985. "description": "SCD文件ID",
  2986. "required": true,
  2987. "type": "integer",
  2988. "format": "int64"
  2989. },
  2990. {
  2991. "in": "query",
  2992. "name": "ied_name",
  2993. "description": "装置名称",
  2994. "required": true,
  2995. "type": "string"
  2996. },
  2997. {
  2998. "in": "query",
  2999. "name": "area_id",
  3000. "description": "间隔ID",
  3001. "required": true,
  3002. "type": "integer",
  3003. "format": "int64"
  3004. }
  3005. ]
  3006. }
  3007. },
  3008. "/scd/ied/typelist": {
  3009. "get": {
  3010. "tags": [
  3011. "scd_check_tools/controllersScreenController"
  3012. ],
  3013. "summary": "获取指定SCD下的IED类型信息",
  3014. "description": "获取指定SCD下的IED类型信息",
  3015. "parameters": [
  3016. {
  3017. "in": "query",
  3018. "name": "scd_id",
  3019. "description": "SCD文件ID",
  3020. "required": true,
  3021. "type": "integer",
  3022. "format": "int64"
  3023. }
  3024. ]
  3025. }
  3026. },
  3027. "/scd_check_tools/checkin/detail": {
  3028. "get": {
  3029. "tags": [
  3030. "scd_check_tools/controllersFlowController"
  3031. ],
  3032. "summary": "获取指定站的指定scd的签入详情",
  3033. "description": "获取指定站的指定scd的签入详情",
  3034. "parameters": [
  3035. {
  3036. "in": "query",
  3037. "name": "station_id",
  3038. "description": "变电站ID",
  3039. "required": true,
  3040. "type": "string"
  3041. },
  3042. {
  3043. "in": "query",
  3044. "name": "scd_name",
  3045. "description": "SCD名称",
  3046. "type": "string"
  3047. },
  3048. {
  3049. "in": "query",
  3050. "name": "scd_path",
  3051. "description": "SCD文件路径",
  3052. "type": "string"
  3053. },
  3054. {
  3055. "in": "query",
  3056. "name": "scd_id",
  3057. "description": "SCD文件ID。为空时scd_name和scd_path必填",
  3058. "type": "string"
  3059. }
  3060. ],
  3061. "responses": {
  3062. "200": {
  3063. "description": "成功",
  3064. "schema": {
  3065. "$ref": "#/definitions/ResultOK"
  3066. }
  3067. },
  3068. "500": {
  3069. "description": "{object} ResultError 失败"
  3070. }
  3071. }
  3072. }
  3073. },
  3074. "/scd_check_tools/comp/iedstat/type": {
  3075. "get": {
  3076. "tags": [
  3077. "scd_check_tools/controllersScdCompController"
  3078. ],
  3079. "summary": "指定装置差异对比结果分类统计",
  3080. "description": "指定装置差异对比结果分类统计",
  3081. "parameters": [
  3082. {
  3083. "in": "query",
  3084. "name": "comp_id",
  3085. "description": "差异比对记录ID",
  3086. "required": true,
  3087. "type": "integer",
  3088. "format": "int64"
  3089. },
  3090. {
  3091. "in": "query",
  3092. "name": "ied_name",
  3093. "description": "装置名称",
  3094. "type": "string"
  3095. },
  3096. {
  3097. "in": "query",
  3098. "name": "comptype",
  3099. "description": "差异类别。值为:i|d|u之一",
  3100. "type": "string"
  3101. }
  3102. ],
  3103. "responses": {
  3104. "200": {
  3105. "description": "成功",
  3106. "schema": {
  3107. "$ref": "#/definitions/ResultOK"
  3108. }
  3109. },
  3110. "500": {
  3111. "description": "status 失败"
  3112. }
  3113. }
  3114. }
  3115. },
  3116. "/scd_check_tools/comp/list": {
  3117. "get": {
  3118. "tags": [
  3119. "scd_check_tools/controllersScdCompController"
  3120. ],
  3121. "summary": "获取指定变电站的差异对比记录列表",
  3122. "description": "获取指定变电站的差异对比记录列表",
  3123. "parameters": [
  3124. {
  3125. "in": "query",
  3126. "name": "station_id",
  3127. "description": "变电站ID",
  3128. "required": true,
  3129. "type": "integer",
  3130. "format": "int64"
  3131. }
  3132. ],
  3133. "responses": {
  3134. "200": {
  3135. "description": "成功",
  3136. "schema": {
  3137. "$ref": "#/definitions/ResultOK"
  3138. }
  3139. },
  3140. "500": {
  3141. "description": "status 失败"
  3142. }
  3143. }
  3144. }
  3145. },
  3146. "/scd_check_tools/comp/result": {
  3147. "get": {
  3148. "tags": [
  3149. "scd_check_tools/controllersScdCompController"
  3150. ],
  3151. "summary": "获取指定差异对比的详细结果列表",
  3152. "description": "获取指定差异对比的详细结果列表",
  3153. "parameters": [
  3154. {
  3155. "in": "query",
  3156. "name": "comp_id",
  3157. "description": "差异比对记录ID",
  3158. "required": true,
  3159. "type": "integer",
  3160. "format": "int64"
  3161. },
  3162. {
  3163. "in": "query",
  3164. "name": "ied_name",
  3165. "description": "装置名称",
  3166. "type": "string"
  3167. },
  3168. {
  3169. "in": "query",
  3170. "name": "itemcode",
  3171. "description": "差异对象类型代码",
  3172. "type": "string"
  3173. }
  3174. ],
  3175. "responses": {
  3176. "200": {
  3177. "description": "成功",
  3178. "schema": {
  3179. "$ref": "#/definitions/ResultOK"
  3180. }
  3181. },
  3182. "500": {
  3183. "description": "status 失败"
  3184. }
  3185. }
  3186. }
  3187. },
  3188. "/scd_check_tools/comp/start": {
  3189. "post": {
  3190. "tags": [
  3191. "scd_check_tools/controllersScdCompController"
  3192. ],
  3193. "summary": "开始scd差异对比",
  3194. "description": "开始scd差异对比",
  3195. "parameters": [
  3196. {
  3197. "in": "query",
  3198. "name": "type",
  3199. "description": "对比的文件类型。值为scd\\ccd\\cid\\ccd_cid_scd\\icd_scd之一。",
  3200. "required": true,
  3201. "type": "string"
  3202. },
  3203. {
  3204. "in": "query",
  3205. "name": "comp_id",
  3206. "description": "差异比对记录ID。不为空或0时表示重新比对差异",
  3207. "type": "integer",
  3208. "format": "int64"
  3209. },
  3210. {
  3211. "in": "query",
  3212. "name": "station_id",
  3213. "description": "变电站ID",
  3214. "required": true,
  3215. "type": "integer",
  3216. "format": "int64"
  3217. },
  3218. {
  3219. "in": "query",
  3220. "name": "source_scd_id",
  3221. "description": "对比的基准SCD文件ID。type为scd时必填。",
  3222. "type": "integer",
  3223. "format": "int64"
  3224. },
  3225. {
  3226. "in": "query",
  3227. "name": "target_scd_id",
  3228. "description": "对比的参照SCD文件ID。type为scd时必填。",
  3229. "type": "integer",
  3230. "format": "int64"
  3231. },
  3232. {
  3233. "in": "query",
  3234. "name": "ids",
  3235. "description": "如果是2个非SCD对比文件时,需要对比的文件ID列表,使用逗号分隔。仅当type为ccd\\cid\\ccd_cid_scd\\icd_scd时有效",
  3236. "type": "string"
  3237. }
  3238. ],
  3239. "responses": {
  3240. "200": {
  3241. "description": "成功",
  3242. "schema": {
  3243. "$ref": "#/definitions/ResultOK"
  3244. }
  3245. },
  3246. "500": {
  3247. "description": "status 失败"
  3248. }
  3249. }
  3250. }
  3251. },
  3252. "/scd_check_tools/comp/stat/result": {
  3253. "get": {
  3254. "tags": [
  3255. "scd_check_tools/controllersScdCompController"
  3256. ],
  3257. "summary": "获取scd差异对比结果概览统计",
  3258. "description": "获取scd差异对比结果概览统计",
  3259. "parameters": [
  3260. {
  3261. "in": "query",
  3262. "name": "comp_id",
  3263. "description": "差异比对记录ID",
  3264. "required": true,
  3265. "type": "integer",
  3266. "format": "int64"
  3267. }
  3268. ],
  3269. "responses": {
  3270. "200": {
  3271. "description": "成功",
  3272. "schema": {
  3273. "$ref": "#/definitions/ResultOK"
  3274. }
  3275. },
  3276. "500": {
  3277. "description": "status 失败"
  3278. }
  3279. }
  3280. }
  3281. },
  3282. "/scd_check_tools/comp/tree": {
  3283. "get": {
  3284. "tags": [
  3285. "scd_check_tools/controllersScdCompController"
  3286. ],
  3287. "summary": "获取SCD校验对象树",
  3288. "description": "获取SCD校验对象树",
  3289. "parameters": [
  3290. {
  3291. "in": "query",
  3292. "name": "scd_id",
  3293. "description": "SCD文件ID",
  3294. "required": true,
  3295. "type": "integer",
  3296. "format": "int64"
  3297. },
  3298. {
  3299. "in": "query",
  3300. "name": "id",
  3301. "description": "对象ID",
  3302. "type": "integer",
  3303. "format": "int64"
  3304. },
  3305. {
  3306. "in": "query",
  3307. "name": "pid",
  3308. "description": "上级对象ID",
  3309. "type": "integer",
  3310. "format": "int64"
  3311. }
  3312. ],
  3313. "responses": {
  3314. "200": {
  3315. "description": "成功",
  3316. "schema": {
  3317. "$ref": "#/definitions/ResultOK"
  3318. }
  3319. },
  3320. "500": {
  3321. "description": "status 失败"
  3322. }
  3323. }
  3324. }
  3325. },
  3326. "/scd_check_tools/rule/list": {
  3327. "get": {
  3328. "tags": [
  3329. "scd_check_tools/controllersRuleController"
  3330. ],
  3331. "summary": "获取校验规则列表",
  3332. "description": "获取校验规则列表",
  3333. "parameters": [
  3334. {
  3335. "in": "query",
  3336. "name": "pageindex",
  3337. "description": "当前页码。默认为1",
  3338. "type": "integer",
  3339. "format": "int64"
  3340. },
  3341. {
  3342. "in": "query",
  3343. "name": "pagesize",
  3344. "description": "每页显示记录数。默认为20",
  3345. "type": "integer",
  3346. "format": "int64"
  3347. },
  3348. {
  3349. "in": "query",
  3350. "name": "id",
  3351. "description": "规则ID",
  3352. "type": "integer",
  3353. "format": "int64"
  3354. },
  3355. {
  3356. "in": "query",
  3357. "name": "enable",
  3358. "description": "是否启用。默认为全部",
  3359. "type": "integer",
  3360. "format": "int64"
  3361. },
  3362. {
  3363. "in": "query",
  3364. "name": "object_name",
  3365. "description": "规则的对象名称",
  3366. "type": "string"
  3367. },
  3368. {
  3369. "in": "query",
  3370. "name": "object_type",
  3371. "description": "规则的对象分类",
  3372. "type": "integer",
  3373. "format": "int64"
  3374. },
  3375. {
  3376. "in": "query",
  3377. "name": "alert_level",
  3378. "description": "规则的告警级别。值为error\\alert\\hint之一。",
  3379. "type": "string"
  3380. },
  3381. {
  3382. "in": "query",
  3383. "name": "apply_standard",
  3384. "description": "规则标准",
  3385. "type": "string"
  3386. }
  3387. ],
  3388. "responses": {
  3389. "200": {
  3390. "description": "成功",
  3391. "schema": {
  3392. "$ref": "#/definitions/ResultOK"
  3393. }
  3394. },
  3395. "500": {
  3396. "description": "status 失败"
  3397. }
  3398. }
  3399. }
  3400. },
  3401. "/scd_check_tools/rule/remove": {
  3402. "post": {
  3403. "tags": [
  3404. "scd_check_tools/controllersRuleController"
  3405. ],
  3406. "summary": "删除校验规则",
  3407. "description": "删除校验规则",
  3408. "parameters": [
  3409. {
  3410. "in": "formData",
  3411. "name": "id",
  3412. "description": "规则ID",
  3413. "required": true,
  3414. "type": "integer",
  3415. "format": "int64"
  3416. }
  3417. ],
  3418. "responses": {
  3419. "200": {
  3420. "description": "成功",
  3421. "schema": {
  3422. "$ref": "#/definitions/ResultOK"
  3423. }
  3424. },
  3425. "500": {
  3426. "description": "status 失败"
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/scd_check_tools/rule/reset": {
  3432. "post": {
  3433. "tags": [
  3434. "scd_check_tools/controllersRuleController"
  3435. ],
  3436. "summary": "重新校验指定scd",
  3437. "description": "重新校验指定scd",
  3438. "parameters": [
  3439. {
  3440. "in": "formData",
  3441. "name": "scd_id",
  3442. "description": "SCD文件ID",
  3443. "required": true,
  3444. "type": "integer",
  3445. "format": "int64"
  3446. }
  3447. ],
  3448. "responses": {
  3449. "200": {
  3450. "description": "成功",
  3451. "schema": {
  3452. "$ref": "#/definitions/ResultOK"
  3453. }
  3454. },
  3455. "500": {
  3456. "description": "status 失败"
  3457. }
  3458. }
  3459. }
  3460. },
  3461. "/scd_check_tools/rule/save": {
  3462. "post": {
  3463. "tags": [
  3464. "scd_check_tools/controllersRuleController"
  3465. ],
  3466. "summary": "保存校验规则",
  3467. "description": "保存校验规则",
  3468. "parameters": [
  3469. {
  3470. "in": "formData",
  3471. "name": "id",
  3472. "description": "规则ID。不为0时表示编辑",
  3473. "type": "integer",
  3474. "format": "int64"
  3475. },
  3476. {
  3477. "in": "formData",
  3478. "name": "enable",
  3479. "description": "是否启用。默认为全部",
  3480. "type": "integer",
  3481. "format": "int64"
  3482. },
  3483. {
  3484. "in": "formData",
  3485. "name": "object_name",
  3486. "description": "规则的对象名称",
  3487. "type": "string"
  3488. },
  3489. {
  3490. "in": "formData",
  3491. "name": "object_type",
  3492. "description": "规则的对象分类",
  3493. "type": "integer",
  3494. "format": "int64"
  3495. },
  3496. {
  3497. "in": "formData",
  3498. "name": "alert_level",
  3499. "description": "规则的告警级别。值为error\\alert\\hint之一。",
  3500. "type": "string"
  3501. },
  3502. {
  3503. "in": "formData",
  3504. "name": "apply_standard",
  3505. "description": "规则标准",
  3506. "type": "string"
  3507. }
  3508. ],
  3509. "responses": {
  3510. "200": {
  3511. "description": "成功",
  3512. "schema": {
  3513. "$ref": "#/definitions/ResultOK"
  3514. }
  3515. },
  3516. "500": {
  3517. "description": "status 失败"
  3518. }
  3519. }
  3520. }
  3521. },
  3522. "/scd_check_tools/stat/right": {
  3523. "get": {
  3524. "tags": [
  3525. "scd_check_tools/controllersStatController"
  3526. ],
  3527. "summary": "scd正确性分析",
  3528. "description": "scd正确性分析",
  3529. "parameters": [
  3530. {
  3531. "in": "query",
  3532. "name": "station_id",
  3533. "description": "变电站ID",
  3534. "required": true,
  3535. "type": "integer",
  3536. "format": "int64"
  3537. }
  3538. ],
  3539. "responses": {
  3540. "200": {
  3541. "description": "错误",
  3542. "schema": {
  3543. "$ref": "#/definitions/ResultError"
  3544. }
  3545. },
  3546. "500": {
  3547. "description": "status 失败"
  3548. }
  3549. }
  3550. }
  3551. },
  3552. "/screen/scd/agin_parse": {
  3553. "post": {
  3554. "tags": [
  3555. "scd_check_tools/controllersScreenController"
  3556. ],
  3557. "summary": "重新解析指定scd",
  3558. "description": "重新解析指定scd",
  3559. "parameters": [
  3560. {
  3561. "in": "formData",
  3562. "name": "scd_id",
  3563. "description": "SCD ID",
  3564. "required": true,
  3565. "type": "integer",
  3566. "format": "int64"
  3567. }
  3568. ],
  3569. "responses": {
  3570. "200": {
  3571. "description": "成功",
  3572. "schema": {
  3573. "$ref": "#/definitions/ResultOK"
  3574. }
  3575. },
  3576. "500": {
  3577. "description": "{object} ResultError 失败"
  3578. }
  3579. }
  3580. }
  3581. },
  3582. "/screen/scd/checktools/tree": {
  3583. "get": {
  3584. "tags": [
  3585. "scd_check_tools/controllersScreenController"
  3586. ],
  3587. "summary": "获取指定scd校验类型树",
  3588. "description": "获取指定scd校验类型树",
  3589. "parameters": [
  3590. {
  3591. "in": "query",
  3592. "name": "scd_id",
  3593. "description": "SCD文件ID",
  3594. "required": true,
  3595. "type": "integer",
  3596. "format": "int64"
  3597. },
  3598. {
  3599. "in": "query",
  3600. "name": "id",
  3601. "description": "节点ID",
  3602. "required": true,
  3603. "type": "integer",
  3604. "format": "int64"
  3605. },
  3606. {
  3607. "in": "query",
  3608. "name": "pid",
  3609. "description": "父节点ID",
  3610. "required": true,
  3611. "type": "integer",
  3612. "format": "int64"
  3613. },
  3614. {
  3615. "in": "query",
  3616. "name": "datatype",
  3617. "description": "节点类型",
  3618. "required": true,
  3619. "type": "string"
  3620. }
  3621. ],
  3622. "responses": {
  3623. "200": {
  3624. "description": "成功",
  3625. "schema": {
  3626. "$ref": "#/definitions/ResultOK"
  3627. }
  3628. },
  3629. "500": {
  3630. "description": "{object} ResultError 失败"
  3631. }
  3632. }
  3633. }
  3634. },
  3635. "/screen/scd/crc": {
  3636. "get": {
  3637. "tags": [
  3638. "scd_check_tools/controllersScreenController"
  3639. ],
  3640. "summary": "获取指定scd的crc校验结果",
  3641. "description": "获取指定scd的crc校验结果",
  3642. "parameters": [
  3643. {
  3644. "in": "query",
  3645. "name": "scd_id",
  3646. "description": "SCD文件ID",
  3647. "required": true,
  3648. "type": "integer",
  3649. "format": "int64"
  3650. }
  3651. ]
  3652. }
  3653. },
  3654. "/screen/scd/delete": {
  3655. "post": {
  3656. "tags": [
  3657. "scd_check_tools/controllersScreenController"
  3658. ],
  3659. "summary": "删除指定scd数据",
  3660. "description": "删除指定scd数据",
  3661. "parameters": [
  3662. {
  3663. "in": "formData",
  3664. "name": "id",
  3665. "description": "SCD文件ID",
  3666. "required": true,
  3667. "type": "integer",
  3668. "format": "int64"
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "成功",
  3674. "schema": {
  3675. "$ref": "#/definitions/ResultOK"
  3676. }
  3677. },
  3678. "500": {
  3679. "description": "{object} ResultError 失败"
  3680. }
  3681. }
  3682. }
  3683. },
  3684. "/screen/scd/ied/ctrlblock": {
  3685. "get": {
  3686. "tags": [
  3687. "scd_check_tools/controllersScreenController"
  3688. ],
  3689. "summary": "获取指定IED的控制块信息",
  3690. "description": "获取指定IED的控制块信息",
  3691. "parameters": [
  3692. {
  3693. "in": "query",
  3694. "name": "scd_id",
  3695. "description": "SCD文件ID",
  3696. "required": true,
  3697. "type": "integer",
  3698. "format": "int64"
  3699. },
  3700. {
  3701. "in": "query",
  3702. "name": "ied_name",
  3703. "description": "装置名称",
  3704. "required": true,
  3705. "type": "string"
  3706. }
  3707. ]
  3708. }
  3709. },
  3710. "/screen/scd/ied/dingzhi": {
  3711. "get": {
  3712. "tags": [
  3713. "scd_check_tools/controllersScreenController"
  3714. ],
  3715. "summary": "获取指定IED的定值条目",
  3716. "description": "获取指定IED的定值条目",
  3717. "parameters": [
  3718. {
  3719. "in": "query",
  3720. "name": "scd_id",
  3721. "description": "SCD文件ID",
  3722. "required": true,
  3723. "type": "integer",
  3724. "format": "int64"
  3725. },
  3726. {
  3727. "in": "query",
  3728. "name": "ied_name",
  3729. "description": "IED装置名称",
  3730. "required": true,
  3731. "type": "string"
  3732. }
  3733. ]
  3734. }
  3735. },
  3736. "/screen/scd/ied/goose_ctrlblock/receive": {
  3737. "get": {
  3738. "tags": [
  3739. "scd_check_tools/controllersScreenController"
  3740. ],
  3741. "summary": "获取指定IED的接收GOOSE控制块端子列表",
  3742. "description": "获取指定IED的接收GOOSE控制块端子列表",
  3743. "parameters": [
  3744. {
  3745. "in": "query",
  3746. "name": "scd_id",
  3747. "description": "SCD文件ID",
  3748. "required": true,
  3749. "type": "integer",
  3750. "format": "int64"
  3751. },
  3752. {
  3753. "in": "query",
  3754. "name": "ied_name",
  3755. "description": "装置名称",
  3756. "required": true,
  3757. "type": "string"
  3758. }
  3759. ]
  3760. }
  3761. },
  3762. "/screen/scd/ied/goose_ctrlblock/sendfcdalist": {
  3763. "get": {
  3764. "tags": [
  3765. "scd_check_tools/controllersScreenController"
  3766. ],
  3767. "summary": "获取指定IED的指定GOOSE控制块端子列表",
  3768. "description": "获取指定IED的指定GOOSE控制块端子列表",
  3769. "parameters": [
  3770. {
  3771. "in": "query",
  3772. "name": "scd_id",
  3773. "description": "SCD文件ID",
  3774. "required": true,
  3775. "type": "integer",
  3776. "format": "int64"
  3777. },
  3778. {
  3779. "in": "query",
  3780. "name": "ied_name",
  3781. "description": "装置名称",
  3782. "required": true,
  3783. "type": "string"
  3784. },
  3785. {
  3786. "in": "query",
  3787. "name": "ctrlid",
  3788. "description": "GOOSE控制块ID",
  3789. "required": true,
  3790. "type": "integer",
  3791. "format": "int64"
  3792. }
  3793. ]
  3794. }
  3795. },
  3796. "/screen/scd/ied/inputs": {
  3797. "get": {
  3798. "tags": [
  3799. "scd_check_tools/controllersScreenController"
  3800. ],
  3801. "summary": "获取IED的虚端子关系",
  3802. "description": "获取IED的虚端子关系",
  3803. "parameters": [
  3804. {
  3805. "in": "query",
  3806. "name": "scd_id",
  3807. "description": "SCD文件ID",
  3808. "required": true,
  3809. "type": "integer",
  3810. "format": "int64"
  3811. },
  3812. {
  3813. "in": "query",
  3814. "name": "ied_name",
  3815. "description": "主装置名称",
  3816. "required": true,
  3817. "type": "string"
  3818. },
  3819. {
  3820. "in": "query",
  3821. "name": "m_ied_name",
  3822. "description": "输出IED装置名称",
  3823. "required": true,
  3824. "type": "string"
  3825. },
  3826. {
  3827. "in": "query",
  3828. "name": "s_ied_name",
  3829. "description": "输入IED装置名称",
  3830. "required": true,
  3831. "type": "string"
  3832. },
  3833. {
  3834. "in": "query",
  3835. "name": "m_ctrlid",
  3836. "description": "输出控制块ID",
  3837. "required": true,
  3838. "type": "string"
  3839. },
  3840. {
  3841. "in": "query",
  3842. "name": "s_ctrlid",
  3843. "description": "输入控制块ID",
  3844. "required": true,
  3845. "type": "string"
  3846. }
  3847. ]
  3848. }
  3849. },
  3850. "/screen/scd/ied/netaddr": {
  3851. "get": {
  3852. "tags": [
  3853. "scd_check_tools/controllersScreenController"
  3854. ],
  3855. "summary": "获取SCD中配置的所有设备网络地址",
  3856. "description": "获取SCD中配置的所有设备网络地址",
  3857. "parameters": [
  3858. {
  3859. "in": "query",
  3860. "name": "scd_id",
  3861. "description": "SCD文件ID",
  3862. "required": true,
  3863. "type": "integer",
  3864. "format": "int64"
  3865. }
  3866. ]
  3867. }
  3868. },
  3869. "/screen/scd/ied/network/info": {
  3870. "get": {
  3871. "tags": [
  3872. "scd_check_tools/controllersScreenController"
  3873. ],
  3874. "summary": "获取IED网络配置信息",
  3875. "description": "获取IED网络配置信息",
  3876. "parameters": [
  3877. {
  3878. "in": "query",
  3879. "name": "scd_id",
  3880. "description": "SCD文件ID",
  3881. "required": true,
  3882. "type": "integer",
  3883. "format": "int64"
  3884. },
  3885. {
  3886. "in": "query",
  3887. "name": "ied_name",
  3888. "description": "装置名称",
  3889. "required": true,
  3890. "type": "string"
  3891. }
  3892. ]
  3893. }
  3894. },
  3895. "/screen/scd/ied/pointtable": {
  3896. "get": {
  3897. "tags": [
  3898. "scd_check_tools/controllersScreenController"
  3899. ],
  3900. "summary": "获取指定IED的信息点表",
  3901. "description": "获取指定IED的定值条目",
  3902. "parameters": [
  3903. {
  3904. "in": "query",
  3905. "name": "scd_id",
  3906. "description": "SCD文件ID",
  3907. "required": true,
  3908. "type": "integer",
  3909. "format": "int64"
  3910. },
  3911. {
  3912. "in": "query",
  3913. "name": "ied_name",
  3914. "description": "IED装置名称",
  3915. "required": true,
  3916. "type": "string"
  3917. }
  3918. ]
  3919. }
  3920. },
  3921. "/screen/scd/ied/ref/ctrlblock": {
  3922. "get": {
  3923. "tags": [
  3924. "scd_check_tools/controllersScreenController"
  3925. ],
  3926. "summary": "获取指定IED的关联IED控制块信息",
  3927. "description": "获取指定IED的关联IED控制块信息",
  3928. "parameters": [
  3929. {
  3930. "in": "query",
  3931. "name": "scd_id",
  3932. "description": "SCD文件ID",
  3933. "required": true,
  3934. "type": "integer",
  3935. "format": "int64"
  3936. },
  3937. {
  3938. "in": "query",
  3939. "name": "ied_name",
  3940. "description": "装置名称",
  3941. "required": true,
  3942. "type": "string"
  3943. }
  3944. ]
  3945. }
  3946. },
  3947. "/screen/scd/ied/relation": {
  3948. "get": {
  3949. "tags": [
  3950. "scd_check_tools/controllersScreenController"
  3951. ],
  3952. "summary": "获取IED关联关系",
  3953. "description": "获取IED关联关系",
  3954. "parameters": [
  3955. {
  3956. "in": "query",
  3957. "name": "scd_id",
  3958. "description": "SCD文件ID",
  3959. "required": true,
  3960. "type": "integer",
  3961. "format": "int64"
  3962. },
  3963. {
  3964. "in": "query",
  3965. "name": "ied_name",
  3966. "description": "装置名称",
  3967. "required": true,
  3968. "type": "string"
  3969. }
  3970. ]
  3971. }
  3972. },
  3973. "/screen/scd/ied/smv_ctrlblock/receive": {
  3974. "get": {
  3975. "tags": [
  3976. "scd_check_tools/controllersScreenController"
  3977. ],
  3978. "summary": "获取指定IED的接收SMV控制块端子列表",
  3979. "description": "获取指定IED的接收SMV控制块端子列表",
  3980. "parameters": [
  3981. {
  3982. "in": "query",
  3983. "name": "scd_id",
  3984. "description": "SCD文件ID",
  3985. "required": true,
  3986. "type": "integer",
  3987. "format": "int64"
  3988. },
  3989. {
  3990. "in": "query",
  3991. "name": "ied_name",
  3992. "description": "装置名称",
  3993. "required": true,
  3994. "type": "string"
  3995. }
  3996. ]
  3997. }
  3998. },
  3999. "/screen/scd/ied/smv_ctrlblock/sendfcdalist": {
  4000. "get": {
  4001. "tags": [
  4002. "scd_check_tools/controllersScreenController"
  4003. ],
  4004. "summary": "获取指定IED的指定SMV控制块端子列表",
  4005. "description": "获取指定IED的指定SMV控制块端子列表",
  4006. "parameters": [
  4007. {
  4008. "in": "query",
  4009. "name": "scd_id",
  4010. "description": "SCD文件ID",
  4011. "required": true,
  4012. "type": "integer",
  4013. "format": "int64"
  4014. },
  4015. {
  4016. "in": "query",
  4017. "name": "ied_name",
  4018. "description": "装置名称",
  4019. "required": true,
  4020. "type": "string"
  4021. },
  4022. {
  4023. "in": "query",
  4024. "name": "ctrlid",
  4025. "description": "SMV控制块ID",
  4026. "required": true,
  4027. "type": "integer",
  4028. "format": "int64"
  4029. }
  4030. ]
  4031. }
  4032. },
  4033. "/screen/scd/ied/sourcexml": {
  4034. "get": {
  4035. "tags": [
  4036. "scd_check_tools/controllersScreenController"
  4037. ],
  4038. "summary": "获取指定IED的源XML",
  4039. "description": "获取指定IED的源XML",
  4040. "parameters": [
  4041. {
  4042. "in": "query",
  4043. "name": "scd_id",
  4044. "description": "SCD文件ID",
  4045. "required": true,
  4046. "type": "integer",
  4047. "format": "int64"
  4048. },
  4049. {
  4050. "in": "query",
  4051. "name": "ied_name",
  4052. "description": "IED装置名称",
  4053. "required": true,
  4054. "type": "string"
  4055. }
  4056. ]
  4057. }
  4058. },
  4059. "/screen/scd/info": {
  4060. "get": {
  4061. "tags": [
  4062. "scd_check_tools/controllersScreenController"
  4063. ],
  4064. "summary": "获取scd详细信息",
  4065. "description": "获取scd详细信息",
  4066. "parameters": [
  4067. {
  4068. "in": "query",
  4069. "name": "scd_id",
  4070. "description": "SCD文件ID",
  4071. "required": true,
  4072. "type": "integer",
  4073. "format": "int64"
  4074. },
  4075. {
  4076. "in": "query",
  4077. "name": "scdname",
  4078. "description": "SCD名称",
  4079. "type": "string"
  4080. },
  4081. {
  4082. "in": "query",
  4083. "name": "scdpath",
  4084. "description": "SCD路径",
  4085. "type": "string"
  4086. }
  4087. ],
  4088. "responses": {
  4089. "200": {
  4090. "description": "成功",
  4091. "schema": {
  4092. "$ref": "#/definitions/ResultOK"
  4093. }
  4094. },
  4095. "500": {
  4096. "description": "{object} ResultError 失败"
  4097. }
  4098. }
  4099. }
  4100. },
  4101. "/screen/scd/ldevice/list": {
  4102. "get": {
  4103. "tags": [
  4104. "scd_check_tools/controllersScreenController"
  4105. ],
  4106. "summary": "获取指定accessPoint下的Ldevice节点列表",
  4107. "description": "获取指定accessPoint下的Ldevice节点列表",
  4108. "parameters": [
  4109. {
  4110. "in": "query",
  4111. "name": "scd_id",
  4112. "description": "SCD文件ID",
  4113. "required": true,
  4114. "type": "integer",
  4115. "format": "int64"
  4116. },
  4117. {
  4118. "in": "query",
  4119. "name": "accessPointId",
  4120. "description": "访问点ID",
  4121. "required": true,
  4122. "type": "integer",
  4123. "format": "int64"
  4124. }
  4125. ]
  4126. }
  4127. },
  4128. "/screen/scd/line/sourcexml": {
  4129. "get": {
  4130. "tags": [
  4131. "scd_check_tools/controllersScreenController"
  4132. ],
  4133. "summary": "获取指定行号的源XML",
  4134. "description": "获取指定行号的源XML,每次获取指定行的前后各100行源数据",
  4135. "parameters": [
  4136. {
  4137. "in": "query",
  4138. "name": "scd_id",
  4139. "description": "SCD文件ID",
  4140. "required": true,
  4141. "type": "integer",
  4142. "format": "int64"
  4143. },
  4144. {
  4145. "in": "query",
  4146. "name": "lineno",
  4147. "description": "行号",
  4148. "required": true,
  4149. "type": "integer",
  4150. "format": "int64"
  4151. }
  4152. ]
  4153. }
  4154. },
  4155. "/screen/scd/list": {
  4156. "get": {
  4157. "tags": [
  4158. "scd_check_tools/controllersScreenController"
  4159. ],
  4160. "summary": "获取scd列表",
  4161. "description": "获取scd列表",
  4162. "parameters": [
  4163. {
  4164. "in": "query",
  4165. "name": "stationid",
  4166. "description": "变电站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": "每页显示数据数。默认为50",
  4183. "required": true,
  4184. "type": "integer",
  4185. "format": "int64"
  4186. },
  4187. {
  4188. "in": "query",
  4189. "name": "name",
  4190. "description": "SCD名称",
  4191. "type": "string"
  4192. },
  4193. {
  4194. "in": "query",
  4195. "name": "enable",
  4196. "description": "是否在运版SCD",
  4197. "type": "integer",
  4198. "format": "int64"
  4199. },
  4200. {
  4201. "in": "query",
  4202. "name": "ischeckinscd",
  4203. "description": "是否管控scd",
  4204. "type": "integer",
  4205. "format": "int64"
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "成功",
  4211. "schema": {
  4212. "$ref": "#/definitions/ResultOK"
  4213. }
  4214. },
  4215. "500": {
  4216. "description": "{object} ResultError 失败"
  4217. }
  4218. }
  4219. }
  4220. },
  4221. "/screen/scd/node/attrs": {
  4222. "get": {
  4223. "tags": [
  4224. "scd_check_tools/controllersScreenController"
  4225. ],
  4226. "summary": "获取scd节点属性",
  4227. "description": "获取scd节点属性",
  4228. "parameters": [
  4229. {
  4230. "in": "query",
  4231. "name": "scd_id",
  4232. "description": "SCD文件ID",
  4233. "required": true,
  4234. "type": "integer",
  4235. "format": "int64"
  4236. },
  4237. {
  4238. "in": "query",
  4239. "name": "node_id",
  4240. "description": "SCD节点ID",
  4241. "required": true,
  4242. "type": "integer",
  4243. "format": "int64"
  4244. },
  4245. {
  4246. "in": "query",
  4247. "name": "ied_name",
  4248. "description": "SCD装置名称",
  4249. "type": "string"
  4250. }
  4251. ]
  4252. }
  4253. },
  4254. "/screen/scd/node/children/stat": {
  4255. "get": {
  4256. "tags": [
  4257. "scd_check_tools/controllersScreenController"
  4258. ],
  4259. "summary": "统计指定节点的下级节点类型及数量",
  4260. "description": "统计指定节点的下级节点类型及数量",
  4261. "parameters": [
  4262. {
  4263. "in": "query",
  4264. "name": "scd_id",
  4265. "description": "SCD文件ID",
  4266. "required": true,
  4267. "type": "integer",
  4268. "format": "int64"
  4269. },
  4270. {
  4271. "in": "query",
  4272. "name": "node_id",
  4273. "description": "SCD节点ID",
  4274. "required": true,
  4275. "type": "integer",
  4276. "format": "int64"
  4277. }
  4278. ]
  4279. }
  4280. },
  4281. "/screen/scd/node/list": {
  4282. "get": {
  4283. "tags": [
  4284. "scd_check_tools/controllersScreenController"
  4285. ],
  4286. "summary": "获取scd节点列表",
  4287. "description": "获取scd节点列表",
  4288. "parameters": [
  4289. {
  4290. "in": "query",
  4291. "name": "scd_id",
  4292. "description": "SCD文件ID",
  4293. "required": true,
  4294. "type": "integer",
  4295. "format": "int64"
  4296. },
  4297. {
  4298. "in": "query",
  4299. "name": "pageno",
  4300. "description": "当前页码。默认为1",
  4301. "required": true,
  4302. "type": "integer",
  4303. "format": "int64"
  4304. },
  4305. {
  4306. "in": "query",
  4307. "name": "pagesize",
  4308. "description": "每页的数据条数。默认为20",
  4309. "required": true,
  4310. "type": "integer",
  4311. "format": "int64"
  4312. },
  4313. {
  4314. "in": "query",
  4315. "name": "parent_node_id",
  4316. "description": "父节点ID",
  4317. "type": "integer",
  4318. "format": "int64"
  4319. },
  4320. {
  4321. "in": "query",
  4322. "name": "name",
  4323. "description": "节点Name",
  4324. "type": "string"
  4325. },
  4326. {
  4327. "in": "query",
  4328. "name": "ied_name",
  4329. "description": "装置Name",
  4330. "type": "string"
  4331. }
  4332. ]
  4333. }
  4334. },
  4335. "/screen/scd/parse/step1": {
  4336. "post": {
  4337. "tags": [
  4338. "scd_check_tools/controllersScreenController"
  4339. ],
  4340. "summary": "解析指定scd的间隔及装置",
  4341. "description": "解析指定scd的间隔及装置,该接口不会进行校验及其他分析",
  4342. "parameters": [
  4343. {
  4344. "in": "formData",
  4345. "name": "station_id",
  4346. "description": "变电站ID",
  4347. "required": true,
  4348. "type": "integer",
  4349. "format": "int64"
  4350. },
  4351. {
  4352. "in": "formData",
  4353. "name": "scd_path",
  4354. "description": "SCD文件路径",
  4355. "required": true,
  4356. "type": "string"
  4357. },
  4358. {
  4359. "in": "formData",
  4360. "name": "scd_name",
  4361. "description": "SCD文件名称",
  4362. "required": true,
  4363. "type": "string"
  4364. }
  4365. ],
  4366. "responses": {
  4367. "200": {
  4368. "description": "成功",
  4369. "schema": {
  4370. "$ref": "#/definitions/ResultOK"
  4371. }
  4372. },
  4373. "500": {
  4374. "description": "{object} ResultError 失败"
  4375. }
  4376. }
  4377. }
  4378. },
  4379. "/screen/scd/parse/step2": {
  4380. "post": {
  4381. "tags": [
  4382. "scd_check_tools/controllersScreenController"
  4383. ],
  4384. "summary": "对指定scd进行校验及分析",
  4385. "description": "对指定scd进行校验及分析",
  4386. "parameters": [
  4387. {
  4388. "in": "formData",
  4389. "name": "scd_id",
  4390. "description": "SCD ID",
  4391. "required": true,
  4392. "type": "integer",
  4393. "format": "int64"
  4394. }
  4395. ],
  4396. "responses": {
  4397. "200": {
  4398. "description": "成功",
  4399. "schema": {
  4400. "$ref": "#/definitions/ResultOK"
  4401. }
  4402. },
  4403. "500": {
  4404. "description": "{object} ResultError 失败"
  4405. }
  4406. }
  4407. }
  4408. },
  4409. "/screen/scd/tmp_parse": {
  4410. "post": {
  4411. "tags": [
  4412. "scd_check_tools/controllersScreenController"
  4413. ],
  4414. "summary": "临时scd解析",
  4415. "description": "临时scd解析",
  4416. "parameters": [
  4417. {
  4418. "in": "formData",
  4419. "name": "station_id",
  4420. "description": "变电站ID",
  4421. "required": true,
  4422. "type": "integer",
  4423. "format": "int64"
  4424. },
  4425. {
  4426. "in": "formData",
  4427. "name": "scdname",
  4428. "description": "SCD名称",
  4429. "type": "string"
  4430. },
  4431. {
  4432. "in": "formData",
  4433. "name": "scdpath",
  4434. "description": "SCD路径",
  4435. "type": "string"
  4436. }
  4437. ],
  4438. "responses": {
  4439. "200": {
  4440. "description": "成功",
  4441. "schema": {
  4442. "$ref": "#/definitions/ResultOK"
  4443. }
  4444. },
  4445. "500": {
  4446. "description": "{object} ResultError 失败"
  4447. }
  4448. }
  4449. }
  4450. },
  4451. "/screen/scd/unlock": {
  4452. "post": {
  4453. "tags": [
  4454. "scd_check_tools/controllersScreenController"
  4455. ],
  4456. "summary": "强制解除scd文件锁定状态",
  4457. "description": "强制解除scd文件锁定状态",
  4458. "parameters": [
  4459. {
  4460. "in": "formData",
  4461. "name": "scd_id",
  4462. "description": "SCD文件ID",
  4463. "required": true,
  4464. "type": "integer",
  4465. "format": "int64"
  4466. },
  4467. {
  4468. "in": "formData",
  4469. "name": "flow_run_id",
  4470. "description": "签入流程ID",
  4471. "required": true,
  4472. "type": "integer",
  4473. "format": "int64"
  4474. }
  4475. ],
  4476. "responses": {
  4477. "200": {
  4478. "description": "成功",
  4479. "schema": {
  4480. "$ref": "#/definitions/ResultOK"
  4481. }
  4482. },
  4483. "500": {
  4484. "description": "{object} ResultError 失败"
  4485. }
  4486. }
  4487. }
  4488. },
  4489. "/searchUserInfo": {
  4490. "get": {
  4491. "tags": [
  4492. "scd_check_tools/controllersApiController"
  4493. ],
  4494. "summary": "搜索查询用户",
  4495. "description": "查询用户",
  4496. "parameters": [
  4497. {
  4498. "in": "query",
  4499. "name": "name",
  4500. "description": "姓名",
  4501. "type": "integer",
  4502. "format": "int64"
  4503. },
  4504. {
  4505. "in": "query",
  4506. "name": "pageindex",
  4507. "description": "分页页码,默认为1",
  4508. "type": "integer",
  4509. "format": "int64"
  4510. },
  4511. {
  4512. "in": "query",
  4513. "name": "pagesize",
  4514. "description": "每页最大记录数,默认为20",
  4515. "type": "integer",
  4516. "format": "int64"
  4517. },
  4518. {
  4519. "in": "query",
  4520. "name": "area_id",
  4521. "description": "区域ID",
  4522. "type": "integer",
  4523. "format": "int64"
  4524. },
  4525. {
  4526. "in": "query",
  4527. "name": "role_id",
  4528. "description": "角色ID",
  4529. "type": "integer",
  4530. "format": "int64"
  4531. }
  4532. ],
  4533. "responses": {
  4534. "200": {
  4535. "description": "成功",
  4536. "schema": {
  4537. "$ref": "#/definitions/WarpOK"
  4538. }
  4539. },
  4540. "500": {
  4541. "description": "{object} WarpError 失败"
  4542. }
  4543. }
  4544. }
  4545. },
  4546. "/sys/alarm/list": {
  4547. "get": {
  4548. "tags": [
  4549. "scd_check_tools/controllersApiController"
  4550. ],
  4551. "summary": "获取系统告警列表",
  4552. "description": "获取系统告警列表",
  4553. "parameters": [
  4554. {
  4555. "in": "query",
  4556. "name": "pageindex",
  4557. "description": "当前查询的分页页码,默认为1",
  4558. "type": "integer",
  4559. "format": "int64"
  4560. },
  4561. {
  4562. "in": "query",
  4563. "name": "pagesize",
  4564. "description": "每页显示的数据条数,默认为20",
  4565. "type": "integer",
  4566. "format": "int64"
  4567. },
  4568. {
  4569. "in": "query",
  4570. "name": "enddate",
  4571. "description": "查询条件:结束日期",
  4572. "type": "string"
  4573. },
  4574. {
  4575. "in": "query",
  4576. "name": "startdate",
  4577. "description": "查询条件:开始日期",
  4578. "type": "string"
  4579. },
  4580. {
  4581. "in": "query",
  4582. "name": "eventtype",
  4583. "description": "查询条件:事件类型。关联系统字典代码log_eventtype。",
  4584. "type": "integer",
  4585. "format": "int64"
  4586. },
  4587. {
  4588. "in": "query",
  4589. "name": "alarmtype",
  4590. "description": "查询条件:告警类型。值为disk|cpu|mem之一。",
  4591. "type": "string"
  4592. },
  4593. {
  4594. "in": "query",
  4595. "name": "description",
  4596. "description": "查询条件:告警内容。模糊查询",
  4597. "type": "string"
  4598. }
  4599. ],
  4600. "responses": {
  4601. "200": {
  4602. "description": "成功",
  4603. "schema": {
  4604. "$ref": "#/definitions/ResultOK"
  4605. }
  4606. },
  4607. "500": {
  4608. "description": "{object} ResultError 失败"
  4609. }
  4610. }
  4611. }
  4612. },
  4613. "/sys/init": {
  4614. "post": {
  4615. "tags": [
  4616. "scd_check_tools/controllersApiController"
  4617. ],
  4618. "summary": "初始化系统数据"
  4619. }
  4620. },
  4621. "/task/list": {
  4622. "get": {
  4623. "tags": [
  4624. "scd_check_tools/controllersTaskController"
  4625. ],
  4626. "summary": "查询检测任务",
  4627. "description": "查询检测任务。支持任务名称、检测状态等过滤条件",
  4628. "parameters": [
  4629. {
  4630. "in": "query",
  4631. "name": "pageno",
  4632. "description": "当前页码。默认为1",
  4633. "required": true,
  4634. "type": "integer",
  4635. "format": "int64"
  4636. },
  4637. {
  4638. "in": "query",
  4639. "name": "pagesize",
  4640. "description": "每页显示数据数。默认为20",
  4641. "required": true,
  4642. "type": "integer",
  4643. "format": "int64"
  4644. },
  4645. {
  4646. "in": "query",
  4647. "name": "id",
  4648. "description": "任务ID",
  4649. "type": "integer",
  4650. "format": "int64"
  4651. },
  4652. {
  4653. "in": "query",
  4654. "name": "station_id",
  4655. "description": "变电站ID",
  4656. "type": "integer",
  4657. "format": "int64"
  4658. },
  4659. {
  4660. "in": "query",
  4661. "name": "name",
  4662. "description": "名称",
  4663. "type": "string"
  4664. },
  4665. {
  4666. "in": "query",
  4667. "name": "start_time",
  4668. "description": "检测开始日期。格式:yyyy-mm-dd",
  4669. "type": "string"
  4670. },
  4671. {
  4672. "in": "query",
  4673. "name": "end_time",
  4674. "description": "检测结束日期。格式:yyyy-mm-dd",
  4675. "type": "string"
  4676. },
  4677. {
  4678. "in": "query",
  4679. "name": "state",
  4680. "description": "检测状态。空:全部 0:未检查 1:检测中 2:检测结束 3:异常中断",
  4681. "type": "integer",
  4682. "format": "int64"
  4683. }
  4684. ],
  4685. "responses": {
  4686. "200": {
  4687. "description": "成功",
  4688. "schema": {
  4689. "$ref": "#/definitions/ResultOK"
  4690. }
  4691. },
  4692. "500": {
  4693. "description": "{object} ResultError 失败"
  4694. }
  4695. }
  4696. }
  4697. },
  4698. "/task/save": {
  4699. "post": {
  4700. "tags": [
  4701. "scd_check_tools/controllersTaskController"
  4702. ],
  4703. "summary": "创建新的检测任务",
  4704. "description": "创建新的检测任务",
  4705. "parameters": [
  4706. {
  4707. "in": "formData",
  4708. "name": "id",
  4709. "description": "任务ID",
  4710. "type": "integer",
  4711. "format": "int64"
  4712. }
  4713. ],
  4714. "responses": {
  4715. "200": {
  4716. "description": "成功",
  4717. "schema": {
  4718. "$ref": "#/definitions/ResultOK"
  4719. }
  4720. },
  4721. "500": {
  4722. "description": "{object} ResultError 失败"
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/task/start": {
  4728. "post": {
  4729. "tags": [
  4730. "scd_check_tools/controllersTaskController"
  4731. ],
  4732. "summary": "开始进行检测",
  4733. "description": "开始进行检测",
  4734. "parameters": [
  4735. {
  4736. "in": "formData",
  4737. "name": "id",
  4738. "description": "检测任务ID",
  4739. "required": true,
  4740. "type": "integer",
  4741. "format": "int64"
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "成功",
  4747. "schema": {
  4748. "$ref": "#/definitions/ResultOK"
  4749. }
  4750. },
  4751. "500": {
  4752. "description": "{object} ResultError 失败"
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/task/stop": {
  4758. "post": {
  4759. "tags": [
  4760. "scd_check_tools/controllersTaskController"
  4761. ],
  4762. "summary": "取消或者终止检测",
  4763. "description": "取消或者终止检测",
  4764. "parameters": [
  4765. {
  4766. "in": "formData",
  4767. "name": "id",
  4768. "description": "检测任务ID",
  4769. "required": true,
  4770. "type": "integer",
  4771. "format": "int64"
  4772. }
  4773. ],
  4774. "responses": {
  4775. "200": {
  4776. "description": "成功",
  4777. "schema": {
  4778. "$ref": "#/definitions/ResultOK"
  4779. }
  4780. },
  4781. "500": {
  4782. "description": "{object} ResultError 失败"
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/test": {
  4788. "get": {
  4789. "tags": [
  4790. "scd_check_tools/controllersTestController"
  4791. ],
  4792. "summary": "这是一个测试接口",
  4793. "description": "这是一个测试接口"
  4794. }
  4795. },
  4796. "/uploadfile": {
  4797. "post": {
  4798. "tags": [
  4799. "scd_check_tools/controllersAttachmentController"
  4800. ],
  4801. "summary": "上传文件",
  4802. "description": "上传文件",
  4803. "parameters": [
  4804. {
  4805. "in": "formData",
  4806. "name": "file",
  4807. "description": "文件流",
  4808. "required": true,
  4809. "type": "file"
  4810. },
  4811. {
  4812. "in": "formData",
  4813. "name": "station_id",
  4814. "description": "变电站ID",
  4815. "required": true,
  4816. "type": "integer",
  4817. "format": "int64"
  4818. },
  4819. {
  4820. "in": "formData",
  4821. "name": "is_checkin",
  4822. "description": "是否是管控文档",
  4823. "type": "integer",
  4824. "format": "int64"
  4825. },
  4826. {
  4827. "in": "formData",
  4828. "name": "data_type",
  4829. "description": "业务类型。值为:a_scd|ccd|icd|cid|空。",
  4830. "type": "string"
  4831. },
  4832. {
  4833. "in": "formData",
  4834. "name": "attachment_type",
  4835. "description": "文件类别。值关联系统字典file_types或者为空。",
  4836. "type": "string"
  4837. }
  4838. ],
  4839. "responses": {
  4840. "200": {
  4841. "description": "成功",
  4842. "schema": {
  4843. "$ref": "#/definitions/ResultOK"
  4844. }
  4845. },
  4846. "500": {
  4847. "description": "{object} ResultError 失败"
  4848. }
  4849. }
  4850. }
  4851. },
  4852. "/version/check_client": {
  4853. "get": {
  4854. "tags": [
  4855. "scd_check_tools/upgradeVersionController"
  4856. ],
  4857. "summary": "获取最新客户端版本下载地址"
  4858. }
  4859. },
  4860. "/version/isnew": {
  4861. "get": {
  4862. "tags": [
  4863. "scd_check_tools/upgradeVersionController"
  4864. ],
  4865. "summary": "检查是否有新的客户端版本"
  4866. }
  4867. },
  4868. "expTableData": {
  4869. "post": {
  4870. "tags": [
  4871. "scd_check_tools/controllersApiController"
  4872. ],
  4873. "summary": "Excel数据导出",
  4874. "description": "Excel数据导出。导出成功时将返回导出文件的下载地址。",
  4875. "parameters": [
  4876. {
  4877. "in": "query",
  4878. "name": "code",
  4879. "description": "业务类型。值为:scd-comp-result(差异对比结果)\\scl-check-result(SCL校验结果)之一",
  4880. "required": true,
  4881. "type": "string"
  4882. },
  4883. {
  4884. "in": "query",
  4885. "name": "caption",
  4886. "description": "数据标题",
  4887. "type": "string"
  4888. },
  4889. {
  4890. "in": "query",
  4891. "name": "expcols",
  4892. "description": "导出的数据列,与expcolnames一一对应。从个数据列之间使用逗号分隔。未设置时将导出业务对应的所有列",
  4893. "type": "string"
  4894. },
  4895. {
  4896. "in": "query",
  4897. "name": "expcolnames",
  4898. "description": "导出的数据列对应的名称,与expcols一一一对应。从个数据列名之间使用逗号分隔。未设置时将导出业务对应的所有列",
  4899. "type": "string"
  4900. }
  4901. ],
  4902. "responses": {
  4903. "200": {
  4904. "description": "成功",
  4905. "schema": {
  4906. "$ref": "#/definitions/ResultOK"
  4907. }
  4908. },
  4909. "500": {
  4910. "description": "{object} ResultError 失败"
  4911. }
  4912. }
  4913. }
  4914. }
  4915. },
  4916. "definitions": {
  4917. "ResultError": {
  4918. "title": "ResultError",
  4919. "type": "object"
  4920. },
  4921. "ResultOK": {
  4922. "title": "ResultOK",
  4923. "type": "object"
  4924. },
  4925. "WarpOK": {
  4926. "title": "WarpOK",
  4927. "type": "object"
  4928. }
  4929. },
  4930. "tags": [
  4931. {
  4932. "name": "scd_check_tools/controllersApiController",
  4933. "description": "基础功能服务\n"
  4934. },
  4935. {
  4936. "name": "scd_check_tools/controllersTestController",
  4937. "description": "测试\n"
  4938. },
  4939. {
  4940. "name": "scd_check_tools/controllersExcelController",
  4941. "description": "文件/附件服务\n"
  4942. },
  4943. {
  4944. "name": "scd_check_tools/controllersScreenController",
  4945. "description": "SCD服务\n"
  4946. },
  4947. {
  4948. "name": "scd_check_tools/controllersFlowController",
  4949. "description": "签入签出流程服务\n"
  4950. },
  4951. {
  4952. "name": "scd_check_tools/controllersAttachmentController",
  4953. "description": "文件/附件服务\n"
  4954. },
  4955. {
  4956. "name": "scd_check_tools/controllersRuleController",
  4957. "description": "校验规则管理服务\n"
  4958. },
  4959. {
  4960. "name": "scd_check_tools/controllersStatController",
  4961. "description": "统计分析服务\n"
  4962. },
  4963. {
  4964. "name": "scd_check_tools/controllersScdCompController",
  4965. "description": "一致性校验服务\n"
  4966. },
  4967. {
  4968. "name": "scd_check_tools/controllersNoticeController",
  4969. "description": "通知提醒服务\n"
  4970. },
  4971. {
  4972. "name": "scd_check_tools/controllersTaskController",
  4973. "description": "检测任务服务\n"
  4974. }
  4975. ]
  4976. }