diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcAqyhController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcAqyhController.java new file mode 100644 index 00000000..622da8d7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcAqyhController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcAqyh; +import com.ruoyi.tcZz.service.ITcAqyhService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 安全隐患 tc_aqyhController + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/aqyh") +public class TcAqyhController extends BaseController +{ + @Autowired + private ITcAqyhService tcAqyhService; + + /** + * 查询安全隐患 tc_aqyh列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:list')") + @GetMapping("/list") + public TableDataInfo list(TcAqyh tcAqyh) + { + startPage(); + List list = tcAqyhService.selectTcAqyhList(tcAqyh); + return getDataTable(list); + } + + /** + * 导出安全隐患 tc_aqyh列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:export')") + @Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcAqyh tcAqyh) + { + List list = tcAqyhService.selectTcAqyhList(tcAqyh); + ExcelUtil util = new ExcelUtil(TcAqyh.class); + util.exportExcel(response, list, "安全隐患 tc_aqyh数据"); + } + + /** + * 获取安全隐患 tc_aqyh详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcAqyhService.selectTcAqyhById(id)); + } + + /** + * 新增安全隐患 tc_aqyh + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:add')") + @Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcAqyh tcAqyh) + { + return toAjax(tcAqyhService.insertTcAqyh(tcAqyh)); + } + + /** + * 修改安全隐患 tc_aqyh + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:edit')") + @Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcAqyh tcAqyh) + { + return toAjax(tcAqyhService.updateTcAqyh(tcAqyh)); + } + + /** + * 删除安全隐患 tc_aqyh + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:remove')") + @Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcAqyhService.deleteTcAqyhByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcBmtbController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcBmtbController.java new file mode 100644 index 00000000..a781b39f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcBmtbController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcBmtb; +import com.ruoyi.tcZz.service.ITcBmtbService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 部门通报Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/bmtb") +public class TcBmtbController extends BaseController +{ + @Autowired + private ITcBmtbService tcBmtbService; + + /** + * 查询部门通报列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:list')") + @GetMapping("/list") + public TableDataInfo list(TcBmtb tcBmtb) + { + startPage(); + List list = tcBmtbService.selectTcBmtbList(tcBmtb); + return getDataTable(list); + } + + /** + * 导出部门通报列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:export')") + @Log(title = "部门通报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcBmtb tcBmtb) + { + List list = tcBmtbService.selectTcBmtbList(tcBmtb); + ExcelUtil util = new ExcelUtil(TcBmtb.class); + util.exportExcel(response, list, "部门通报数据"); + } + + /** + * 获取部门通报详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcBmtbService.selectTcBmtbById(id)); + } + + /** + * 新增部门通报 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:add')") + @Log(title = "部门通报", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcBmtb tcBmtb) + { + return toAjax(tcBmtbService.insertTcBmtb(tcBmtb)); + } + + /** + * 修改部门通报 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:edit')") + @Log(title = "部门通报", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcBmtb tcBmtb) + { + return toAjax(tcBmtbService.updateTcBmtb(tcBmtb)); + } + + /** + * 删除部门通报 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:remove')") + @Log(title = "部门通报", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcBmtbService.deleteTcBmtbByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDbdwController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDbdwController.java new file mode 100644 index 00000000..0f468691 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDbdwController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcDbdw; +import com.ruoyi.tcZz.service.ITcDbdwService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 等保单位Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/dbdw") +public class TcDbdwController extends BaseController +{ + @Autowired + private ITcDbdwService tcDbdwService; + + /** + * 查询等保单位列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:list')") + @GetMapping("/list") + public TableDataInfo list(TcDbdw tcDbdw) + { + startPage(); + List list = tcDbdwService.selectTcDbdwList(tcDbdw); + return getDataTable(list); + } + + /** + * 导出等保单位列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:export')") + @Log(title = "等保单位", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcDbdw tcDbdw) + { + List list = tcDbdwService.selectTcDbdwList(tcDbdw); + ExcelUtil util = new ExcelUtil(TcDbdw.class); + util.exportExcel(response, list, "等保单位数据"); + } + + /** + * 获取等保单位详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcDbdwService.selectTcDbdwById(id)); + } + + /** + * 新增等保单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:add')") + @Log(title = "等保单位", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcDbdw tcDbdw) + { + return toAjax(tcDbdwService.insertTcDbdw(tcDbdw)); + } + + /** + * 修改等保单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:edit')") + @Log(title = "等保单位", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcDbdw tcDbdw) + { + return toAjax(tcDbdwService.updateTcDbdw(tcDbdw)); + } + + /** + * 删除等保单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:remove')") + @Log(title = "等保单位", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcDbdwService.deleteTcDbdwByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDbxtController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDbxtController.java new file mode 100644 index 00000000..2851f9a0 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDbxtController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcDbxt; +import com.ruoyi.tcZz.service.ITcDbxtService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 等保系统Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/dbxt") +public class TcDbxtController extends BaseController +{ + @Autowired + private ITcDbxtService tcDbxtService; + + /** + * 查询等保系统列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:list')") + @GetMapping("/list") + public TableDataInfo list(TcDbxt tcDbxt) + { + startPage(); + List list = tcDbxtService.selectTcDbxtList(tcDbxt); + return getDataTable(list); + } + + /** + * 导出等保系统列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:export')") + @Log(title = "等保系统", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcDbxt tcDbxt) + { + List list = tcDbxtService.selectTcDbxtList(tcDbxt); + ExcelUtil util = new ExcelUtil(TcDbxt.class); + util.exportExcel(response, list, "等保系统数据"); + } + + /** + * 获取等保系统详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcDbxtService.selectTcDbxtById(id)); + } + + /** + * 新增等保系统 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:add')") + @Log(title = "等保系统", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcDbxt tcDbxt) + { + return toAjax(tcDbxtService.insertTcDbxt(tcDbxt)); + } + + /** + * 修改等保系统 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:edit')") + @Log(title = "等保系统", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcDbxt tcDbxt) + { + return toAjax(tcDbxtService.updateTcDbxt(tcDbxt)); + } + + /** + * 删除等保系统 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:remove')") + @Log(title = "等保系统", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcDbxtService.deleteTcDbxtByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcFbqkController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcFbqkController.java new file mode 100644 index 00000000..30c4f9a0 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcFbqkController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcFbqk; +import com.ruoyi.tcZz.service.ITcFbqkService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 分布情况 tc_fbqkController + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/fbqk") +public class TcFbqkController extends BaseController +{ + @Autowired + private ITcFbqkService tcFbqkService; + + /** + * 查询分布情况 tc_fbqk列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:list')") + @GetMapping("/list") + public TableDataInfo list(TcFbqk tcFbqk) + { + startPage(); + List list = tcFbqkService.selectTcFbqkList(tcFbqk); + return getDataTable(list); + } + + /** + * 导出分布情况 tc_fbqk列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:export')") + @Log(title = "分布情况 tc_fbqk", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcFbqk tcFbqk) + { + List list = tcFbqkService.selectTcFbqkList(tcFbqk); + ExcelUtil util = new ExcelUtil(TcFbqk.class); + util.exportExcel(response, list, "分布情况 tc_fbqk数据"); + } + + /** + * 获取分布情况 tc_fbqk详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcFbqkService.selectTcFbqkById(id)); + } + + /** + * 新增分布情况 tc_fbqk + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:add')") + @Log(title = "分布情况 tc_fbqk", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcFbqk tcFbqk) + { + return toAjax(tcFbqkService.insertTcFbqk(tcFbqk)); + } + + /** + * 修改分布情况 tc_fbqk + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:edit')") + @Log(title = "分布情况 tc_fbqk", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcFbqk tcFbqk) + { + return toAjax(tcFbqkService.updateTcFbqk(tcFbqk)); + } + + /** + * 删除分布情况 tc_fbqk + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:remove')") + @Log(title = "分布情况 tc_fbqk", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcFbqkService.deleteTcFbqkByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcIdcdwController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcIdcdwController.java new file mode 100644 index 00000000..744e1a3f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcIdcdwController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcIdcdw; +import com.ruoyi.tcZz.service.ITcIdcdwService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * IDC单位Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/idcdw") +public class TcIdcdwController extends BaseController +{ + @Autowired + private ITcIdcdwService tcIdcdwService; + + /** + * 查询 IDC单位列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:list')") + @GetMapping("/list") + public TableDataInfo list(TcIdcdw tcIdcdw) + { + startPage(); + List list = tcIdcdwService.selectTcIdcdwList(tcIdcdw); + return getDataTable(list); + } + + /** + * 导出 IDC单位列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:export')") + @Log(title = " IDC单位", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcIdcdw tcIdcdw) + { + List list = tcIdcdwService.selectTcIdcdwList(tcIdcdw); + ExcelUtil util = new ExcelUtil(TcIdcdw.class); + util.exportExcel(response, list, " IDC单位数据"); + } + + /** + * 获取 IDC单位详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcIdcdwService.selectTcIdcdwById(id)); + } + + /** + * 新增 IDC单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:add')") + @Log(title = " IDC单位", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcIdcdw tcIdcdw) + { + return toAjax(tcIdcdwService.insertTcIdcdw(tcIdcdw)); + } + + /** + * 修改 IDC单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:edit')") + @Log(title = " IDC单位", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcIdcdw tcIdcdw) + { + return toAjax(tcIdcdwService.updateTcIdcdw(tcIdcdw)); + } + + /** + * 删除 IDC单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:remove')") + @Log(title = " IDC单位", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcIdcdwService.deleteTcIdcdwByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcJgdwController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcJgdwController.java new file mode 100644 index 00000000..dcf8baa2 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcJgdwController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcJgdw; +import com.ruoyi.tcZz.service.ITcJgdwService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 监管单位Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/jgdw") +public class TcJgdwController extends BaseController +{ + @Autowired + private ITcJgdwService tcJgdwService; + + /** + * 查询监管单位列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:list')") + @GetMapping("/list") + public TableDataInfo list(TcJgdw tcJgdw) + { + startPage(); + List list = tcJgdwService.selectTcJgdwList(tcJgdw); + return getDataTable(list); + } + + /** + * 导出监管单位列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:export')") + @Log(title = "监管单位", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcJgdw tcJgdw) + { + List list = tcJgdwService.selectTcJgdwList(tcJgdw); + ExcelUtil util = new ExcelUtil(TcJgdw.class); + util.exportExcel(response, list, "监管单位数据"); + } + + /** + * 获取监管单位详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcJgdwService.selectTcJgdwById(id)); + } + + /** + * 新增监管单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:add')") + @Log(title = "监管单位", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcJgdw tcJgdw) + { + return toAjax(tcJgdwService.insertTcJgdw(tcJgdw)); + } + + /** + * 修改监管单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:edit')") + @Log(title = "监管单位", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcJgdw tcJgdw) + { + return toAjax(tcJgdwService.updateTcJgdw(tcJgdw)); + } + + /** + * 删除监管单位 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:remove')") + @Log(title = "监管单位", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcJgdwService.deleteTcJgdwByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcMapController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcMapController.java new file mode 100644 index 00000000..768acd6b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcMapController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcMap; +import com.ruoyi.tcZz.service.ITcMapService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 地图统计Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/map") +public class TcMapController extends BaseController +{ + @Autowired + private ITcMapService tcMapService; + + /** + * 查询地图统计列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:list')") + @GetMapping("/list") + public TableDataInfo list(TcMap tcMap) + { + startPage(); + List list = tcMapService.selectTcMapList(tcMap); + return getDataTable(list); + } + + /** + * 导出地图统计列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:export')") + @Log(title = "地图统计", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcMap tcMap) + { + List list = tcMapService.selectTcMapList(tcMap); + ExcelUtil util = new ExcelUtil(TcMap.class); + util.exportExcel(response, list, "地图统计数据"); + } + + /** + * 获取地图统计详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcMapService.selectTcMapById(id)); + } + + /** + * 新增地图统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:add')") + @Log(title = "地图统计", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcMap tcMap) + { + return toAjax(tcMapService.insertTcMap(tcMap)); + } + + /** + * 修改地图统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:edit')") + @Log(title = "地图统计", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcMap tcMap) + { + return toAjax(tcMapService.updateTcMap(tcMap)); + } + + /** + * 删除地图统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:remove')") + @Log(title = "地图统计", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcMapService.deleteTcMapByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSdtbController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSdtbController.java new file mode 100644 index 00000000..2541d9b9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSdtbController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcSdtb; +import com.ruoyi.tcZz.service.ITcSdtbService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 属地通报Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/sdtb") +public class TcSdtbController extends BaseController +{ + @Autowired + private ITcSdtbService tcSdtbService; + + /** + * 查询属地通报列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:list')") + @GetMapping("/list") + public TableDataInfo list(TcSdtb tcSdtb) + { + startPage(); + List list = tcSdtbService.selectTcSdtbList(tcSdtb); + return getDataTable(list); + } + + /** + * 导出属地通报列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:export')") + @Log(title = "属地通报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcSdtb tcSdtb) + { + List list = tcSdtbService.selectTcSdtbList(tcSdtb); + ExcelUtil util = new ExcelUtil(TcSdtb.class); + util.exportExcel(response, list, "属地通报数据"); + } + + /** + * 获取属地通报详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcSdtbService.selectTcSdtbById(id)); + } + + /** + * 新增属地通报 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:add')") + @Log(title = "属地通报", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcSdtb tcSdtb) + { + return toAjax(tcSdtbService.insertTcSdtb(tcSdtb)); + } + + /** + * 修改属地通报 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:edit')") + @Log(title = "属地通报", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcSdtb tcSdtb) + { + return toAjax(tcSdtbService.updateTcSdtb(tcSdtb)); + } + + /** + * 删除属地通报 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:remove')") + @Log(title = "属地通报", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcSdtbService.deleteTcSdtbByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSgjipTop5Controller.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSgjipTop5Controller.java new file mode 100644 index 00000000..863b081c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSgjipTop5Controller.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcSgjipTop5; +import com.ruoyi.tcZz.service.ITcSgjipTop5Service; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 受攻击IPTOP5Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/top5") +public class TcSgjipTop5Controller extends BaseController +{ + @Autowired + private ITcSgjipTop5Service tcSgjipTop5Service; + + /** + * 查询受攻击IPTOP5列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:list')") + @GetMapping("/list") + public TableDataInfo list(TcSgjipTop5 tcSgjipTop5) + { + startPage(); + List list = tcSgjipTop5Service.selectTcSgjipTop5List(tcSgjipTop5); + return getDataTable(list); + } + + /** + * 导出受攻击IPTOP5列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:export')") + @Log(title = "受攻击IPTOP5", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcSgjipTop5 tcSgjipTop5) + { + List list = tcSgjipTop5Service.selectTcSgjipTop5List(tcSgjipTop5); + ExcelUtil util = new ExcelUtil(TcSgjipTop5.class); + util.exportExcel(response, list, "受攻击IPTOP5数据"); + } + + /** + * 获取受攻击IPTOP5详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcSgjipTop5Service.selectTcSgjipTop5ById(id)); + } + + /** + * 新增受攻击IPTOP5 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:add')") + @Log(title = "受攻击IPTOP5", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcSgjipTop5 tcSgjipTop5) + { + return toAjax(tcSgjipTop5Service.insertTcSgjipTop5(tcSgjipTop5)); + } + + /** + * 修改受攻击IPTOP5 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:edit')") + @Log(title = "受攻击IPTOP5", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcSgjipTop5 tcSgjipTop5) + { + return toAjax(tcSgjipTop5Service.updateTcSgjipTop5(tcSgjipTop5)); + } + + /** + * 删除受攻击IPTOP5 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:remove')") + @Log(title = "受攻击IPTOP5", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcSgjipTop5Service.deleteTcSgjipTop5ByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcTbczController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcTbczController.java new file mode 100644 index 00000000..6787710d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcTbczController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcTbcz; +import com.ruoyi.tcZz.service.ITcTbczService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 通报处置Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/tbcz") +public class TcTbczController extends BaseController +{ + @Autowired + private ITcTbczService tcTbczService; + + /** + * 查询通报处置列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:list')") + @GetMapping("/list") + public TableDataInfo list(TcTbcz tcTbcz) + { + startPage(); + List list = tcTbczService.selectTcTbczList(tcTbcz); + return getDataTable(list); + } + + /** + * 导出通报处置列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:export')") + @Log(title = "通报处置", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcTbcz tcTbcz) + { + List list = tcTbczService.selectTcTbczList(tcTbcz); + ExcelUtil util = new ExcelUtil(TcTbcz.class); + util.exportExcel(response, list, "通报处置数据"); + } + + /** + * 获取通报处置详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcTbczService.selectTcTbczById(id)); + } + + /** + * 新增通报处置 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:add')") + @Log(title = "通报处置", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcTbcz tcTbcz) + { + return toAjax(tcTbczService.insertTcTbcz(tcTbcz)); + } + + /** + * 修改通报处置 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:edit')") + @Log(title = "通报处置", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcTbcz tcTbcz) + { + return toAjax(tcTbczService.updateTcTbcz(tcTbcz)); + } + + /** + * 删除通报处置 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:remove')") + @Log(title = "通报处置", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcTbczService.deleteTcTbczByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcTbwcController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcTbwcController.java new file mode 100644 index 00000000..a8f358c5 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcTbwcController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcTbwc; +import com.ruoyi.tcZz.service.ITcTbwcService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 通报完成情况Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/tbwc") +public class TcTbwcController extends BaseController +{ + @Autowired + private ITcTbwcService tcTbwcService; + + /** + * 查询通报完成情况列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:list')") + @GetMapping("/list") + public TableDataInfo list(TcTbwc tcTbwc) + { + startPage(); + List list = tcTbwcService.selectTcTbwcList(tcTbwc); + return getDataTable(list); + } + + /** + * 导出通报完成情况列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:export')") + @Log(title = "通报完成情况", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcTbwc tcTbwc) + { + List list = tcTbwcService.selectTcTbwcList(tcTbwc); + ExcelUtil util = new ExcelUtil(TcTbwc.class); + util.exportExcel(response, list, "通报完成情况数据"); + } + + /** + * 获取通报完成情况详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcTbwcService.selectTcTbwcById(id)); + } + + /** + * 新增通报完成情况 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:add')") + @Log(title = "通报完成情况", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcTbwc tcTbwc) + { + return toAjax(tcTbwcService.insertTcTbwc(tcTbwc)); + } + + /** + * 修改通报完成情况 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:edit')") + @Log(title = "通报完成情况", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcTbwc tcTbwc) + { + return toAjax(tcTbwcService.updateTcTbwc(tcTbwc)); + } + + /** + * 删除通报完成情况 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:remove')") + @Log(title = "通报完成情况", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcTbwcService.deleteTcTbwcByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgtjController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgtjController.java new file mode 100644 index 00000000..09ccbcc3 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgtjController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcWljgtj; +import com.ruoyi.tcZz.service.ITcWljgtjService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 网络监测统计Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/wljgtj") +public class TcWljgtjController extends BaseController +{ + @Autowired + private ITcWljgtjService tcWljgtjService; + + /** + * 查询网络监测统计列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:list')") + @GetMapping("/list") + public TableDataInfo list(TcWljgtj tcWljgtj) + { + startPage(); + List list = tcWljgtjService.selectTcWljgtjList(tcWljgtj); + return getDataTable(list); + } + + /** + * 导出网络监测统计列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:export')") + @Log(title = "网络监测统计", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcWljgtj tcWljgtj) + { + List list = tcWljgtjService.selectTcWljgtjList(tcWljgtj); + ExcelUtil util = new ExcelUtil(TcWljgtj.class); + util.exportExcel(response, list, "网络监测统计数据"); + } + + /** + * 获取网络监测统计详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcWljgtjService.selectTcWljgtjById(id)); + } + + /** + * 新增网络监测统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:add')") + @Log(title = "网络监测统计", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcWljgtj tcWljgtj) + { + return toAjax(tcWljgtjService.insertTcWljgtj(tcWljgtj)); + } + + /** + * 修改网络监测统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:edit')") + @Log(title = "网络监测统计", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcWljgtj tcWljgtj) + { + return toAjax(tcWljgtjService.updateTcWljgtj(tcWljgtj)); + } + + /** + * 删除网络监测统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:remove')") + @Log(title = "网络监测统计", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcWljgtjService.deleteTcWljgtjByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcXtjcController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcXtjcController.java new file mode 100644 index 00000000..6bd3aef9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcXtjcController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcXtjc; +import com.ruoyi.tcZz.service.ITcXtjcService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 系统监测Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/xtjc") +public class TcXtjcController extends BaseController +{ + @Autowired + private ITcXtjcService tcXtjcService; + + /** + * 查询系统监测列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:list')") + @GetMapping("/list") + public TableDataInfo list(TcXtjc tcXtjc) + { + startPage(); + List list = tcXtjcService.selectTcXtjcList(tcXtjc); + return getDataTable(list); + } + + /** + * 导出系统监测列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:export')") + @Log(title = "系统监测", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcXtjc tcXtjc) + { + List list = tcXtjcService.selectTcXtjcList(tcXtjc); + ExcelUtil util = new ExcelUtil(TcXtjc.class); + util.exportExcel(response, list, "系统监测数据"); + } + + /** + * 获取系统监测详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcXtjcService.selectTcXtjcById(id)); + } + + /** + * 新增系统监测 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:add')") + @Log(title = "系统监测", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcXtjc tcXtjc) + { + return toAjax(tcXtjcService.insertTcXtjc(tcXtjc)); + } + + /** + * 修改系统监测 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:edit')") + @Log(title = "系统监测", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcXtjc tcXtjc) + { + return toAjax(tcXtjcService.updateTcXtjc(tcXtjc)); + } + + /** + * 删除系统监测 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:remove')") + @Log(title = "系统监测", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcXtjcService.deleteTcXtjcByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZfwzController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZfwzController.java new file mode 100644 index 00000000..26a0cc94 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZfwzController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcZfwz; +import com.ruoyi.tcZz.service.ITcZfwzService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 政府网站Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/zfwz") +public class TcZfwzController extends BaseController +{ + @Autowired + private ITcZfwzService tcZfwzService; + + /** + * 查询政府网站列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:list')") + @GetMapping("/list") + public TableDataInfo list(TcZfwz tcZfwz) + { + startPage(); + List list = tcZfwzService.selectTcZfwzList(tcZfwz); + return getDataTable(list); + } + + /** + * 导出政府网站列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:export')") + @Log(title = "政府网站", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcZfwz tcZfwz) + { + List list = tcZfwzService.selectTcZfwzList(tcZfwz); + ExcelUtil util = new ExcelUtil(TcZfwz.class); + util.exportExcel(response, list, "政府网站数据"); + } + + /** + * 获取政府网站详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcZfwzService.selectTcZfwzById(id)); + } + + /** + * 新增政府网站 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:add')") + @Log(title = "政府网站", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcZfwz tcZfwz) + { + return toAjax(tcZfwzService.insertTcZfwz(tcZfwz)); + } + + /** + * 修改政府网站 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:edit')") + @Log(title = "政府网站", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcZfwz tcZfwz) + { + return toAjax(tcZfwzService.updateTcZfwz(tcZfwz)); + } + + /** + * 删除政府网站 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:remove')") + @Log(title = "政府网站", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcZfwzService.deleteTcZfwzByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZxyhController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZxyhController.java new file mode 100644 index 00000000..2e761f23 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZxyhController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.tcZz.domain.TcZxyh; +import com.ruoyi.tcZz.service.ITcZxyhService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 最新隐患Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/networkSecurity/zxyh") +public class TcZxyhController extends BaseController +{ + @Autowired + private ITcZxyhService tcZxyhService; + + /** + * 查询最新隐患列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:list')") + @GetMapping("/list") + public TableDataInfo list(TcZxyh tcZxyh) + { + startPage(); + List list = tcZxyhService.selectTcZxyhList(tcZxyh); + return getDataTable(list); + } + + /** + * 导出最新隐患列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:export')") + @Log(title = "最新隐患", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcZxyh tcZxyh) + { + List list = tcZxyhService.selectTcZxyhList(tcZxyh); + ExcelUtil util = new ExcelUtil(TcZxyh.class); + util.exportExcel(response, list, "最新隐患数据"); + } + + /** + * 获取最新隐患详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcZxyhService.selectTcZxyhById(id)); + } + + /** + * 新增最新隐患 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:add')") + @Log(title = "最新隐患", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcZxyh tcZxyh) + { + return toAjax(tcZxyhService.insertTcZxyh(tcZxyh)); + } + + /** + * 修改最新隐患 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:edit')") + @Log(title = "最新隐患", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcZxyh tcZxyh) + { + return toAjax(tcZxyhService.updateTcZxyh(tcZxyh)); + } + + /** + * 删除最新隐患 + */ + @PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:remove')") + @Log(title = "最新隐患", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcZxyhService.deleteTcZxyhByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcAqyh.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcAqyh.java new file mode 100644 index 00000000..38d093e7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcAqyh.java @@ -0,0 +1,70 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 安全隐患 tc_aqyh对象 tc_aqyh + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcAqyh extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 隐患名称 */ + @Excel(name = "隐患名称") + private String yhName; + + /** 隐患数量 */ + @Excel(name = "隐患数量") + private String yhCount; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setYhName(String yhName) + { + this.yhName = yhName; + } + + public String getYhName() + { + return yhName; + } + public void setYhCount(String yhCount) + { + this.yhCount = yhCount; + } + + public String getYhCount() + { + return yhCount; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("yhName", getYhName()) + .append("yhCount", getYhCount()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcBmtb.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcBmtb.java new file mode 100644 index 00000000..3b84eeb9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcBmtb.java @@ -0,0 +1,98 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 部门通报对象 tc_bmtb + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcBmtb extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 启用/禁用 */ + @Excel(name = "启用/禁用") + private Long isStatus; + + /** 部门名称 */ + @Excel(name = "部门名称") + private String depName; + + /** 文件名称 */ + @Excel(name = "文件名称") + private String fileName; + + /** 文件路径(完整路径) */ + @Excel(name = "文件路径(完整路径)") + private String fileUrl; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setDepName(String depName) + { + this.depName = depName; + } + + public String getDepName() + { + return depName; + } + public void setFileName(String fileName) + { + this.fileName = fileName; + } + + public String getFileName() + { + return fileName; + } + public void setFileUrl(String fileUrl) + { + this.fileUrl = fileUrl; + } + + public String getFileUrl() + { + return fileUrl; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("isStatus", getIsStatus()) + .append("depName", getDepName()) + .append("fileName", getFileName()) + .append("fileUrl", getFileUrl()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDbdw.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDbdw.java new file mode 100644 index 00000000..62eacb9c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDbdw.java @@ -0,0 +1,255 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 等保单位对象 tc_dbdw + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcDbdw extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域id */ + @Excel(name = "区域id") + private String areaId; + + /** 单位名称 */ + @Excel(name = "单位名称") + private String unitName; + + /** 邮政编码 */ + @Excel(name = "邮政编码") + private String postalCode; + + /** 单位地址—省 */ + private String addressProvince; + + /** 单位地址—市 */ + private String addressCity; + + /** 单位地址—区/县 */ + private String addressCounty; + + /** 单位地址 */ + @Excel(name = "单位地址") + private String unitAddress; + + /** 行政区域代码 */ + @Excel(name = "行政区域代码") + private String countyCode; + + /** 隶属关系 */ + private String lsGx; + + /** 单位类型 */ + private String unitType; + + /** 行业类型 */ + private String industryType; + + /** 单位责任人—姓名 */ + private String fzrName; + + /** 单位责任人—职务 */ + private String fzrDuty; + + /** 单位责任人—办公电话 */ + private String fzrTel; + + /** 单位责任人—电子邮件 */ + private String fzrEmail; + + /** 1.启用 2.禁用 */ + private Long isStatus; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setUnitName(String unitName) + { + this.unitName = unitName; + } + + public String getUnitName() + { + return unitName; + } + public void setPostalCode(String postalCode) + { + this.postalCode = postalCode; + } + + public String getPostalCode() + { + return postalCode; + } + public void setAddressProvince(String addressProvince) + { + this.addressProvince = addressProvince; + } + + public String getAddressProvince() + { + return addressProvince; + } + public void setAddressCity(String addressCity) + { + this.addressCity = addressCity; + } + + public String getAddressCity() + { + return addressCity; + } + public void setAddressCounty(String addressCounty) + { + this.addressCounty = addressCounty; + } + + public String getAddressCounty() + { + return addressCounty; + } + public void setUnitAddress(String unitAddress) + { + this.unitAddress = unitAddress; + } + + public String getUnitAddress() + { + return unitAddress; + } + public void setCountyCode(String countyCode) + { + this.countyCode = countyCode; + } + + public String getCountyCode() + { + return countyCode; + } + public void setLsGx(String lsGx) + { + this.lsGx = lsGx; + } + + public String getLsGx() + { + return lsGx; + } + public void setUnitType(String unitType) + { + this.unitType = unitType; + } + + public String getUnitType() + { + return unitType; + } + public void setIndustryType(String industryType) + { + this.industryType = industryType; + } + + public String getIndustryType() + { + return industryType; + } + public void setFzrName(String fzrName) + { + this.fzrName = fzrName; + } + + public String getFzrName() + { + return fzrName; + } + public void setFzrDuty(String fzrDuty) + { + this.fzrDuty = fzrDuty; + } + + public String getFzrDuty() + { + return fzrDuty; + } + public void setFzrTel(String fzrTel) + { + this.fzrTel = fzrTel; + } + + public String getFzrTel() + { + return fzrTel; + } + public void setFzrEmail(String fzrEmail) + { + this.fzrEmail = fzrEmail; + } + + public String getFzrEmail() + { + return fzrEmail; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("unitName", getUnitName()) + .append("postalCode", getPostalCode()) + .append("addressProvince", getAddressProvince()) + .append("addressCity", getAddressCity()) + .append("addressCounty", getAddressCounty()) + .append("unitAddress", getUnitAddress()) + .append("countyCode", getCountyCode()) + .append("lsGx", getLsGx()) + .append("unitType", getUnitType()) + .append("industryType", getIndustryType()) + .append("fzrName", getFzrName()) + .append("fzrDuty", getFzrDuty()) + .append("fzrTel", getFzrTel()) + .append("fzrEmail", getFzrEmail()) + .append("isStatus", getIsStatus()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDbxt.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDbxt.java new file mode 100644 index 00000000..6d4ab528 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDbxt.java @@ -0,0 +1,296 @@ +package com.ruoyi.tcZz.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 等保系统对象 tc_dbxt + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcDbxt extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域id */ + @Excel(name = "区域id") + private String areaId; + + /** 系统名称 */ + @Excel(name = "系统名称") + private String systemName; + + /** 备案编号 */ + @Excel(name = "备案编号") + private String beianNum; + + /** 信息系统安全保护等级 */ + @Excel(name = "信息系统安全保护等级") + private String safetyLevel; + + /** 单位名称 */ + private String unitName; + + /** 业务类型 */ + private String businessType; + + /** 服务范围 */ + private String serviceArea; + + /** 服务对象 */ + private String serviceObj; + + /** 覆盖范围 */ + private String coverageArea; + + /** 网络性质 */ + private String networkProperty; + + /** 系统互联情况 */ + private String systemHlql; + + /** 投入运行使用日期 */ + private Date startTime; + + /** 系统是否分级 */ + private String isLevel; + + /** 系统定级时间 */ + private Date systemDjtime; + + /** 专家评审情况 */ + private String psQk; + + /** 是否有主管部门 */ + private String isHavedep; + + /** 系统定级报告 */ + private String systemDjbg; + + /** 系统状态 */ + private String systemState; + + /** 1.启用 2.禁用 */ + @Excel(name = "1.启用 2.禁用") + private Long isStatus; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setSystemName(String systemName) + { + this.systemName = systemName; + } + + public String getSystemName() + { + return systemName; + } + public void setBeianNum(String beianNum) + { + this.beianNum = beianNum; + } + + public String getBeianNum() + { + return beianNum; + } + public void setSafetyLevel(String safetyLevel) + { + this.safetyLevel = safetyLevel; + } + + public String getSafetyLevel() + { + return safetyLevel; + } + public void setUnitName(String unitName) + { + this.unitName = unitName; + } + + public String getUnitName() + { + return unitName; + } + public void setBusinessType(String businessType) + { + this.businessType = businessType; + } + + public String getBusinessType() + { + return businessType; + } + public void setServiceArea(String serviceArea) + { + this.serviceArea = serviceArea; + } + + public String getServiceArea() + { + return serviceArea; + } + public void setServiceObj(String serviceObj) + { + this.serviceObj = serviceObj; + } + + public String getServiceObj() + { + return serviceObj; + } + public void setCoverageArea(String coverageArea) + { + this.coverageArea = coverageArea; + } + + public String getCoverageArea() + { + return coverageArea; + } + public void setNetworkProperty(String networkProperty) + { + this.networkProperty = networkProperty; + } + + public String getNetworkProperty() + { + return networkProperty; + } + public void setSystemHlql(String systemHlql) + { + this.systemHlql = systemHlql; + } + + public String getSystemHlql() + { + return systemHlql; + } + public void setStartTime(Date startTime) + { + this.startTime = startTime; + } + + public Date getStartTime() + { + return startTime; + } + public void setIsLevel(String isLevel) + { + this.isLevel = isLevel; + } + + public String getIsLevel() + { + return isLevel; + } + public void setSystemDjtime(Date systemDjtime) + { + this.systemDjtime = systemDjtime; + } + + public Date getSystemDjtime() + { + return systemDjtime; + } + public void setPsQk(String psQk) + { + this.psQk = psQk; + } + + public String getPsQk() + { + return psQk; + } + public void setIsHavedep(String isHavedep) + { + this.isHavedep = isHavedep; + } + + public String getIsHavedep() + { + return isHavedep; + } + public void setSystemDjbg(String systemDjbg) + { + this.systemDjbg = systemDjbg; + } + + public String getSystemDjbg() + { + return systemDjbg; + } + public void setSystemState(String systemState) + { + this.systemState = systemState; + } + + public String getSystemState() + { + return systemState; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("systemName", getSystemName()) + .append("beianNum", getBeianNum()) + .append("safetyLevel", getSafetyLevel()) + .append("unitName", getUnitName()) + .append("businessType", getBusinessType()) + .append("serviceArea", getServiceArea()) + .append("serviceObj", getServiceObj()) + .append("coverageArea", getCoverageArea()) + .append("networkProperty", getNetworkProperty()) + .append("systemHlql", getSystemHlql()) + .append("startTime", getStartTime()) + .append("isLevel", getIsLevel()) + .append("systemDjtime", getSystemDjtime()) + .append("psQk", getPsQk()) + .append("isHavedep", getIsHavedep()) + .append("systemDjbg", getSystemDjbg()) + .append("systemState", getSystemState()) + .append("isStatus", getIsStatus()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcFbqk.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcFbqk.java new file mode 100644 index 00000000..675ce981 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcFbqk.java @@ -0,0 +1,70 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 分布情况 tc_fbqk对象 tc_fbqk + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcFbqk extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 名称 */ + @Excel(name = "名称") + private String cityName; + + /** 占比 */ + @Excel(name = "占比") + private String zb; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCityName(String cityName) + { + this.cityName = cityName; + } + + public String getCityName() + { + return cityName; + } + public void setZb(String zb) + { + this.zb = zb; + } + + public String getZb() + { + return zb; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("cityName", getCityName()) + .append("zb", getZb()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcIdcdw.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcIdcdw.java new file mode 100644 index 00000000..a3f1fc82 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcIdcdw.java @@ -0,0 +1,98 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * IDC单位对象 tc_idcdw + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcIdcdw extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域 */ + @Excel(name = "区域") + private String areaId; + + /** 启用/禁用 */ + @Excel(name = "启用/禁用") + private Long isStatus; + + /** lDC名称 */ + @Excel(name = "lDC名称") + private String ldcName; + + /** iP段信息 */ + @Excel(name = "iP段信息") + private String ipData; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setLdcName(String ldcName) + { + this.ldcName = ldcName; + } + + public String getLdcName() + { + return ldcName; + } + public void setIpData(String ipData) + { + this.ipData = ipData; + } + + public String getIpData() + { + return ipData; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("ldcName", getLdcName()) + .append("ipData", getIpData()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcJgdw.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcJgdw.java new file mode 100644 index 00000000..0d65b927 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcJgdw.java @@ -0,0 +1,167 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 监管单位对象 tc_jgdw + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcJgdw extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域id */ + @Excel(name = "区域id") + private String areaId; + + /** 1.启用 2.禁用 */ + @Excel(name = "1.启用 2.禁用") + private Long isStatus; + + /** 单位名称 */ + @Excel(name = "单位名称") + private String unitName; + + /** 网站/系统名称 */ + @Excel(name = "网站/系统名称") + private String systemName; + + /** 网站地址(url) */ + private String systemUrl; + + /** IP地址 */ + private String sysyemIp; + + /** 是否关注重点 */ + @Excel(name = "是否关注重点") + private String isFocus; + + /** 等保级别 */ + private String level; + + /** 记录类型(1. 监管单位 +2.网站监测 +) */ + @Excel(name = "记录类型", readConverterExp = "1=.,监=管单位 2.网站监测") + private Long type; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setUnitName(String unitName) + { + this.unitName = unitName; + } + + public String getUnitName() + { + return unitName; + } + public void setSystemName(String systemName) + { + this.systemName = systemName; + } + + public String getSystemName() + { + return systemName; + } + public void setSystemUrl(String systemUrl) + { + this.systemUrl = systemUrl; + } + + public String getSystemUrl() + { + return systemUrl; + } + public void setSysyemIp(String sysyemIp) + { + this.sysyemIp = sysyemIp; + } + + public String getSysyemIp() + { + return sysyemIp; + } + public void setIsFocus(String isFocus) + { + this.isFocus = isFocus; + } + + public String getIsFocus() + { + return isFocus; + } + public void setLevel(String level) + { + this.level = level; + } + + public String getLevel() + { + return level; + } + public void setType(Long type) + { + this.type = type; + } + + public Long getType() + { + return type; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("unitName", getUnitName()) + .append("systemName", getSystemName()) + .append("systemUrl", getSystemUrl()) + .append("sysyemIp", getSysyemIp()) + .append("isFocus", getIsFocus()) + .append("level", getLevel()) + .append("type", getType()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcMap.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcMap.java new file mode 100644 index 00000000..710e42af --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcMap.java @@ -0,0 +1,86 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 地图统计对象 tc_map + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcMap extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 名称 */ + @Excel(name = "名称") + private String name; + + /** 数量 */ + @Excel(name = "数量") + private String count; + + /** 1.国际 +2.国内 + */ + @Excel(name = "1.国际 2.国内") + private Long type; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setCount(String count) + { + this.count = count; + } + + public String getCount() + { + return count; + } + public void setType(Long type) + { + this.type = type; + } + + public Long getType() + { + return type; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("count", getCount()) + .append("type", getType()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSdtb.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSdtb.java new file mode 100644 index 00000000..b6abe90e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSdtb.java @@ -0,0 +1,98 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 属地通报对象 tc_sdtb + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcSdtb extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 属地名称 */ + @Excel(name = "属地名称") + private Long area; + + /** 启用/禁用 */ + @Excel(name = "启用/禁用") + private Long isStatus; + + /** 文件名称 */ + @Excel(name = "文件名称") + private String fileName; + + /** 文件路径(完整路径) */ + @Excel(name = "文件路径(完整路径)") + private String fileUrl; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setArea(Long area) + { + this.area = area; + } + + public Long getArea() + { + return area; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setFileName(String fileName) + { + this.fileName = fileName; + } + + public String getFileName() + { + return fileName; + } + public void setFileUrl(String fileUrl) + { + this.fileUrl = fileUrl; + } + + public String getFileUrl() + { + return fileUrl; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("area", getArea()) + .append("isStatus", getIsStatus()) + .append("fileName", getFileName()) + .append("fileUrl", getFileUrl()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSgjipTop5.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSgjipTop5.java new file mode 100644 index 00000000..926c96d1 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSgjipTop5.java @@ -0,0 +1,70 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 受攻击IPTOP5对象 tc_sgjip_top5 + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcSgjipTop5 extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 受攻击IP */ + @Excel(name = "受攻击IP") + private String sAttackIp; + + /** 受攻击次数 */ + @Excel(name = "受攻击次数") + private String sAttackCount; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setsAttackIp(String sAttackIp) + { + this.sAttackIp = sAttackIp; + } + + public String getsAttackIp() + { + return sAttackIp; + } + public void setsAttackCount(String sAttackCount) + { + this.sAttackCount = sAttackCount; + } + + public String getsAttackCount() + { + return sAttackCount; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("sAttackIp", getsAttackIp()) + .append("sAttackCount", getsAttackCount()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcTbcz.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcTbcz.java new file mode 100644 index 00000000..3ef1dea0 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcTbcz.java @@ -0,0 +1,138 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 通报处置对象 tc_tbcz + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcTbcz extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域 */ + @Excel(name = "区域") + private String areaId; + + /** 启用/禁用 */ + @Excel(name = "启用/禁用") + private Long isStatus; + + /** 单位名称 */ + @Excel(name = "单位名称") + private String unitName; + + /** 目标IP/域名 */ + @Excel(name = "目标IP/域名") + private String ipAddress; + + /** 处置情况 */ + @Excel(name = "处置情况") + private String czState; + + /** 文件名称 */ + private String fileName; + + /** 文件路径(完整路径) */ + private String fileUrl; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setUnitName(String unitName) + { + this.unitName = unitName; + } + + public String getUnitName() + { + return unitName; + } + public void setIpAddress(String ipAddress) + { + this.ipAddress = ipAddress; + } + + public String getIpAddress() + { + return ipAddress; + } + public void setCzState(String czState) + { + this.czState = czState; + } + + public String getCzState() + { + return czState; + } + public void setFileName(String fileName) + { + this.fileName = fileName; + } + + public String getFileName() + { + return fileName; + } + public void setFileUrl(String fileUrl) + { + this.fileUrl = fileUrl; + } + + public String getFileUrl() + { + return fileUrl; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("unitName", getUnitName()) + .append("ipAddress", getIpAddress()) + .append("czState", getCzState()) + .append("fileName", getFileName()) + .append("fileUrl", getFileUrl()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcTbwc.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcTbwc.java new file mode 100644 index 00000000..2f27d762 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcTbwc.java @@ -0,0 +1,115 @@ +package com.ruoyi.tcZz.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 通报完成情况对象 tc_tbwc + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcTbwc extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 时间名称 */ + @Excel(name = "时间名称") + private String timeName; + + /** 通报数量 */ + @Excel(name = "通报数量") + private String tbCount; + + /** 完成期数 */ + @Excel(name = "完成期数") + private String overCount; + + /** 完成比例 */ + @Excel(name = "完成比例") + private String overScale; + + /** 年份 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "年份", width = 30, dateFormat = "yyyy-MM-dd") + private Date year; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTimeName(String timeName) + { + this.timeName = timeName; + } + + public String getTimeName() + { + return timeName; + } + public void setTbCount(String tbCount) + { + this.tbCount = tbCount; + } + + public String getTbCount() + { + return tbCount; + } + public void setOverCount(String overCount) + { + this.overCount = overCount; + } + + public String getOverCount() + { + return overCount; + } + public void setOverScale(String overScale) + { + this.overScale = overScale; + } + + public String getOverScale() + { + return overScale; + } + public void setYear(Date year) + { + this.year = year; + } + + public Date getYear() + { + return year; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("timeName", getTimeName()) + .append("tbCount", getTbCount()) + .append("overCount", getOverCount()) + .append("overScale", getOverScale()) + .append("year", getYear()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcWljgtj.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcWljgtj.java new file mode 100644 index 00000000..d7c9d5af --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcWljgtj.java @@ -0,0 +1,98 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 网络监测统计对象 tc_wljgtj + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcWljgtj extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 网络攻击(万次) */ + @Excel(name = "网络攻击(万次)") + private String netAttack; + + /** 入侵攻击 */ + @Excel(name = "入侵攻击") + private String rqAttack; + + /** 恶意扫描 */ + @Excel(name = "恶意扫描") + private String smAttack; + + /** 僵木蠕病毒 */ + @Excel(name = "僵木蠕病毒") + private String bdAttack; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setNetAttack(String netAttack) + { + this.netAttack = netAttack; + } + + public String getNetAttack() + { + return netAttack; + } + public void setRqAttack(String rqAttack) + { + this.rqAttack = rqAttack; + } + + public String getRqAttack() + { + return rqAttack; + } + public void setSmAttack(String smAttack) + { + this.smAttack = smAttack; + } + + public String getSmAttack() + { + return smAttack; + } + public void setBdAttack(String bdAttack) + { + this.bdAttack = bdAttack; + } + + public String getBdAttack() + { + return bdAttack; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("netAttack", getNetAttack()) + .append("rqAttack", getRqAttack()) + .append("smAttack", getSmAttack()) + .append("bdAttack", getBdAttack()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcXtjc.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcXtjc.java new file mode 100644 index 00000000..9e86e985 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcXtjc.java @@ -0,0 +1,152 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 系统监测对象 tc_xtjc + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcXtjc extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域id */ + @Excel(name = "区域id") + private String areaId; + + /** 1.启用 2.禁用 */ + @Excel(name = "1.启用 2.禁用") + private Long isStatus; + + /** 单位名称 */ + @Excel(name = "单位名称") + private String unitName; + + /** 网站/系统名称 */ + @Excel(name = "网站/系统名称") + private String systemName; + + /** 网站地址(url) */ + private String systemUrl; + + /** IP地址 */ + private String sysyemIp; + + /** 是否关注重点 */ + @Excel(name = "是否关注重点") + private String isFocus; + + /** 等保级别 */ + @Excel(name = "等保级别") + private String level; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setUnitName(String unitName) + { + this.unitName = unitName; + } + + public String getUnitName() + { + return unitName; + } + public void setSystemName(String systemName) + { + this.systemName = systemName; + } + + public String getSystemName() + { + return systemName; + } + public void setSystemUrl(String systemUrl) + { + this.systemUrl = systemUrl; + } + + public String getSystemUrl() + { + return systemUrl; + } + public void setSysyemIp(String sysyemIp) + { + this.sysyemIp = sysyemIp; + } + + public String getSysyemIp() + { + return sysyemIp; + } + public void setIsFocus(String isFocus) + { + this.isFocus = isFocus; + } + + public String getIsFocus() + { + return isFocus; + } + public void setLevel(String level) + { + this.level = level; + } + + public String getLevel() + { + return level; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("unitName", getUnitName()) + .append("systemName", getSystemName()) + .append("systemUrl", getSystemUrl()) + .append("sysyemIp", getSysyemIp()) + .append("isFocus", getIsFocus()) + .append("level", getLevel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZfwz.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZfwz.java new file mode 100644 index 00000000..26897c5f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZfwz.java @@ -0,0 +1,112 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 政府网站对象 tc_zfwz + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcZfwz extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private String areaId; + + /** 1.启用 2.禁用 */ + @Excel(name = "1.启用 2.禁用") + private Long isStatus; + + /** 网站地址 */ + @Excel(name = "网站地址") + private String webUrl; + + /** 资产名称 */ + @Excel(name = "资产名称") + private String assetName; + + /** 资产重要等级 */ + @Excel(name = "资产重要等级") + private String assetLevel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setWebUrl(String webUrl) + { + this.webUrl = webUrl; + } + + public String getWebUrl() + { + return webUrl; + } + public void setAssetName(String assetName) + { + this.assetName = assetName; + } + + public String getAssetName() + { + return assetName; + } + public void setAssetLevel(String assetLevel) + { + this.assetLevel = assetLevel; + } + + public String getAssetLevel() + { + return assetLevel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("webUrl", getWebUrl()) + .append("assetName", getAssetName()) + .append("assetLevel", getAssetLevel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZxyh.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZxyh.java new file mode 100644 index 00000000..bf1cf2ed --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZxyh.java @@ -0,0 +1,151 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 最新隐患对象 tc_zxyh + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcZxyh extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域 */ + @Excel(name = "区域") + private String areaId; + + /** 启用/禁用 */ + @Excel(name = "启用/禁用") + private Long isStatus; + + /** 单位名称 */ + @Excel(name = "单位名称") + private String unitName; + + /** 隐患名称 */ + @Excel(name = "隐患名称") + private String yhName; + + /** 等级 */ + private String level; + + /** 隐患来源 */ + @Excel(name = "隐患来源") + private String yhLy; + + /** 文件名称 */ + private String fileName; + + /** 文件路径(完整路径) */ + private String fileUrl; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setUnitName(String unitName) + { + this.unitName = unitName; + } + + public String getUnitName() + { + return unitName; + } + public void setYhName(String yhName) + { + this.yhName = yhName; + } + + public String getYhName() + { + return yhName; + } + public void setLevel(String level) + { + this.level = level; + } + + public String getLevel() + { + return level; + } + public void setYhLy(String yhLy) + { + this.yhLy = yhLy; + } + + public String getYhLy() + { + return yhLy; + } + public void setFileName(String fileName) + { + this.fileName = fileName; + } + + public String getFileName() + { + return fileName; + } + public void setFileUrl(String fileUrl) + { + this.fileUrl = fileUrl; + } + + public String getFileUrl() + { + return fileUrl; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("unitName", getUnitName()) + .append("yhName", getYhName()) + .append("level", getLevel()) + .append("yhLy", getYhLy()) + .append("fileName", getFileName()) + .append("fileUrl", getFileUrl()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcAqyhMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcAqyhMapper.java new file mode 100644 index 00000000..221654db --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcAqyhMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcAqyh; + +/** + * 安全隐患 tc_aqyhMapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcAqyhMapper +{ + /** + * 查询安全隐患 tc_aqyh + * + * @param id 安全隐患 tc_aqyh主键 + * @return 安全隐患 tc_aqyh + */ + public TcAqyh selectTcAqyhById(Long id); + + /** + * 查询安全隐患 tc_aqyh列表 + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 安全隐患 tc_aqyh集合 + */ + public List selectTcAqyhList(TcAqyh tcAqyh); + + /** + * 新增安全隐患 tc_aqyh + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 结果 + */ + public int insertTcAqyh(TcAqyh tcAqyh); + + /** + * 修改安全隐患 tc_aqyh + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 结果 + */ + public int updateTcAqyh(TcAqyh tcAqyh); + + /** + * 删除安全隐患 tc_aqyh + * + * @param id 安全隐患 tc_aqyh主键 + * @return 结果 + */ + public int deleteTcAqyhById(Long id); + + /** + * 批量删除安全隐患 tc_aqyh + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcAqyhByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcBmtbMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcBmtbMapper.java new file mode 100644 index 00000000..d59f914e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcBmtbMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcBmtb; + +/** + * 部门通报Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcBmtbMapper +{ + /** + * 查询部门通报 + * + * @param id 部门通报主键 + * @return 部门通报 + */ + public TcBmtb selectTcBmtbById(Long id); + + /** + * 查询部门通报列表 + * + * @param tcBmtb 部门通报 + * @return 部门通报集合 + */ + public List selectTcBmtbList(TcBmtb tcBmtb); + + /** + * 新增部门通报 + * + * @param tcBmtb 部门通报 + * @return 结果 + */ + public int insertTcBmtb(TcBmtb tcBmtb); + + /** + * 修改部门通报 + * + * @param tcBmtb 部门通报 + * @return 结果 + */ + public int updateTcBmtb(TcBmtb tcBmtb); + + /** + * 删除部门通报 + * + * @param id 部门通报主键 + * @return 结果 + */ + public int deleteTcBmtbById(Long id); + + /** + * 批量删除部门通报 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcBmtbByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDbdwMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDbdwMapper.java new file mode 100644 index 00000000..9a37f1a9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDbdwMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcDbdw; + +/** + * 等保单位Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcDbdwMapper +{ + /** + * 查询等保单位 + * + * @param id 等保单位主键 + * @return 等保单位 + */ + public TcDbdw selectTcDbdwById(Long id); + + /** + * 查询等保单位列表 + * + * @param tcDbdw 等保单位 + * @return 等保单位集合 + */ + public List selectTcDbdwList(TcDbdw tcDbdw); + + /** + * 新增等保单位 + * + * @param tcDbdw 等保单位 + * @return 结果 + */ + public int insertTcDbdw(TcDbdw tcDbdw); + + /** + * 修改等保单位 + * + * @param tcDbdw 等保单位 + * @return 结果 + */ + public int updateTcDbdw(TcDbdw tcDbdw); + + /** + * 删除等保单位 + * + * @param id 等保单位主键 + * @return 结果 + */ + public int deleteTcDbdwById(Long id); + + /** + * 批量删除等保单位 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcDbdwByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDbxtMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDbxtMapper.java new file mode 100644 index 00000000..6be529f0 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDbxtMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcDbxt; + +/** + * 等保系统Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcDbxtMapper +{ + /** + * 查询等保系统 + * + * @param id 等保系统主键 + * @return 等保系统 + */ + public TcDbxt selectTcDbxtById(Long id); + + /** + * 查询等保系统列表 + * + * @param tcDbxt 等保系统 + * @return 等保系统集合 + */ + public List selectTcDbxtList(TcDbxt tcDbxt); + + /** + * 新增等保系统 + * + * @param tcDbxt 等保系统 + * @return 结果 + */ + public int insertTcDbxt(TcDbxt tcDbxt); + + /** + * 修改等保系统 + * + * @param tcDbxt 等保系统 + * @return 结果 + */ + public int updateTcDbxt(TcDbxt tcDbxt); + + /** + * 删除等保系统 + * + * @param id 等保系统主键 + * @return 结果 + */ + public int deleteTcDbxtById(Long id); + + /** + * 批量删除等保系统 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcDbxtByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcFbqkMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcFbqkMapper.java new file mode 100644 index 00000000..f883ff0b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcFbqkMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcFbqk; + +/** + * 分布情况 tc_fbqkMapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcFbqkMapper +{ + /** + * 查询分布情况 tc_fbqk + * + * @param id 分布情况 tc_fbqk主键 + * @return 分布情况 tc_fbqk + */ + public TcFbqk selectTcFbqkById(Long id); + + /** + * 查询分布情况 tc_fbqk列表 + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 分布情况 tc_fbqk集合 + */ + public List selectTcFbqkList(TcFbqk tcFbqk); + + /** + * 新增分布情况 tc_fbqk + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 结果 + */ + public int insertTcFbqk(TcFbqk tcFbqk); + + /** + * 修改分布情况 tc_fbqk + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 结果 + */ + public int updateTcFbqk(TcFbqk tcFbqk); + + /** + * 删除分布情况 tc_fbqk + * + * @param id 分布情况 tc_fbqk主键 + * @return 结果 + */ + public int deleteTcFbqkById(Long id); + + /** + * 批量删除分布情况 tc_fbqk + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcFbqkByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcIdcdwMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcIdcdwMapper.java new file mode 100644 index 00000000..785a755c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcIdcdwMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcIdcdw; + +/** + * IDC单位Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcIdcdwMapper +{ + /** + * 查询 IDC单位 + * + * @param id IDC单位主键 + * @return IDC单位 + */ + public TcIdcdw selectTcIdcdwById(Long id); + + /** + * 查询 IDC单位列表 + * + * @param tcIdcdw IDC单位 + * @return IDC单位集合 + */ + public List selectTcIdcdwList(TcIdcdw tcIdcdw); + + /** + * 新增 IDC单位 + * + * @param tcIdcdw IDC单位 + * @return 结果 + */ + public int insertTcIdcdw(TcIdcdw tcIdcdw); + + /** + * 修改 IDC单位 + * + * @param tcIdcdw IDC单位 + * @return 结果 + */ + public int updateTcIdcdw(TcIdcdw tcIdcdw); + + /** + * 删除 IDC单位 + * + * @param id IDC单位主键 + * @return 结果 + */ + public int deleteTcIdcdwById(Long id); + + /** + * 批量删除 IDC单位 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcIdcdwByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcJgdwMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcJgdwMapper.java new file mode 100644 index 00000000..9fa9c95c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcJgdwMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcJgdw; + +/** + * 监管单位Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcJgdwMapper +{ + /** + * 查询监管单位 + * + * @param id 监管单位主键 + * @return 监管单位 + */ + public TcJgdw selectTcJgdwById(Long id); + + /** + * 查询监管单位列表 + * + * @param tcJgdw 监管单位 + * @return 监管单位集合 + */ + public List selectTcJgdwList(TcJgdw tcJgdw); + + /** + * 新增监管单位 + * + * @param tcJgdw 监管单位 + * @return 结果 + */ + public int insertTcJgdw(TcJgdw tcJgdw); + + /** + * 修改监管单位 + * + * @param tcJgdw 监管单位 + * @return 结果 + */ + public int updateTcJgdw(TcJgdw tcJgdw); + + /** + * 删除监管单位 + * + * @param id 监管单位主键 + * @return 结果 + */ + public int deleteTcJgdwById(Long id); + + /** + * 批量删除监管单位 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcJgdwByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcMapMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcMapMapper.java new file mode 100644 index 00000000..48d5074d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcMapMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcMap; + +/** + * 地图统计Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcMapMapper +{ + /** + * 查询地图统计 + * + * @param id 地图统计主键 + * @return 地图统计 + */ + public TcMap selectTcMapById(Long id); + + /** + * 查询地图统计列表 + * + * @param tcMap 地图统计 + * @return 地图统计集合 + */ + public List selectTcMapList(TcMap tcMap); + + /** + * 新增地图统计 + * + * @param tcMap 地图统计 + * @return 结果 + */ + public int insertTcMap(TcMap tcMap); + + /** + * 修改地图统计 + * + * @param tcMap 地图统计 + * @return 结果 + */ + public int updateTcMap(TcMap tcMap); + + /** + * 删除地图统计 + * + * @param id 地图统计主键 + * @return 结果 + */ + public int deleteTcMapById(Long id); + + /** + * 批量删除地图统计 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcMapByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSdtbMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSdtbMapper.java new file mode 100644 index 00000000..fe300992 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSdtbMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcSdtb; + +/** + * 属地通报Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcSdtbMapper +{ + /** + * 查询属地通报 + * + * @param id 属地通报主键 + * @return 属地通报 + */ + public TcSdtb selectTcSdtbById(Long id); + + /** + * 查询属地通报列表 + * + * @param tcSdtb 属地通报 + * @return 属地通报集合 + */ + public List selectTcSdtbList(TcSdtb tcSdtb); + + /** + * 新增属地通报 + * + * @param tcSdtb 属地通报 + * @return 结果 + */ + public int insertTcSdtb(TcSdtb tcSdtb); + + /** + * 修改属地通报 + * + * @param tcSdtb 属地通报 + * @return 结果 + */ + public int updateTcSdtb(TcSdtb tcSdtb); + + /** + * 删除属地通报 + * + * @param id 属地通报主键 + * @return 结果 + */ + public int deleteTcSdtbById(Long id); + + /** + * 批量删除属地通报 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcSdtbByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSgjipTop5Mapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSgjipTop5Mapper.java new file mode 100644 index 00000000..9ef56b80 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSgjipTop5Mapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcSgjipTop5; + +/** + * 受攻击IPTOP5Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcSgjipTop5Mapper +{ + /** + * 查询受攻击IPTOP5 + * + * @param id 受攻击IPTOP5主键 + * @return 受攻击IPTOP5 + */ + public TcSgjipTop5 selectTcSgjipTop5ById(Long id); + + /** + * 查询受攻击IPTOP5列表 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 受攻击IPTOP5集合 + */ + public List selectTcSgjipTop5List(TcSgjipTop5 tcSgjipTop5); + + /** + * 新增受攻击IPTOP5 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 结果 + */ + public int insertTcSgjipTop5(TcSgjipTop5 tcSgjipTop5); + + /** + * 修改受攻击IPTOP5 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 结果 + */ + public int updateTcSgjipTop5(TcSgjipTop5 tcSgjipTop5); + + /** + * 删除受攻击IPTOP5 + * + * @param id 受攻击IPTOP5主键 + * @return 结果 + */ + public int deleteTcSgjipTop5ById(Long id); + + /** + * 批量删除受攻击IPTOP5 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcSgjipTop5ByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcTbczMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcTbczMapper.java new file mode 100644 index 00000000..07fbb93d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcTbczMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcTbcz; + +/** + * 通报处置Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcTbczMapper +{ + /** + * 查询通报处置 + * + * @param id 通报处置主键 + * @return 通报处置 + */ + public TcTbcz selectTcTbczById(Long id); + + /** + * 查询通报处置列表 + * + * @param tcTbcz 通报处置 + * @return 通报处置集合 + */ + public List selectTcTbczList(TcTbcz tcTbcz); + + /** + * 新增通报处置 + * + * @param tcTbcz 通报处置 + * @return 结果 + */ + public int insertTcTbcz(TcTbcz tcTbcz); + + /** + * 修改通报处置 + * + * @param tcTbcz 通报处置 + * @return 结果 + */ + public int updateTcTbcz(TcTbcz tcTbcz); + + /** + * 删除通报处置 + * + * @param id 通报处置主键 + * @return 结果 + */ + public int deleteTcTbczById(Long id); + + /** + * 批量删除通报处置 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcTbczByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcTbwcMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcTbwcMapper.java new file mode 100644 index 00000000..ec3f3cfa --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcTbwcMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcTbwc; + +/** + * 通报完成情况Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcTbwcMapper +{ + /** + * 查询通报完成情况 + * + * @param id 通报完成情况主键 + * @return 通报完成情况 + */ + public TcTbwc selectTcTbwcById(Long id); + + /** + * 查询通报完成情况列表 + * + * @param tcTbwc 通报完成情况 + * @return 通报完成情况集合 + */ + public List selectTcTbwcList(TcTbwc tcTbwc); + + /** + * 新增通报完成情况 + * + * @param tcTbwc 通报完成情况 + * @return 结果 + */ + public int insertTcTbwc(TcTbwc tcTbwc); + + /** + * 修改通报完成情况 + * + * @param tcTbwc 通报完成情况 + * @return 结果 + */ + public int updateTcTbwc(TcTbwc tcTbwc); + + /** + * 删除通报完成情况 + * + * @param id 通报完成情况主键 + * @return 结果 + */ + public int deleteTcTbwcById(Long id); + + /** + * 批量删除通报完成情况 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcTbwcByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgtjMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgtjMapper.java new file mode 100644 index 00000000..3f73fd8f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgtjMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcWljgtj; + +/** + * 网络监测统计Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcWljgtjMapper +{ + /** + * 查询网络监测统计 + * + * @param id 网络监测统计主键 + * @return 网络监测统计 + */ + public TcWljgtj selectTcWljgtjById(Long id); + + /** + * 查询网络监测统计列表 + * + * @param tcWljgtj 网络监测统计 + * @return 网络监测统计集合 + */ + public List selectTcWljgtjList(TcWljgtj tcWljgtj); + + /** + * 新增网络监测统计 + * + * @param tcWljgtj 网络监测统计 + * @return 结果 + */ + public int insertTcWljgtj(TcWljgtj tcWljgtj); + + /** + * 修改网络监测统计 + * + * @param tcWljgtj 网络监测统计 + * @return 结果 + */ + public int updateTcWljgtj(TcWljgtj tcWljgtj); + + /** + * 删除网络监测统计 + * + * @param id 网络监测统计主键 + * @return 结果 + */ + public int deleteTcWljgtjById(Long id); + + /** + * 批量删除网络监测统计 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcWljgtjByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcXtjcMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcXtjcMapper.java new file mode 100644 index 00000000..e5208f11 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcXtjcMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcXtjc; + +/** + * 系统监测Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcXtjcMapper +{ + /** + * 查询系统监测 + * + * @param id 系统监测主键 + * @return 系统监测 + */ + public TcXtjc selectTcXtjcById(Long id); + + /** + * 查询系统监测列表 + * + * @param tcXtjc 系统监测 + * @return 系统监测集合 + */ + public List selectTcXtjcList(TcXtjc tcXtjc); + + /** + * 新增系统监测 + * + * @param tcXtjc 系统监测 + * @return 结果 + */ + public int insertTcXtjc(TcXtjc tcXtjc); + + /** + * 修改系统监测 + * + * @param tcXtjc 系统监测 + * @return 结果 + */ + public int updateTcXtjc(TcXtjc tcXtjc); + + /** + * 删除系统监测 + * + * @param id 系统监测主键 + * @return 结果 + */ + public int deleteTcXtjcById(Long id); + + /** + * 批量删除系统监测 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcXtjcByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZfwzMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZfwzMapper.java new file mode 100644 index 00000000..e74c9875 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZfwzMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcZfwz; + +/** + * 政府网站Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcZfwzMapper +{ + /** + * 查询政府网站 + * + * @param id 政府网站主键 + * @return 政府网站 + */ + public TcZfwz selectTcZfwzById(Long id); + + /** + * 查询政府网站列表 + * + * @param tcZfwz 政府网站 + * @return 政府网站集合 + */ + public List selectTcZfwzList(TcZfwz tcZfwz); + + /** + * 新增政府网站 + * + * @param tcZfwz 政府网站 + * @return 结果 + */ + public int insertTcZfwz(TcZfwz tcZfwz); + + /** + * 修改政府网站 + * + * @param tcZfwz 政府网站 + * @return 结果 + */ + public int updateTcZfwz(TcZfwz tcZfwz); + + /** + * 删除政府网站 + * + * @param id 政府网站主键 + * @return 结果 + */ + public int deleteTcZfwzById(Long id); + + /** + * 批量删除政府网站 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcZfwzByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZxyhMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZxyhMapper.java new file mode 100644 index 00000000..b415ee7f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZxyhMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcZxyh; + +/** + * 最新隐患Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcZxyhMapper +{ + /** + * 查询最新隐患 + * + * @param id 最新隐患主键 + * @return 最新隐患 + */ + public TcZxyh selectTcZxyhById(Long id); + + /** + * 查询最新隐患列表 + * + * @param tcZxyh 最新隐患 + * @return 最新隐患集合 + */ + public List selectTcZxyhList(TcZxyh tcZxyh); + + /** + * 新增最新隐患 + * + * @param tcZxyh 最新隐患 + * @return 结果 + */ + public int insertTcZxyh(TcZxyh tcZxyh); + + /** + * 修改最新隐患 + * + * @param tcZxyh 最新隐患 + * @return 结果 + */ + public int updateTcZxyh(TcZxyh tcZxyh); + + /** + * 删除最新隐患 + * + * @param id 最新隐患主键 + * @return 结果 + */ + public int deleteTcZxyhById(Long id); + + /** + * 批量删除最新隐患 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcZxyhByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcAqyhService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcAqyhService.java new file mode 100644 index 00000000..f7baa72f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcAqyhService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcAqyh; + +/** + * 安全隐患 tc_aqyhService接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcAqyhService +{ + /** + * 查询安全隐患 tc_aqyh + * + * @param id 安全隐患 tc_aqyh主键 + * @return 安全隐患 tc_aqyh + */ + public TcAqyh selectTcAqyhById(Long id); + + /** + * 查询安全隐患 tc_aqyh列表 + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 安全隐患 tc_aqyh集合 + */ + public List selectTcAqyhList(TcAqyh tcAqyh); + + /** + * 新增安全隐患 tc_aqyh + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 结果 + */ + public int insertTcAqyh(TcAqyh tcAqyh); + + /** + * 修改安全隐患 tc_aqyh + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 结果 + */ + public int updateTcAqyh(TcAqyh tcAqyh); + + /** + * 批量删除安全隐患 tc_aqyh + * + * @param ids 需要删除的安全隐患 tc_aqyh主键集合 + * @return 结果 + */ + public int deleteTcAqyhByIds(Long[] ids); + + /** + * 删除安全隐患 tc_aqyh信息 + * + * @param id 安全隐患 tc_aqyh主键 + * @return 结果 + */ + public int deleteTcAqyhById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcBmtbService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcBmtbService.java new file mode 100644 index 00000000..681ac9a6 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcBmtbService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcBmtb; + +/** + * 部门通报Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcBmtbService +{ + /** + * 查询部门通报 + * + * @param id 部门通报主键 + * @return 部门通报 + */ + public TcBmtb selectTcBmtbById(Long id); + + /** + * 查询部门通报列表 + * + * @param tcBmtb 部门通报 + * @return 部门通报集合 + */ + public List selectTcBmtbList(TcBmtb tcBmtb); + + /** + * 新增部门通报 + * + * @param tcBmtb 部门通报 + * @return 结果 + */ + public int insertTcBmtb(TcBmtb tcBmtb); + + /** + * 修改部门通报 + * + * @param tcBmtb 部门通报 + * @return 结果 + */ + public int updateTcBmtb(TcBmtb tcBmtb); + + /** + * 批量删除部门通报 + * + * @param ids 需要删除的部门通报主键集合 + * @return 结果 + */ + public int deleteTcBmtbByIds(Long[] ids); + + /** + * 删除部门通报信息 + * + * @param id 部门通报主键 + * @return 结果 + */ + public int deleteTcBmtbById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDbdwService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDbdwService.java new file mode 100644 index 00000000..6ea42c38 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDbdwService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcDbdw; + +/** + * 等保单位Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcDbdwService +{ + /** + * 查询等保单位 + * + * @param id 等保单位主键 + * @return 等保单位 + */ + public TcDbdw selectTcDbdwById(Long id); + + /** + * 查询等保单位列表 + * + * @param tcDbdw 等保单位 + * @return 等保单位集合 + */ + public List selectTcDbdwList(TcDbdw tcDbdw); + + /** + * 新增等保单位 + * + * @param tcDbdw 等保单位 + * @return 结果 + */ + public int insertTcDbdw(TcDbdw tcDbdw); + + /** + * 修改等保单位 + * + * @param tcDbdw 等保单位 + * @return 结果 + */ + public int updateTcDbdw(TcDbdw tcDbdw); + + /** + * 批量删除等保单位 + * + * @param ids 需要删除的等保单位主键集合 + * @return 结果 + */ + public int deleteTcDbdwByIds(Long[] ids); + + /** + * 删除等保单位信息 + * + * @param id 等保单位主键 + * @return 结果 + */ + public int deleteTcDbdwById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDbxtService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDbxtService.java new file mode 100644 index 00000000..607194f2 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDbxtService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcDbxt; + +/** + * 等保系统Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcDbxtService +{ + /** + * 查询等保系统 + * + * @param id 等保系统主键 + * @return 等保系统 + */ + public TcDbxt selectTcDbxtById(Long id); + + /** + * 查询等保系统列表 + * + * @param tcDbxt 等保系统 + * @return 等保系统集合 + */ + public List selectTcDbxtList(TcDbxt tcDbxt); + + /** + * 新增等保系统 + * + * @param tcDbxt 等保系统 + * @return 结果 + */ + public int insertTcDbxt(TcDbxt tcDbxt); + + /** + * 修改等保系统 + * + * @param tcDbxt 等保系统 + * @return 结果 + */ + public int updateTcDbxt(TcDbxt tcDbxt); + + /** + * 批量删除等保系统 + * + * @param ids 需要删除的等保系统主键集合 + * @return 结果 + */ + public int deleteTcDbxtByIds(Long[] ids); + + /** + * 删除等保系统信息 + * + * @param id 等保系统主键 + * @return 结果 + */ + public int deleteTcDbxtById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcFbqkService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcFbqkService.java new file mode 100644 index 00000000..e5267e1b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcFbqkService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcFbqk; + +/** + * 分布情况 tc_fbqkService接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcFbqkService +{ + /** + * 查询分布情况 tc_fbqk + * + * @param id 分布情况 tc_fbqk主键 + * @return 分布情况 tc_fbqk + */ + public TcFbqk selectTcFbqkById(Long id); + + /** + * 查询分布情况 tc_fbqk列表 + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 分布情况 tc_fbqk集合 + */ + public List selectTcFbqkList(TcFbqk tcFbqk); + + /** + * 新增分布情况 tc_fbqk + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 结果 + */ + public int insertTcFbqk(TcFbqk tcFbqk); + + /** + * 修改分布情况 tc_fbqk + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 结果 + */ + public int updateTcFbqk(TcFbqk tcFbqk); + + /** + * 批量删除分布情况 tc_fbqk + * + * @param ids 需要删除的分布情况 tc_fbqk主键集合 + * @return 结果 + */ + public int deleteTcFbqkByIds(Long[] ids); + + /** + * 删除分布情况 tc_fbqk信息 + * + * @param id 分布情况 tc_fbqk主键 + * @return 结果 + */ + public int deleteTcFbqkById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcIdcdwService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcIdcdwService.java new file mode 100644 index 00000000..c213ff3f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcIdcdwService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcIdcdw; + +/** + * IDC单位Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcIdcdwService +{ + /** + * 查询 IDC单位 + * + * @param id IDC单位主键 + * @return IDC单位 + */ + public TcIdcdw selectTcIdcdwById(Long id); + + /** + * 查询 IDC单位列表 + * + * @param tcIdcdw IDC单位 + * @return IDC单位集合 + */ + public List selectTcIdcdwList(TcIdcdw tcIdcdw); + + /** + * 新增 IDC单位 + * + * @param tcIdcdw IDC单位 + * @return 结果 + */ + public int insertTcIdcdw(TcIdcdw tcIdcdw); + + /** + * 修改 IDC单位 + * + * @param tcIdcdw IDC单位 + * @return 结果 + */ + public int updateTcIdcdw(TcIdcdw tcIdcdw); + + /** + * 批量删除 IDC单位 + * + * @param ids 需要删除的 IDC单位主键集合 + * @return 结果 + */ + public int deleteTcIdcdwByIds(Long[] ids); + + /** + * 删除 IDC单位信息 + * + * @param id IDC单位主键 + * @return 结果 + */ + public int deleteTcIdcdwById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcJgdwService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcJgdwService.java new file mode 100644 index 00000000..99e4c31d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcJgdwService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcJgdw; + +/** + * 监管单位Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcJgdwService +{ + /** + * 查询监管单位 + * + * @param id 监管单位主键 + * @return 监管单位 + */ + public TcJgdw selectTcJgdwById(Long id); + + /** + * 查询监管单位列表 + * + * @param tcJgdw 监管单位 + * @return 监管单位集合 + */ + public List selectTcJgdwList(TcJgdw tcJgdw); + + /** + * 新增监管单位 + * + * @param tcJgdw 监管单位 + * @return 结果 + */ + public int insertTcJgdw(TcJgdw tcJgdw); + + /** + * 修改监管单位 + * + * @param tcJgdw 监管单位 + * @return 结果 + */ + public int updateTcJgdw(TcJgdw tcJgdw); + + /** + * 批量删除监管单位 + * + * @param ids 需要删除的监管单位主键集合 + * @return 结果 + */ + public int deleteTcJgdwByIds(Long[] ids); + + /** + * 删除监管单位信息 + * + * @param id 监管单位主键 + * @return 结果 + */ + public int deleteTcJgdwById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcMapService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcMapService.java new file mode 100644 index 00000000..f3fe6489 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcMapService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcMap; + +/** + * 地图统计Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcMapService +{ + /** + * 查询地图统计 + * + * @param id 地图统计主键 + * @return 地图统计 + */ + public TcMap selectTcMapById(Long id); + + /** + * 查询地图统计列表 + * + * @param tcMap 地图统计 + * @return 地图统计集合 + */ + public List selectTcMapList(TcMap tcMap); + + /** + * 新增地图统计 + * + * @param tcMap 地图统计 + * @return 结果 + */ + public int insertTcMap(TcMap tcMap); + + /** + * 修改地图统计 + * + * @param tcMap 地图统计 + * @return 结果 + */ + public int updateTcMap(TcMap tcMap); + + /** + * 批量删除地图统计 + * + * @param ids 需要删除的地图统计主键集合 + * @return 结果 + */ + public int deleteTcMapByIds(Long[] ids); + + /** + * 删除地图统计信息 + * + * @param id 地图统计主键 + * @return 结果 + */ + public int deleteTcMapById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSdtbService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSdtbService.java new file mode 100644 index 00000000..738ad7bf --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSdtbService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcSdtb; + +/** + * 属地通报Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcSdtbService +{ + /** + * 查询属地通报 + * + * @param id 属地通报主键 + * @return 属地通报 + */ + public TcSdtb selectTcSdtbById(Long id); + + /** + * 查询属地通报列表 + * + * @param tcSdtb 属地通报 + * @return 属地通报集合 + */ + public List selectTcSdtbList(TcSdtb tcSdtb); + + /** + * 新增属地通报 + * + * @param tcSdtb 属地通报 + * @return 结果 + */ + public int insertTcSdtb(TcSdtb tcSdtb); + + /** + * 修改属地通报 + * + * @param tcSdtb 属地通报 + * @return 结果 + */ + public int updateTcSdtb(TcSdtb tcSdtb); + + /** + * 批量删除属地通报 + * + * @param ids 需要删除的属地通报主键集合 + * @return 结果 + */ + public int deleteTcSdtbByIds(Long[] ids); + + /** + * 删除属地通报信息 + * + * @param id 属地通报主键 + * @return 结果 + */ + public int deleteTcSdtbById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSgjipTop5Service.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSgjipTop5Service.java new file mode 100644 index 00000000..43bc0fe5 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSgjipTop5Service.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcSgjipTop5; + +/** + * 受攻击IPTOP5Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcSgjipTop5Service +{ + /** + * 查询受攻击IPTOP5 + * + * @param id 受攻击IPTOP5主键 + * @return 受攻击IPTOP5 + */ + public TcSgjipTop5 selectTcSgjipTop5ById(Long id); + + /** + * 查询受攻击IPTOP5列表 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 受攻击IPTOP5集合 + */ + public List selectTcSgjipTop5List(TcSgjipTop5 tcSgjipTop5); + + /** + * 新增受攻击IPTOP5 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 结果 + */ + public int insertTcSgjipTop5(TcSgjipTop5 tcSgjipTop5); + + /** + * 修改受攻击IPTOP5 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 结果 + */ + public int updateTcSgjipTop5(TcSgjipTop5 tcSgjipTop5); + + /** + * 批量删除受攻击IPTOP5 + * + * @param ids 需要删除的受攻击IPTOP5主键集合 + * @return 结果 + */ + public int deleteTcSgjipTop5ByIds(Long[] ids); + + /** + * 删除受攻击IPTOP5信息 + * + * @param id 受攻击IPTOP5主键 + * @return 结果 + */ + public int deleteTcSgjipTop5ById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcTbczService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcTbczService.java new file mode 100644 index 00000000..a5ab1b0b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcTbczService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcTbcz; + +/** + * 通报处置Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcTbczService +{ + /** + * 查询通报处置 + * + * @param id 通报处置主键 + * @return 通报处置 + */ + public TcTbcz selectTcTbczById(Long id); + + /** + * 查询通报处置列表 + * + * @param tcTbcz 通报处置 + * @return 通报处置集合 + */ + public List selectTcTbczList(TcTbcz tcTbcz); + + /** + * 新增通报处置 + * + * @param tcTbcz 通报处置 + * @return 结果 + */ + public int insertTcTbcz(TcTbcz tcTbcz); + + /** + * 修改通报处置 + * + * @param tcTbcz 通报处置 + * @return 结果 + */ + public int updateTcTbcz(TcTbcz tcTbcz); + + /** + * 批量删除通报处置 + * + * @param ids 需要删除的通报处置主键集合 + * @return 结果 + */ + public int deleteTcTbczByIds(Long[] ids); + + /** + * 删除通报处置信息 + * + * @param id 通报处置主键 + * @return 结果 + */ + public int deleteTcTbczById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcTbwcService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcTbwcService.java new file mode 100644 index 00000000..313b7eae --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcTbwcService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcTbwc; + +/** + * 通报完成情况Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcTbwcService +{ + /** + * 查询通报完成情况 + * + * @param id 通报完成情况主键 + * @return 通报完成情况 + */ + public TcTbwc selectTcTbwcById(Long id); + + /** + * 查询通报完成情况列表 + * + * @param tcTbwc 通报完成情况 + * @return 通报完成情况集合 + */ + public List selectTcTbwcList(TcTbwc tcTbwc); + + /** + * 新增通报完成情况 + * + * @param tcTbwc 通报完成情况 + * @return 结果 + */ + public int insertTcTbwc(TcTbwc tcTbwc); + + /** + * 修改通报完成情况 + * + * @param tcTbwc 通报完成情况 + * @return 结果 + */ + public int updateTcTbwc(TcTbwc tcTbwc); + + /** + * 批量删除通报完成情况 + * + * @param ids 需要删除的通报完成情况主键集合 + * @return 结果 + */ + public int deleteTcTbwcByIds(Long[] ids); + + /** + * 删除通报完成情况信息 + * + * @param id 通报完成情况主键 + * @return 结果 + */ + public int deleteTcTbwcById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgtjService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgtjService.java new file mode 100644 index 00000000..f4cf8e3d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgtjService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcWljgtj; + +/** + * 网络监测统计Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcWljgtjService +{ + /** + * 查询网络监测统计 + * + * @param id 网络监测统计主键 + * @return 网络监测统计 + */ + public TcWljgtj selectTcWljgtjById(Long id); + + /** + * 查询网络监测统计列表 + * + * @param tcWljgtj 网络监测统计 + * @return 网络监测统计集合 + */ + public List selectTcWljgtjList(TcWljgtj tcWljgtj); + + /** + * 新增网络监测统计 + * + * @param tcWljgtj 网络监测统计 + * @return 结果 + */ + public int insertTcWljgtj(TcWljgtj tcWljgtj); + + /** + * 修改网络监测统计 + * + * @param tcWljgtj 网络监测统计 + * @return 结果 + */ + public int updateTcWljgtj(TcWljgtj tcWljgtj); + + /** + * 批量删除网络监测统计 + * + * @param ids 需要删除的网络监测统计主键集合 + * @return 结果 + */ + public int deleteTcWljgtjByIds(Long[] ids); + + /** + * 删除网络监测统计信息 + * + * @param id 网络监测统计主键 + * @return 结果 + */ + public int deleteTcWljgtjById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcXtjcService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcXtjcService.java new file mode 100644 index 00000000..710ed74a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcXtjcService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcXtjc; + +/** + * 系统监测Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcXtjcService +{ + /** + * 查询系统监测 + * + * @param id 系统监测主键 + * @return 系统监测 + */ + public TcXtjc selectTcXtjcById(Long id); + + /** + * 查询系统监测列表 + * + * @param tcXtjc 系统监测 + * @return 系统监测集合 + */ + public List selectTcXtjcList(TcXtjc tcXtjc); + + /** + * 新增系统监测 + * + * @param tcXtjc 系统监测 + * @return 结果 + */ + public int insertTcXtjc(TcXtjc tcXtjc); + + /** + * 修改系统监测 + * + * @param tcXtjc 系统监测 + * @return 结果 + */ + public int updateTcXtjc(TcXtjc tcXtjc); + + /** + * 批量删除系统监测 + * + * @param ids 需要删除的系统监测主键集合 + * @return 结果 + */ + public int deleteTcXtjcByIds(Long[] ids); + + /** + * 删除系统监测信息 + * + * @param id 系统监测主键 + * @return 结果 + */ + public int deleteTcXtjcById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZfwzService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZfwzService.java new file mode 100644 index 00000000..74244233 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZfwzService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcZfwz; + +/** + * 政府网站Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcZfwzService +{ + /** + * 查询政府网站 + * + * @param id 政府网站主键 + * @return 政府网站 + */ + public TcZfwz selectTcZfwzById(Long id); + + /** + * 查询政府网站列表 + * + * @param tcZfwz 政府网站 + * @return 政府网站集合 + */ + public List selectTcZfwzList(TcZfwz tcZfwz); + + /** + * 新增政府网站 + * + * @param tcZfwz 政府网站 + * @return 结果 + */ + public int insertTcZfwz(TcZfwz tcZfwz); + + /** + * 修改政府网站 + * + * @param tcZfwz 政府网站 + * @return 结果 + */ + public int updateTcZfwz(TcZfwz tcZfwz); + + /** + * 批量删除政府网站 + * + * @param ids 需要删除的政府网站主键集合 + * @return 结果 + */ + public int deleteTcZfwzByIds(Long[] ids); + + /** + * 删除政府网站信息 + * + * @param id 政府网站主键 + * @return 结果 + */ + public int deleteTcZfwzById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZxyhService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZxyhService.java new file mode 100644 index 00000000..745aece7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZxyhService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcZxyh; + +/** + * 最新隐患Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcZxyhService +{ + /** + * 查询最新隐患 + * + * @param id 最新隐患主键 + * @return 最新隐患 + */ + public TcZxyh selectTcZxyhById(Long id); + + /** + * 查询最新隐患列表 + * + * @param tcZxyh 最新隐患 + * @return 最新隐患集合 + */ + public List selectTcZxyhList(TcZxyh tcZxyh); + + /** + * 新增最新隐患 + * + * @param tcZxyh 最新隐患 + * @return 结果 + */ + public int insertTcZxyh(TcZxyh tcZxyh); + + /** + * 修改最新隐患 + * + * @param tcZxyh 最新隐患 + * @return 结果 + */ + public int updateTcZxyh(TcZxyh tcZxyh); + + /** + * 批量删除最新隐患 + * + * @param ids 需要删除的最新隐患主键集合 + * @return 结果 + */ + public int deleteTcZxyhByIds(Long[] ids); + + /** + * 删除最新隐患信息 + * + * @param id 最新隐患主键 + * @return 结果 + */ + public int deleteTcZxyhById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcAqyhServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcAqyhServiceImpl.java new file mode 100644 index 00000000..2c403d35 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcAqyhServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcAqyhMapper; +import com.ruoyi.tcZz.domain.TcAqyh; +import com.ruoyi.tcZz.service.ITcAqyhService; + +/** + * 安全隐患 tc_aqyhService业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcAqyhServiceImpl implements ITcAqyhService +{ + @Autowired + private TcAqyhMapper tcAqyhMapper; + + /** + * 查询安全隐患 tc_aqyh + * + * @param id 安全隐患 tc_aqyh主键 + * @return 安全隐患 tc_aqyh + */ + @Override + public TcAqyh selectTcAqyhById(Long id) + { + return tcAqyhMapper.selectTcAqyhById(id); + } + + /** + * 查询安全隐患 tc_aqyh列表 + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 安全隐患 tc_aqyh + */ + @Override + public List selectTcAqyhList(TcAqyh tcAqyh) + { + return tcAqyhMapper.selectTcAqyhList(tcAqyh); + } + + /** + * 新增安全隐患 tc_aqyh + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 结果 + */ + @Override + public int insertTcAqyh(TcAqyh tcAqyh) + { + tcAqyh.setCreateTime(DateUtils.getNowDate()); + return tcAqyhMapper.insertTcAqyh(tcAqyh); + } + + /** + * 修改安全隐患 tc_aqyh + * + * @param tcAqyh 安全隐患 tc_aqyh + * @return 结果 + */ + @Override + public int updateTcAqyh(TcAqyh tcAqyh) + { + tcAqyh.setUpdateTime(DateUtils.getNowDate()); + return tcAqyhMapper.updateTcAqyh(tcAqyh); + } + + /** + * 批量删除安全隐患 tc_aqyh + * + * @param ids 需要删除的安全隐患 tc_aqyh主键 + * @return 结果 + */ + @Override + public int deleteTcAqyhByIds(Long[] ids) + { + return tcAqyhMapper.deleteTcAqyhByIds(ids); + } + + /** + * 删除安全隐患 tc_aqyh信息 + * + * @param id 安全隐患 tc_aqyh主键 + * @return 结果 + */ + @Override + public int deleteTcAqyhById(Long id) + { + return tcAqyhMapper.deleteTcAqyhById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcBmtbServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcBmtbServiceImpl.java new file mode 100644 index 00000000..218fa1c9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcBmtbServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcBmtbMapper; +import com.ruoyi.tcZz.domain.TcBmtb; +import com.ruoyi.tcZz.service.ITcBmtbService; + +/** + * 部门通报Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcBmtbServiceImpl implements ITcBmtbService +{ + @Autowired + private TcBmtbMapper tcBmtbMapper; + + /** + * 查询部门通报 + * + * @param id 部门通报主键 + * @return 部门通报 + */ + @Override + public TcBmtb selectTcBmtbById(Long id) + { + return tcBmtbMapper.selectTcBmtbById(id); + } + + /** + * 查询部门通报列表 + * + * @param tcBmtb 部门通报 + * @return 部门通报 + */ + @Override + public List selectTcBmtbList(TcBmtb tcBmtb) + { + return tcBmtbMapper.selectTcBmtbList(tcBmtb); + } + + /** + * 新增部门通报 + * + * @param tcBmtb 部门通报 + * @return 结果 + */ + @Override + public int insertTcBmtb(TcBmtb tcBmtb) + { + tcBmtb.setCreateTime(DateUtils.getNowDate()); + return tcBmtbMapper.insertTcBmtb(tcBmtb); + } + + /** + * 修改部门通报 + * + * @param tcBmtb 部门通报 + * @return 结果 + */ + @Override + public int updateTcBmtb(TcBmtb tcBmtb) + { + tcBmtb.setUpdateTime(DateUtils.getNowDate()); + return tcBmtbMapper.updateTcBmtb(tcBmtb); + } + + /** + * 批量删除部门通报 + * + * @param ids 需要删除的部门通报主键 + * @return 结果 + */ + @Override + public int deleteTcBmtbByIds(Long[] ids) + { + return tcBmtbMapper.deleteTcBmtbByIds(ids); + } + + /** + * 删除部门通报信息 + * + * @param id 部门通报主键 + * @return 结果 + */ + @Override + public int deleteTcBmtbById(Long id) + { + return tcBmtbMapper.deleteTcBmtbById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDbdwServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDbdwServiceImpl.java new file mode 100644 index 00000000..be81ea87 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDbdwServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcDbdwMapper; +import com.ruoyi.tcZz.domain.TcDbdw; +import com.ruoyi.tcZz.service.ITcDbdwService; + +/** + * 等保单位Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcDbdwServiceImpl implements ITcDbdwService +{ + @Autowired + private TcDbdwMapper tcDbdwMapper; + + /** + * 查询等保单位 + * + * @param id 等保单位主键 + * @return 等保单位 + */ + @Override + public TcDbdw selectTcDbdwById(Long id) + { + return tcDbdwMapper.selectTcDbdwById(id); + } + + /** + * 查询等保单位列表 + * + * @param tcDbdw 等保单位 + * @return 等保单位 + */ + @Override + public List selectTcDbdwList(TcDbdw tcDbdw) + { + return tcDbdwMapper.selectTcDbdwList(tcDbdw); + } + + /** + * 新增等保单位 + * + * @param tcDbdw 等保单位 + * @return 结果 + */ + @Override + public int insertTcDbdw(TcDbdw tcDbdw) + { + tcDbdw.setCreateTime(DateUtils.getNowDate()); + return tcDbdwMapper.insertTcDbdw(tcDbdw); + } + + /** + * 修改等保单位 + * + * @param tcDbdw 等保单位 + * @return 结果 + */ + @Override + public int updateTcDbdw(TcDbdw tcDbdw) + { + tcDbdw.setUpdateTime(DateUtils.getNowDate()); + return tcDbdwMapper.updateTcDbdw(tcDbdw); + } + + /** + * 批量删除等保单位 + * + * @param ids 需要删除的等保单位主键 + * @return 结果 + */ + @Override + public int deleteTcDbdwByIds(Long[] ids) + { + return tcDbdwMapper.deleteTcDbdwByIds(ids); + } + + /** + * 删除等保单位信息 + * + * @param id 等保单位主键 + * @return 结果 + */ + @Override + public int deleteTcDbdwById(Long id) + { + return tcDbdwMapper.deleteTcDbdwById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDbxtServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDbxtServiceImpl.java new file mode 100644 index 00000000..d5232976 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDbxtServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcDbxtMapper; +import com.ruoyi.tcZz.domain.TcDbxt; +import com.ruoyi.tcZz.service.ITcDbxtService; + +/** + * 等保系统Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcDbxtServiceImpl implements ITcDbxtService +{ + @Autowired + private TcDbxtMapper tcDbxtMapper; + + /** + * 查询等保系统 + * + * @param id 等保系统主键 + * @return 等保系统 + */ + @Override + public TcDbxt selectTcDbxtById(Long id) + { + return tcDbxtMapper.selectTcDbxtById(id); + } + + /** + * 查询等保系统列表 + * + * @param tcDbxt 等保系统 + * @return 等保系统 + */ + @Override + public List selectTcDbxtList(TcDbxt tcDbxt) + { + return tcDbxtMapper.selectTcDbxtList(tcDbxt); + } + + /** + * 新增等保系统 + * + * @param tcDbxt 等保系统 + * @return 结果 + */ + @Override + public int insertTcDbxt(TcDbxt tcDbxt) + { + tcDbxt.setCreateTime(DateUtils.getNowDate()); + return tcDbxtMapper.insertTcDbxt(tcDbxt); + } + + /** + * 修改等保系统 + * + * @param tcDbxt 等保系统 + * @return 结果 + */ + @Override + public int updateTcDbxt(TcDbxt tcDbxt) + { + tcDbxt.setUpdateTime(DateUtils.getNowDate()); + return tcDbxtMapper.updateTcDbxt(tcDbxt); + } + + /** + * 批量删除等保系统 + * + * @param ids 需要删除的等保系统主键 + * @return 结果 + */ + @Override + public int deleteTcDbxtByIds(Long[] ids) + { + return tcDbxtMapper.deleteTcDbxtByIds(ids); + } + + /** + * 删除等保系统信息 + * + * @param id 等保系统主键 + * @return 结果 + */ + @Override + public int deleteTcDbxtById(Long id) + { + return tcDbxtMapper.deleteTcDbxtById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcFbqkServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcFbqkServiceImpl.java new file mode 100644 index 00000000..c0d8bb77 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcFbqkServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcFbqkMapper; +import com.ruoyi.tcZz.domain.TcFbqk; +import com.ruoyi.tcZz.service.ITcFbqkService; + +/** + * 分布情况 tc_fbqkService业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcFbqkServiceImpl implements ITcFbqkService +{ + @Autowired + private TcFbqkMapper tcFbqkMapper; + + /** + * 查询分布情况 tc_fbqk + * + * @param id 分布情况 tc_fbqk主键 + * @return 分布情况 tc_fbqk + */ + @Override + public TcFbqk selectTcFbqkById(Long id) + { + return tcFbqkMapper.selectTcFbqkById(id); + } + + /** + * 查询分布情况 tc_fbqk列表 + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 分布情况 tc_fbqk + */ + @Override + public List selectTcFbqkList(TcFbqk tcFbqk) + { + return tcFbqkMapper.selectTcFbqkList(tcFbqk); + } + + /** + * 新增分布情况 tc_fbqk + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 结果 + */ + @Override + public int insertTcFbqk(TcFbqk tcFbqk) + { + tcFbqk.setCreateTime(DateUtils.getNowDate()); + return tcFbqkMapper.insertTcFbqk(tcFbqk); + } + + /** + * 修改分布情况 tc_fbqk + * + * @param tcFbqk 分布情况 tc_fbqk + * @return 结果 + */ + @Override + public int updateTcFbqk(TcFbqk tcFbqk) + { + tcFbqk.setUpdateTime(DateUtils.getNowDate()); + return tcFbqkMapper.updateTcFbqk(tcFbqk); + } + + /** + * 批量删除分布情况 tc_fbqk + * + * @param ids 需要删除的分布情况 tc_fbqk主键 + * @return 结果 + */ + @Override + public int deleteTcFbqkByIds(Long[] ids) + { + return tcFbqkMapper.deleteTcFbqkByIds(ids); + } + + /** + * 删除分布情况 tc_fbqk信息 + * + * @param id 分布情况 tc_fbqk主键 + * @return 结果 + */ + @Override + public int deleteTcFbqkById(Long id) + { + return tcFbqkMapper.deleteTcFbqkById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcIdcdwServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcIdcdwServiceImpl.java new file mode 100644 index 00000000..62ae9f61 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcIdcdwServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcIdcdwMapper; +import com.ruoyi.tcZz.domain.TcIdcdw; +import com.ruoyi.tcZz.service.ITcIdcdwService; + +/** + * IDC单位Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcIdcdwServiceImpl implements ITcIdcdwService +{ + @Autowired + private TcIdcdwMapper tcIdcdwMapper; + + /** + * 查询 IDC单位 + * + * @param id IDC单位主键 + * @return IDC单位 + */ + @Override + public TcIdcdw selectTcIdcdwById(Long id) + { + return tcIdcdwMapper.selectTcIdcdwById(id); + } + + /** + * 查询 IDC单位列表 + * + * @param tcIdcdw IDC单位 + * @return IDC单位 + */ + @Override + public List selectTcIdcdwList(TcIdcdw tcIdcdw) + { + return tcIdcdwMapper.selectTcIdcdwList(tcIdcdw); + } + + /** + * 新增 IDC单位 + * + * @param tcIdcdw IDC单位 + * @return 结果 + */ + @Override + public int insertTcIdcdw(TcIdcdw tcIdcdw) + { + tcIdcdw.setCreateTime(DateUtils.getNowDate()); + return tcIdcdwMapper.insertTcIdcdw(tcIdcdw); + } + + /** + * 修改 IDC单位 + * + * @param tcIdcdw IDC单位 + * @return 结果 + */ + @Override + public int updateTcIdcdw(TcIdcdw tcIdcdw) + { + tcIdcdw.setUpdateTime(DateUtils.getNowDate()); + return tcIdcdwMapper.updateTcIdcdw(tcIdcdw); + } + + /** + * 批量删除 IDC单位 + * + * @param ids 需要删除的 IDC单位主键 + * @return 结果 + */ + @Override + public int deleteTcIdcdwByIds(Long[] ids) + { + return tcIdcdwMapper.deleteTcIdcdwByIds(ids); + } + + /** + * 删除 IDC单位信息 + * + * @param id IDC单位主键 + * @return 结果 + */ + @Override + public int deleteTcIdcdwById(Long id) + { + return tcIdcdwMapper.deleteTcIdcdwById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcJgdwServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcJgdwServiceImpl.java new file mode 100644 index 00000000..158de9a7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcJgdwServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcJgdwMapper; +import com.ruoyi.tcZz.domain.TcJgdw; +import com.ruoyi.tcZz.service.ITcJgdwService; + +/** + * 监管单位Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcJgdwServiceImpl implements ITcJgdwService +{ + @Autowired + private TcJgdwMapper tcJgdwMapper; + + /** + * 查询监管单位 + * + * @param id 监管单位主键 + * @return 监管单位 + */ + @Override + public TcJgdw selectTcJgdwById(Long id) + { + return tcJgdwMapper.selectTcJgdwById(id); + } + + /** + * 查询监管单位列表 + * + * @param tcJgdw 监管单位 + * @return 监管单位 + */ + @Override + public List selectTcJgdwList(TcJgdw tcJgdw) + { + return tcJgdwMapper.selectTcJgdwList(tcJgdw); + } + + /** + * 新增监管单位 + * + * @param tcJgdw 监管单位 + * @return 结果 + */ + @Override + public int insertTcJgdw(TcJgdw tcJgdw) + { + tcJgdw.setCreateTime(DateUtils.getNowDate()); + return tcJgdwMapper.insertTcJgdw(tcJgdw); + } + + /** + * 修改监管单位 + * + * @param tcJgdw 监管单位 + * @return 结果 + */ + @Override + public int updateTcJgdw(TcJgdw tcJgdw) + { + tcJgdw.setUpdateTime(DateUtils.getNowDate()); + return tcJgdwMapper.updateTcJgdw(tcJgdw); + } + + /** + * 批量删除监管单位 + * + * @param ids 需要删除的监管单位主键 + * @return 结果 + */ + @Override + public int deleteTcJgdwByIds(Long[] ids) + { + return tcJgdwMapper.deleteTcJgdwByIds(ids); + } + + /** + * 删除监管单位信息 + * + * @param id 监管单位主键 + * @return 结果 + */ + @Override + public int deleteTcJgdwById(Long id) + { + return tcJgdwMapper.deleteTcJgdwById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcMapServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcMapServiceImpl.java new file mode 100644 index 00000000..86530b51 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcMapServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcMapMapper; +import com.ruoyi.tcZz.domain.TcMap; +import com.ruoyi.tcZz.service.ITcMapService; + +/** + * 地图统计Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcMapServiceImpl implements ITcMapService +{ + @Autowired + private TcMapMapper tcMapMapper; + + /** + * 查询地图统计 + * + * @param id 地图统计主键 + * @return 地图统计 + */ + @Override + public TcMap selectTcMapById(Long id) + { + return tcMapMapper.selectTcMapById(id); + } + + /** + * 查询地图统计列表 + * + * @param tcMap 地图统计 + * @return 地图统计 + */ + @Override + public List selectTcMapList(TcMap tcMap) + { + return tcMapMapper.selectTcMapList(tcMap); + } + + /** + * 新增地图统计 + * + * @param tcMap 地图统计 + * @return 结果 + */ + @Override + public int insertTcMap(TcMap tcMap) + { + tcMap.setCreateTime(DateUtils.getNowDate()); + return tcMapMapper.insertTcMap(tcMap); + } + + /** + * 修改地图统计 + * + * @param tcMap 地图统计 + * @return 结果 + */ + @Override + public int updateTcMap(TcMap tcMap) + { + tcMap.setUpdateTime(DateUtils.getNowDate()); + return tcMapMapper.updateTcMap(tcMap); + } + + /** + * 批量删除地图统计 + * + * @param ids 需要删除的地图统计主键 + * @return 结果 + */ + @Override + public int deleteTcMapByIds(Long[] ids) + { + return tcMapMapper.deleteTcMapByIds(ids); + } + + /** + * 删除地图统计信息 + * + * @param id 地图统计主键 + * @return 结果 + */ + @Override + public int deleteTcMapById(Long id) + { + return tcMapMapper.deleteTcMapById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSdtbServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSdtbServiceImpl.java new file mode 100644 index 00000000..90972a09 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSdtbServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcSdtbMapper; +import com.ruoyi.tcZz.domain.TcSdtb; +import com.ruoyi.tcZz.service.ITcSdtbService; + +/** + * 属地通报Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcSdtbServiceImpl implements ITcSdtbService +{ + @Autowired + private TcSdtbMapper tcSdtbMapper; + + /** + * 查询属地通报 + * + * @param id 属地通报主键 + * @return 属地通报 + */ + @Override + public TcSdtb selectTcSdtbById(Long id) + { + return tcSdtbMapper.selectTcSdtbById(id); + } + + /** + * 查询属地通报列表 + * + * @param tcSdtb 属地通报 + * @return 属地通报 + */ + @Override + public List selectTcSdtbList(TcSdtb tcSdtb) + { + return tcSdtbMapper.selectTcSdtbList(tcSdtb); + } + + /** + * 新增属地通报 + * + * @param tcSdtb 属地通报 + * @return 结果 + */ + @Override + public int insertTcSdtb(TcSdtb tcSdtb) + { + tcSdtb.setCreateTime(DateUtils.getNowDate()); + return tcSdtbMapper.insertTcSdtb(tcSdtb); + } + + /** + * 修改属地通报 + * + * @param tcSdtb 属地通报 + * @return 结果 + */ + @Override + public int updateTcSdtb(TcSdtb tcSdtb) + { + tcSdtb.setUpdateTime(DateUtils.getNowDate()); + return tcSdtbMapper.updateTcSdtb(tcSdtb); + } + + /** + * 批量删除属地通报 + * + * @param ids 需要删除的属地通报主键 + * @return 结果 + */ + @Override + public int deleteTcSdtbByIds(Long[] ids) + { + return tcSdtbMapper.deleteTcSdtbByIds(ids); + } + + /** + * 删除属地通报信息 + * + * @param id 属地通报主键 + * @return 结果 + */ + @Override + public int deleteTcSdtbById(Long id) + { + return tcSdtbMapper.deleteTcSdtbById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSgjipTop5ServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSgjipTop5ServiceImpl.java new file mode 100644 index 00000000..d4970273 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSgjipTop5ServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcSgjipTop5Mapper; +import com.ruoyi.tcZz.domain.TcSgjipTop5; +import com.ruoyi.tcZz.service.ITcSgjipTop5Service; + +/** + * 受攻击IPTOP5Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcSgjipTop5ServiceImpl implements ITcSgjipTop5Service +{ + @Autowired + private TcSgjipTop5Mapper tcSgjipTop5Mapper; + + /** + * 查询受攻击IPTOP5 + * + * @param id 受攻击IPTOP5主键 + * @return 受攻击IPTOP5 + */ + @Override + public TcSgjipTop5 selectTcSgjipTop5ById(Long id) + { + return tcSgjipTop5Mapper.selectTcSgjipTop5ById(id); + } + + /** + * 查询受攻击IPTOP5列表 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 受攻击IPTOP5 + */ + @Override + public List selectTcSgjipTop5List(TcSgjipTop5 tcSgjipTop5) + { + return tcSgjipTop5Mapper.selectTcSgjipTop5List(tcSgjipTop5); + } + + /** + * 新增受攻击IPTOP5 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 结果 + */ + @Override + public int insertTcSgjipTop5(TcSgjipTop5 tcSgjipTop5) + { + tcSgjipTop5.setCreateTime(DateUtils.getNowDate()); + return tcSgjipTop5Mapper.insertTcSgjipTop5(tcSgjipTop5); + } + + /** + * 修改受攻击IPTOP5 + * + * @param tcSgjipTop5 受攻击IPTOP5 + * @return 结果 + */ + @Override + public int updateTcSgjipTop5(TcSgjipTop5 tcSgjipTop5) + { + tcSgjipTop5.setUpdateTime(DateUtils.getNowDate()); + return tcSgjipTop5Mapper.updateTcSgjipTop5(tcSgjipTop5); + } + + /** + * 批量删除受攻击IPTOP5 + * + * @param ids 需要删除的受攻击IPTOP5主键 + * @return 结果 + */ + @Override + public int deleteTcSgjipTop5ByIds(Long[] ids) + { + return tcSgjipTop5Mapper.deleteTcSgjipTop5ByIds(ids); + } + + /** + * 删除受攻击IPTOP5信息 + * + * @param id 受攻击IPTOP5主键 + * @return 结果 + */ + @Override + public int deleteTcSgjipTop5ById(Long id) + { + return tcSgjipTop5Mapper.deleteTcSgjipTop5ById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcTbczServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcTbczServiceImpl.java new file mode 100644 index 00000000..f8316f08 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcTbczServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcTbczMapper; +import com.ruoyi.tcZz.domain.TcTbcz; +import com.ruoyi.tcZz.service.ITcTbczService; + +/** + * 通报处置Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcTbczServiceImpl implements ITcTbczService +{ + @Autowired + private TcTbczMapper tcTbczMapper; + + /** + * 查询通报处置 + * + * @param id 通报处置主键 + * @return 通报处置 + */ + @Override + public TcTbcz selectTcTbczById(Long id) + { + return tcTbczMapper.selectTcTbczById(id); + } + + /** + * 查询通报处置列表 + * + * @param tcTbcz 通报处置 + * @return 通报处置 + */ + @Override + public List selectTcTbczList(TcTbcz tcTbcz) + { + return tcTbczMapper.selectTcTbczList(tcTbcz); + } + + /** + * 新增通报处置 + * + * @param tcTbcz 通报处置 + * @return 结果 + */ + @Override + public int insertTcTbcz(TcTbcz tcTbcz) + { + tcTbcz.setCreateTime(DateUtils.getNowDate()); + return tcTbczMapper.insertTcTbcz(tcTbcz); + } + + /** + * 修改通报处置 + * + * @param tcTbcz 通报处置 + * @return 结果 + */ + @Override + public int updateTcTbcz(TcTbcz tcTbcz) + { + tcTbcz.setUpdateTime(DateUtils.getNowDate()); + return tcTbczMapper.updateTcTbcz(tcTbcz); + } + + /** + * 批量删除通报处置 + * + * @param ids 需要删除的通报处置主键 + * @return 结果 + */ + @Override + public int deleteTcTbczByIds(Long[] ids) + { + return tcTbczMapper.deleteTcTbczByIds(ids); + } + + /** + * 删除通报处置信息 + * + * @param id 通报处置主键 + * @return 结果 + */ + @Override + public int deleteTcTbczById(Long id) + { + return tcTbczMapper.deleteTcTbczById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcTbwcServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcTbwcServiceImpl.java new file mode 100644 index 00000000..43fb7448 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcTbwcServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcTbwcMapper; +import com.ruoyi.tcZz.domain.TcTbwc; +import com.ruoyi.tcZz.service.ITcTbwcService; + +/** + * 通报完成情况Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcTbwcServiceImpl implements ITcTbwcService +{ + @Autowired + private TcTbwcMapper tcTbwcMapper; + + /** + * 查询通报完成情况 + * + * @param id 通报完成情况主键 + * @return 通报完成情况 + */ + @Override + public TcTbwc selectTcTbwcById(Long id) + { + return tcTbwcMapper.selectTcTbwcById(id); + } + + /** + * 查询通报完成情况列表 + * + * @param tcTbwc 通报完成情况 + * @return 通报完成情况 + */ + @Override + public List selectTcTbwcList(TcTbwc tcTbwc) + { + return tcTbwcMapper.selectTcTbwcList(tcTbwc); + } + + /** + * 新增通报完成情况 + * + * @param tcTbwc 通报完成情况 + * @return 结果 + */ + @Override + public int insertTcTbwc(TcTbwc tcTbwc) + { + tcTbwc.setCreateTime(DateUtils.getNowDate()); + return tcTbwcMapper.insertTcTbwc(tcTbwc); + } + + /** + * 修改通报完成情况 + * + * @param tcTbwc 通报完成情况 + * @return 结果 + */ + @Override + public int updateTcTbwc(TcTbwc tcTbwc) + { + tcTbwc.setUpdateTime(DateUtils.getNowDate()); + return tcTbwcMapper.updateTcTbwc(tcTbwc); + } + + /** + * 批量删除通报完成情况 + * + * @param ids 需要删除的通报完成情况主键 + * @return 结果 + */ + @Override + public int deleteTcTbwcByIds(Long[] ids) + { + return tcTbwcMapper.deleteTcTbwcByIds(ids); + } + + /** + * 删除通报完成情况信息 + * + * @param id 通报完成情况主键 + * @return 结果 + */ + @Override + public int deleteTcTbwcById(Long id) + { + return tcTbwcMapper.deleteTcTbwcById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgtjServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgtjServiceImpl.java new file mode 100644 index 00000000..769ad56b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgtjServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcWljgtjMapper; +import com.ruoyi.tcZz.domain.TcWljgtj; +import com.ruoyi.tcZz.service.ITcWljgtjService; + +/** + * 网络监测统计Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcWljgtjServiceImpl implements ITcWljgtjService +{ + @Autowired + private TcWljgtjMapper tcWljgtjMapper; + + /** + * 查询网络监测统计 + * + * @param id 网络监测统计主键 + * @return 网络监测统计 + */ + @Override + public TcWljgtj selectTcWljgtjById(Long id) + { + return tcWljgtjMapper.selectTcWljgtjById(id); + } + + /** + * 查询网络监测统计列表 + * + * @param tcWljgtj 网络监测统计 + * @return 网络监测统计 + */ + @Override + public List selectTcWljgtjList(TcWljgtj tcWljgtj) + { + return tcWljgtjMapper.selectTcWljgtjList(tcWljgtj); + } + + /** + * 新增网络监测统计 + * + * @param tcWljgtj 网络监测统计 + * @return 结果 + */ + @Override + public int insertTcWljgtj(TcWljgtj tcWljgtj) + { + tcWljgtj.setCreateTime(DateUtils.getNowDate()); + return tcWljgtjMapper.insertTcWljgtj(tcWljgtj); + } + + /** + * 修改网络监测统计 + * + * @param tcWljgtj 网络监测统计 + * @return 结果 + */ + @Override + public int updateTcWljgtj(TcWljgtj tcWljgtj) + { + tcWljgtj.setUpdateTime(DateUtils.getNowDate()); + return tcWljgtjMapper.updateTcWljgtj(tcWljgtj); + } + + /** + * 批量删除网络监测统计 + * + * @param ids 需要删除的网络监测统计主键 + * @return 结果 + */ + @Override + public int deleteTcWljgtjByIds(Long[] ids) + { + return tcWljgtjMapper.deleteTcWljgtjByIds(ids); + } + + /** + * 删除网络监测统计信息 + * + * @param id 网络监测统计主键 + * @return 结果 + */ + @Override + public int deleteTcWljgtjById(Long id) + { + return tcWljgtjMapper.deleteTcWljgtjById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcXtjcServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcXtjcServiceImpl.java new file mode 100644 index 00000000..bf1585a7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcXtjcServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcXtjcMapper; +import com.ruoyi.tcZz.domain.TcXtjc; +import com.ruoyi.tcZz.service.ITcXtjcService; + +/** + * 系统监测Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcXtjcServiceImpl implements ITcXtjcService +{ + @Autowired + private TcXtjcMapper tcXtjcMapper; + + /** + * 查询系统监测 + * + * @param id 系统监测主键 + * @return 系统监测 + */ + @Override + public TcXtjc selectTcXtjcById(Long id) + { + return tcXtjcMapper.selectTcXtjcById(id); + } + + /** + * 查询系统监测列表 + * + * @param tcXtjc 系统监测 + * @return 系统监测 + */ + @Override + public List selectTcXtjcList(TcXtjc tcXtjc) + { + return tcXtjcMapper.selectTcXtjcList(tcXtjc); + } + + /** + * 新增系统监测 + * + * @param tcXtjc 系统监测 + * @return 结果 + */ + @Override + public int insertTcXtjc(TcXtjc tcXtjc) + { + tcXtjc.setCreateTime(DateUtils.getNowDate()); + return tcXtjcMapper.insertTcXtjc(tcXtjc); + } + + /** + * 修改系统监测 + * + * @param tcXtjc 系统监测 + * @return 结果 + */ + @Override + public int updateTcXtjc(TcXtjc tcXtjc) + { + tcXtjc.setUpdateTime(DateUtils.getNowDate()); + return tcXtjcMapper.updateTcXtjc(tcXtjc); + } + + /** + * 批量删除系统监测 + * + * @param ids 需要删除的系统监测主键 + * @return 结果 + */ + @Override + public int deleteTcXtjcByIds(Long[] ids) + { + return tcXtjcMapper.deleteTcXtjcByIds(ids); + } + + /** + * 删除系统监测信息 + * + * @param id 系统监测主键 + * @return 结果 + */ + @Override + public int deleteTcXtjcById(Long id) + { + return tcXtjcMapper.deleteTcXtjcById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZfwzServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZfwzServiceImpl.java new file mode 100644 index 00000000..8d819fdc --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZfwzServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcZfwzMapper; +import com.ruoyi.tcZz.domain.TcZfwz; +import com.ruoyi.tcZz.service.ITcZfwzService; + +/** + * 政府网站Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcZfwzServiceImpl implements ITcZfwzService +{ + @Autowired + private TcZfwzMapper tcZfwzMapper; + + /** + * 查询政府网站 + * + * @param id 政府网站主键 + * @return 政府网站 + */ + @Override + public TcZfwz selectTcZfwzById(Long id) + { + return tcZfwzMapper.selectTcZfwzById(id); + } + + /** + * 查询政府网站列表 + * + * @param tcZfwz 政府网站 + * @return 政府网站 + */ + @Override + public List selectTcZfwzList(TcZfwz tcZfwz) + { + return tcZfwzMapper.selectTcZfwzList(tcZfwz); + } + + /** + * 新增政府网站 + * + * @param tcZfwz 政府网站 + * @return 结果 + */ + @Override + public int insertTcZfwz(TcZfwz tcZfwz) + { + tcZfwz.setCreateTime(DateUtils.getNowDate()); + return tcZfwzMapper.insertTcZfwz(tcZfwz); + } + + /** + * 修改政府网站 + * + * @param tcZfwz 政府网站 + * @return 结果 + */ + @Override + public int updateTcZfwz(TcZfwz tcZfwz) + { + tcZfwz.setUpdateTime(DateUtils.getNowDate()); + return tcZfwzMapper.updateTcZfwz(tcZfwz); + } + + /** + * 批量删除政府网站 + * + * @param ids 需要删除的政府网站主键 + * @return 结果 + */ + @Override + public int deleteTcZfwzByIds(Long[] ids) + { + return tcZfwzMapper.deleteTcZfwzByIds(ids); + } + + /** + * 删除政府网站信息 + * + * @param id 政府网站主键 + * @return 结果 + */ + @Override + public int deleteTcZfwzById(Long id) + { + return tcZfwzMapper.deleteTcZfwzById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZxyhServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZxyhServiceImpl.java new file mode 100644 index 00000000..bc17b0ed --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZxyhServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcZxyhMapper; +import com.ruoyi.tcZz.domain.TcZxyh; +import com.ruoyi.tcZz.service.ITcZxyhService; + +/** + * 最新隐患Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcZxyhServiceImpl implements ITcZxyhService +{ + @Autowired + private TcZxyhMapper tcZxyhMapper; + + /** + * 查询最新隐患 + * + * @param id 最新隐患主键 + * @return 最新隐患 + */ + @Override + public TcZxyh selectTcZxyhById(Long id) + { + return tcZxyhMapper.selectTcZxyhById(id); + } + + /** + * 查询最新隐患列表 + * + * @param tcZxyh 最新隐患 + * @return 最新隐患 + */ + @Override + public List selectTcZxyhList(TcZxyh tcZxyh) + { + return tcZxyhMapper.selectTcZxyhList(tcZxyh); + } + + /** + * 新增最新隐患 + * + * @param tcZxyh 最新隐患 + * @return 结果 + */ + @Override + public int insertTcZxyh(TcZxyh tcZxyh) + { + tcZxyh.setCreateTime(DateUtils.getNowDate()); + return tcZxyhMapper.insertTcZxyh(tcZxyh); + } + + /** + * 修改最新隐患 + * + * @param tcZxyh 最新隐患 + * @return 结果 + */ + @Override + public int updateTcZxyh(TcZxyh tcZxyh) + { + tcZxyh.setUpdateTime(DateUtils.getNowDate()); + return tcZxyhMapper.updateTcZxyh(tcZxyh); + } + + /** + * 批量删除最新隐患 + * + * @param ids 需要删除的最新隐患主键 + * @return 结果 + */ + @Override + public int deleteTcZxyhByIds(Long[] ids) + { + return tcZxyhMapper.deleteTcZxyhByIds(ids); + } + + /** + * 删除最新隐患信息 + * + * @param id 最新隐患主键 + * @return 结果 + */ + @Override + public int deleteTcZxyhById(Long id) + { + return tcZxyhMapper.deleteTcZxyhById(id); + } +} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcAqyhMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcAqyhMapper.xml new file mode 100644 index 00000000..55774f16 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcAqyhMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + select id, yh_name, yh_count, create_by, create_time, update_by, update_time, remark from tc_aqyh + + + + + + + + insert into tc_aqyh + + yh_name, + yh_count, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{yhName}, + #{yhCount}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_aqyh + + yh_name = #{yhName}, + yh_count = #{yhCount}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_aqyh where id = #{id} + + + + delete from tc_aqyh where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcBmtbMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcBmtbMapper.xml new file mode 100644 index 00000000..261fff14 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcBmtbMapper.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + select id, isStatus, dep_name, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_bmtb + + + + + + + + insert into tc_bmtb + + isStatus, + dep_name, + file_name, + file_url, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{isStatus}, + #{depName}, + #{fileName}, + #{fileUrl}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_bmtb + + isStatus = #{isStatus}, + dep_name = #{depName}, + file_name = #{fileName}, + file_url = #{fileUrl}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_bmtb where id = #{id} + + + + delete from tc_bmtb where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbdwMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbdwMapper.xml new file mode 100644 index 00000000..53254db4 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbdwMapper.xml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, area_id, unit_name, postal_code, address_province, address_city, address_county, unit_address, county_code, ls_gx, unit_type, industry_type, fzr_name, fzr_duty, fzr_tel, fzr_email, isStatus, create_by, create_time, update_by, update_time, remark from tc_dbdw + + + + + + + + insert into tc_dbdw + + area_id, + unit_name, + postal_code, + address_province, + address_city, + address_county, + unit_address, + county_code, + ls_gx, + unit_type, + industry_type, + fzr_name, + fzr_duty, + fzr_tel, + fzr_email, + isStatus, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{unitName}, + #{postalCode}, + #{addressProvince}, + #{addressCity}, + #{addressCounty}, + #{unitAddress}, + #{countyCode}, + #{lsGx}, + #{unitType}, + #{industryType}, + #{fzrName}, + #{fzrDuty}, + #{fzrTel}, + #{fzrEmail}, + #{isStatus}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_dbdw + + area_id = #{areaId}, + unit_name = #{unitName}, + postal_code = #{postalCode}, + address_province = #{addressProvince}, + address_city = #{addressCity}, + address_county = #{addressCounty}, + unit_address = #{unitAddress}, + county_code = #{countyCode}, + ls_gx = #{lsGx}, + unit_type = #{unitType}, + industry_type = #{industryType}, + fzr_name = #{fzrName}, + fzr_duty = #{fzrDuty}, + fzr_tel = #{fzrTel}, + fzr_email = #{fzrEmail}, + isStatus = #{isStatus}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_dbdw where id = #{id} + + + + delete from tc_dbdw where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbxtMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbxtMapper.xml new file mode 100644 index 00000000..cd623c7c --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbxtMapper.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, area_id, system_name, beian_num, safety_level, unit_name, business_type, service_area, service_obj, coverage_area, network_property, system_hlql, start_time, is_level, system_djtime, ps_qk, is_haveDep, system_djbg, system_state, isStatus, create_by, create_time, update_by, update_time, remark from tc_dbxt + + + + + + + + insert into tc_dbxt + + area_id, + system_name, + beian_num, + safety_level, + unit_name, + business_type, + service_area, + service_obj, + coverage_area, + network_property, + system_hlql, + start_time, + is_level, + system_djtime, + ps_qk, + is_haveDep, + system_djbg, + system_state, + isStatus, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{systemName}, + #{beianNum}, + #{safetyLevel}, + #{unitName}, + #{businessType}, + #{serviceArea}, + #{serviceObj}, + #{coverageArea}, + #{networkProperty}, + #{systemHlql}, + #{startTime}, + #{isLevel}, + #{systemDjtime}, + #{psQk}, + #{isHavedep}, + #{systemDjbg}, + #{systemState}, + #{isStatus}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_dbxt + + area_id = #{areaId}, + system_name = #{systemName}, + beian_num = #{beianNum}, + safety_level = #{safetyLevel}, + unit_name = #{unitName}, + business_type = #{businessType}, + service_area = #{serviceArea}, + service_obj = #{serviceObj}, + coverage_area = #{coverageArea}, + network_property = #{networkProperty}, + system_hlql = #{systemHlql}, + start_time = #{startTime}, + is_level = #{isLevel}, + system_djtime = #{systemDjtime}, + ps_qk = #{psQk}, + is_haveDep = #{isHavedep}, + system_djbg = #{systemDjbg}, + system_state = #{systemState}, + isStatus = #{isStatus}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_dbxt where id = #{id} + + + + delete from tc_dbxt where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcFbqkMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcFbqkMapper.xml new file mode 100644 index 00000000..21401160 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcFbqkMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + select id, city_name, zb, create_by, create_time, update_by, update_time, remark from tc_fbqk + + + + + + + + insert into tc_fbqk + + city_name, + zb, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{cityName}, + #{zb}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_fbqk + + city_name = #{cityName}, + zb = #{zb}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_fbqk where id = #{id} + + + + delete from tc_fbqk where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcIdcdwMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcIdcdwMapper.xml new file mode 100644 index 00000000..28ad88fb --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcIdcdwMapper.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, ldc_name, ip_data, create_by, create_time, update_by, update_time, remark from tc_idcdw + + + + + + + + insert into tc_idcdw + + area_id, + isStatus, + ldc_name, + ip_data, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{ldcName}, + #{ipData}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_idcdw + + area_id = #{areaId}, + isStatus = #{isStatus}, + ldc_name = #{ldcName}, + ip_data = #{ipData}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_idcdw where id = #{id} + + + + delete from tc_idcdw where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcJgdwMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcJgdwMapper.xml new file mode 100644 index 00000000..5002db8e --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcJgdwMapper.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, unit_name, system_name, system_url, sysyem_ip, is_focus, level, type, create_by, create_time, update_by, update_time, remark from tc_jgdw + + + + + + + + insert into tc_jgdw + + area_id, + isStatus, + unit_name, + system_name, + system_url, + sysyem_ip, + is_focus, + level, + type, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{unitName}, + #{systemName}, + #{systemUrl}, + #{sysyemIp}, + #{isFocus}, + #{level}, + #{type}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_jgdw + + area_id = #{areaId}, + isStatus = #{isStatus}, + unit_name = #{unitName}, + system_name = #{systemName}, + system_url = #{systemUrl}, + sysyem_ip = #{sysyemIp}, + is_focus = #{isFocus}, + level = #{level}, + type = #{type}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_jgdw where id = #{id} + + + + delete from tc_jgdw where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcMapMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcMapMapper.xml new file mode 100644 index 00000000..09ddfc1d --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcMapMapper.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + select id, name, count, type, create_by, create_time, update_by, update_time, remark from tc_map + + + + + + + + insert into tc_map + + name, + count, + type, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{name}, + #{count}, + #{type}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_map + + name = #{name}, + count = #{count}, + type = #{type}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_map where id = #{id} + + + + delete from tc_map where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSdtbMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSdtbMapper.xml new file mode 100644 index 00000000..f26c34df --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSdtbMapper.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + select id, area, isStatus, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_sdtb + + + + + + + + insert into tc_sdtb + + area, + isStatus, + file_name, + file_url, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{area}, + #{isStatus}, + #{fileName}, + #{fileUrl}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_sdtb + + area = #{area}, + isStatus = #{isStatus}, + file_name = #{fileName}, + file_url = #{fileUrl}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_sdtb where id = #{id} + + + + delete from tc_sdtb where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSgjipTop5Mapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSgjipTop5Mapper.xml new file mode 100644 index 00000000..2cb53601 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSgjipTop5Mapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + select id, s_attack_ip, s_attack_count, create_by, create_time, update_by, update_time, remark from tc_sgjip_top5 + + + + + + + + insert into tc_sgjip_top5 + + s_attack_ip, + s_attack_count, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{sAttackIp}, + #{sAttackCount}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_sgjip_top5 + + s_attack_ip = #{sAttackIp}, + s_attack_count = #{sAttackCount}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_sgjip_top5 where id = #{id} + + + + delete from tc_sgjip_top5 where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbczMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbczMapper.xml new file mode 100644 index 00000000..ce6fa47b --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbczMapper.xml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, unit_name, ip_address, cz_state, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_tbcz + + + + + + + + insert into tc_tbcz + + area_id, + isStatus, + unit_name, + ip_address, + cz_state, + file_name, + file_url, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{unitName}, + #{ipAddress}, + #{czState}, + #{fileName}, + #{fileUrl}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_tbcz + + area_id = #{areaId}, + isStatus = #{isStatus}, + unit_name = #{unitName}, + ip_address = #{ipAddress}, + cz_state = #{czState}, + file_name = #{fileName}, + file_url = #{fileUrl}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_tbcz where id = #{id} + + + + delete from tc_tbcz where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbwcMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbwcMapper.xml new file mode 100644 index 00000000..bdb2da7e --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbwcMapper.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + select id, time_name, tb_count, over_count, over_scale, year, create_by, create_time, update_by, update_time, remark from tc_tbwc + + + + + + + + insert into tc_tbwc + + time_name, + tb_count, + over_count, + over_scale, + year, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{timeName}, + #{tbCount}, + #{overCount}, + #{overScale}, + #{year}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_tbwc + + time_name = #{timeName}, + tb_count = #{tbCount}, + over_count = #{overCount}, + over_scale = #{overScale}, + year = #{year}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_tbwc where id = #{id} + + + + delete from tc_tbwc where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgtjMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgtjMapper.xml new file mode 100644 index 00000000..21a8531b --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgtjMapper.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + select id, net_attack, rq_attack, sm_attack, bd_attack, create_by, create_time, update_by, update_time, remark from tc_wljgtj + + + + + + + + insert into tc_wljgtj + + net_attack, + rq_attack, + sm_attack, + bd_attack, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{netAttack}, + #{rqAttack}, + #{smAttack}, + #{bdAttack}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_wljgtj + + net_attack = #{netAttack}, + rq_attack = #{rqAttack}, + sm_attack = #{smAttack}, + bd_attack = #{bdAttack}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_wljgtj where id = #{id} + + + + delete from tc_wljgtj where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcXtjcMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcXtjcMapper.xml new file mode 100644 index 00000000..419b39e0 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcXtjcMapper.xml @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, unit_name, system_name, system_url, sysyem_ip, is_focus, level, create_by, create_time, update_by, update_time, remark from tc_xtjc + + + + + + + + insert into tc_xtjc + + area_id, + isStatus, + unit_name, + system_name, + system_url, + sysyem_ip, + is_focus, + level, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{unitName}, + #{systemName}, + #{systemUrl}, + #{sysyemIp}, + #{isFocus}, + #{level}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_xtjc + + area_id = #{areaId}, + isStatus = #{isStatus}, + unit_name = #{unitName}, + system_name = #{systemName}, + system_url = #{systemUrl}, + sysyem_ip = #{sysyemIp}, + is_focus = #{isFocus}, + level = #{level}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_xtjc where id = #{id} + + + + delete from tc_xtjc where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZfwzMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZfwzMapper.xml new file mode 100644 index 00000000..f188e357 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZfwzMapper.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, web_url, asset_name, asset_level, create_by, create_time, update_by, update_time, remark from tc_zfwz + + + + + + + + insert into tc_zfwz + + area_id, + isStatus, + web_url, + asset_name, + asset_level, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{webUrl}, + #{assetName}, + #{assetLevel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_zfwz + + area_id = #{areaId}, + isStatus = #{isStatus}, + web_url = #{webUrl}, + asset_name = #{assetName}, + asset_level = #{assetLevel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_zfwz where id = #{id} + + + + delete from tc_zfwz where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZxyhMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZxyhMapper.xml new file mode 100644 index 00000000..fa454d09 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZxyhMapper.xml @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, unit_name, yh_name, level, yh_ly, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_zxyh + + + + + + + + insert into tc_zxyh + + area_id, + isStatus, + unit_name, + yh_name, + level, + yh_ly, + file_name, + file_url, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{unitName}, + #{yhName}, + #{level}, + #{yhLy}, + #{fileName}, + #{fileUrl}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_zxyh + + area_id = #{areaId}, + isStatus = #{isStatus}, + unit_name = #{unitName}, + yh_name = #{yhName}, + level = #{level}, + yh_ly = #{yhLy}, + file_name = #{fileName}, + file_url = #{fileUrl}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_zxyh where id = #{id} + + + + delete from tc_zxyh where id in + + #{id} + + + \ No newline at end of file