swagger.yml 109 KB

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