ソースを参照

Merge branch 'master' of http://60.171.161.56:20000/tjf/deviceManage

wangmengwei 1 ヶ月 前
コミット
4261a5fd49
38 ファイル変更3511 行追加7 行削除
  1. 91 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/ChannelNumberController.java
  2. 97 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/EquipmentManageController.java
  3. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/NetworkManageController.java
  4. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/StaffManageController.java
  5. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/TaskManageController.java
  6. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/WarnManageController.java
  7. 5 5
      ruoyi-admin/src/main/resources/application-druid.yml
  8. 2 2
      ruoyi-generator/src/main/resources/vm/js/api.js.vm
  9. 116 0
      ruoyi-system/src/main/java/com/ruoyi/manage/domain/ChannelNumber.java
  10. 180 0
      ruoyi-system/src/main/java/com/ruoyi/manage/domain/EquipmentManage.java
  11. 176 0
      ruoyi-system/src/main/java/com/ruoyi/manage/domain/NetworkManage.java
  12. 131 0
      ruoyi-system/src/main/java/com/ruoyi/manage/domain/StaffManage.java
  13. 146 0
      ruoyi-system/src/main/java/com/ruoyi/manage/domain/TaskManage.java
  14. 180 0
      ruoyi-system/src/main/java/com/ruoyi/manage/domain/WarnManage.java
  15. 61 0
      ruoyi-system/src/main/java/com/ruoyi/manage/mapper/ChannelNumberMapper.java
  16. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/mapper/EquipmentManageMapper.java
  17. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/mapper/NetworkManageMapper.java
  18. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/mapper/StaffManageMapper.java
  19. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/mapper/TaskManageMapper.java
  20. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/mapper/WarnManageMapper.java
  21. 63 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/IChannelNumberService.java
  22. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/IEquipmentManageService.java
  23. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/INetworkManageService.java
  24. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/IStaffManageService.java
  25. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/ITaskManageService.java
  26. 62 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/IWarnManageService.java
  27. 97 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/ChannelNumberServiceImpl.java
  28. 97 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/EquipmentManageServiceImpl.java
  29. 97 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/NetworkManageServiceImpl.java
  30. 97 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/StaffManageServiceImpl.java
  31. 97 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/TaskManageServiceImpl.java
  32. 97 0
      ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/WarnManageServiceImpl.java
  33. 95 0
      ruoyi-system/src/main/resources/mapper/manage/ChannelNumberMapper.xml
  34. 115 0
      ruoyi-system/src/main/resources/mapper/manage/EquipmentManageMapper.xml
  35. 115 0
      ruoyi-system/src/main/resources/mapper/manage/NetworkManageMapper.xml
  36. 100 0
      ruoyi-system/src/main/resources/mapper/manage/StaffManageMapper.xml
  37. 105 0
      ruoyi-system/src/main/resources/mapper/manage/TaskManageMapper.xml
  38. 115 0
      ruoyi-system/src/main/resources/mapper/manage/WarnManageMapper.xml

+ 91 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/ChannelNumberController.java

@@ -0,0 +1,91 @@
+package com.ruoyi.web.controller.manage;
+
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.core.page.TableDataInfo;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.manage.domain.ChannelNumber;
+import com.ruoyi.manage.service.IChannelNumberService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 通道管理Controller
+ *
+ * @author boman
+ * @date 2025-05-07
+ */
+@RestController
+@RequestMapping("/system/channelNumber")
+public class ChannelNumberController extends BaseController {
+    @Autowired
+    private IChannelNumberService channelNumberService;
+
+    /**
+     * 查询通道管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:channelNumber:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(ChannelNumber channelNumber) {
+        startPage();
+        List<ChannelNumber> list = channelNumberService.selectChannelNumberList(channelNumber);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出通道管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:channelNumber:export')")
+    @Log(title = "通道管理", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, ChannelNumber channelNumber) {
+        List<ChannelNumber> list = channelNumberService.selectChannelNumberList(channelNumber);
+        ExcelUtil<ChannelNumber> util = new ExcelUtil<ChannelNumber>(ChannelNumber.class);
+        util.exportExcel(response, list, "通道管理数据");
+    }
+
+    /**
+     * 获取通道管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:channelNumber:query')")
+    @GetMapping(value = "/{channelId}")
+    public AjaxResult getInfo(@PathVariable("channelId") Long channelId) {
+        return success(channelNumberService.selectChannelNumberByChannelId(channelId));
+    }
+
+    /**
+     * 新增通道管理
+     */
+    @PreAuthorize("@ss.hasPermi('system:channelNumber:add')")
+    @Log(title = "通道管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody ChannelNumber channelNumber) {
+        return toAjax(channelNumberService.insertChannelNumber(channelNumber));
+    }
+
+    /**
+     * 修改通道管理
+     */
+    @PreAuthorize("@ss.hasPermi('system:channelNumber:edit')")
+    @Log(title = "通道管理", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody ChannelNumber channelNumber) {
+        return toAjax(channelNumberService.updateChannelNumber(channelNumber));
+    }
+
+    /**
+     * 删除通道管理
+     */
+    @PreAuthorize("@ss.hasPermi('system:channelNumber:remove')")
+    @Log(title = "通道管理", businessType = BusinessType.DELETE)
+    @GetMapping("/delete/{channelIds}")
+    public AjaxResult remove(@PathVariable Long[] channelIds) {
+        return toAjax(channelNumberService.deleteChannelNumberByChannelIds(channelIds));
+    }
+}

+ 97 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/EquipmentManageController.java

@@ -0,0 +1,97 @@
+package com.ruoyi.web.controller.manage;
+
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.core.page.TableDataInfo;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.manage.domain.EquipmentManage;
+import com.ruoyi.manage.service.IEquipmentManageService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 设备管理Controller
+ *
+ * @author boman
+ * @date 2025-05-07
+ */
+@RestController
+@RequestMapping("/system/equipmentManage")
+public class EquipmentManageController extends BaseController
+{
+    @Autowired
+    private IEquipmentManageService equipmentManageService;
+
+/**
+ * 查询设备管理列表
+ */
+@PreAuthorize("@ss.hasPermi('system:equipmentManage:list')")
+@GetMapping("/list")
+    public TableDataInfo list(EquipmentManage equipmentManage)
+    {
+        startPage();
+        List<EquipmentManage> list = equipmentManageService.selectEquipmentManageList(equipmentManage);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出设备管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:equipmentManage:export')")
+    @Log(title = "设备管理", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, EquipmentManage equipmentManage)
+    {
+        List<EquipmentManage> list = equipmentManageService.selectEquipmentManageList(equipmentManage);
+        ExcelUtil<EquipmentManage> util = new ExcelUtil<EquipmentManage>(EquipmentManage.class);
+        util.exportExcel(response, list, "设备管理数据");
+    }
+
+    /**
+     * 获取设备管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:equipmentManage:query')")
+    @GetMapping(value = "/{equipmentId}")
+    public AjaxResult getInfo(@PathVariable("equipmentId") Long equipmentId)
+    {
+        return success(equipmentManageService.selectEquipmentManageByEquipmentId(equipmentId));
+    }
+
+    /**
+     * 新增设备管理
+     */
+    @PreAuthorize("@ss.hasPermi('system:equipmentManage:add')")
+    @Log(title = "设备管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody EquipmentManage equipmentManage)
+    {
+        return toAjax(equipmentManageService.insertEquipmentManage(equipmentManage));
+    }
+
+    /**
+     * 修改设备管理
+     */
+    @PreAuthorize("@ss.hasPermi('system:equipmentManage:edit')")
+    @Log(title = "设备管理", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody EquipmentManage equipmentManage)
+    {
+        return toAjax(equipmentManageService.updateEquipmentManage(equipmentManage));
+    }
+
+    /**
+     * 删除设备管理
+     */
+    @PreAuthorize("@ss.hasPermi('system:equipmentManage:remove')")
+    @Log(title = "设备管理", businessType = BusinessType.DELETE)
+    @GetMapping("/delete/{equipmentIds}")
+    public AjaxResult remove(@PathVariable Long[] equipmentIds)
+    {
+        return toAjax(equipmentManageService.deleteEquipmentManageByEquipmentIds(equipmentIds));
+    }
+}

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/NetworkManageController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.manage;
+
+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.manage.domain.NetworkManage;
+import com.ruoyi.manage.service.INetworkManageService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 网络管理Controller
+ *
+ * @author boman
+ * @date 2025-05-07
+ */
+@RestController
+@RequestMapping("/manage/NetworkManage")
+public class NetworkManageController extends BaseController
+{
+    @Autowired
+    private INetworkManageService networkManageService;
+
+/**
+ * 查询网络管理列表
+ */
+@PreAuthorize("@ss.hasPermi('manage:NetworkManage:list')")
+@GetMapping("/list")
+    public TableDataInfo list(NetworkManage networkManage)
+    {
+        startPage();
+        List<NetworkManage> list = networkManageService.selectNetworkManageList(networkManage);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出网络管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('manage:NetworkManage:export')")
+    @Log(title = "网络管理", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, NetworkManage networkManage)
+    {
+        List<NetworkManage> list = networkManageService.selectNetworkManageList(networkManage);
+        ExcelUtil<NetworkManage> util = new ExcelUtil<NetworkManage>(NetworkManage.class);
+        util.exportExcel(response, list, "网络管理数据");
+    }
+
+    /**
+     * 获取网络管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('manage:NetworkManage:query')")
+    @GetMapping(value = "/{networkId}")
+    public AjaxResult getInfo(@PathVariable("networkId") Long networkId)
+    {
+        return success(networkManageService.selectNetworkManageByNetworkId(networkId));
+    }
+
+    /**
+     * 新增网络管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:NetworkManage:add')")
+    @Log(title = "网络管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody NetworkManage networkManage)
+    {
+        return toAjax(networkManageService.insertNetworkManage(networkManage));
+    }
+
+    /**
+     * 修改网络管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:NetworkManage:edit')")
+    @Log(title = "网络管理", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody NetworkManage networkManage)
+    {
+        return toAjax(networkManageService.updateNetworkManage(networkManage));
+    }
+
+    /**
+     * 删除网络管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:NetworkManage:remove')")
+    @Log(title = "网络管理", businessType = BusinessType.DELETE)
+    @GetMapping("/delete/{networkIds}")
+    public AjaxResult remove(@PathVariable Long[] networkIds)
+    {
+        return toAjax(networkManageService.deleteNetworkManageByNetworkIds(networkIds));
+    }
+}

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/StaffManageController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.manage;
+
+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.manage.domain.StaffManage;
+import com.ruoyi.manage.service.IStaffManageService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 人员管理Controller
+ *
+ * @author boman
+ * @date 2025-05-07
+ */
+@RestController
+@RequestMapping("/manage/staffManage")
+public class StaffManageController extends BaseController
+{
+    @Autowired
+    private IStaffManageService staffManageService;
+
+/**
+ * 查询人员管理列表
+ */
+@PreAuthorize("@ss.hasPermi('manage:staffManage:list')")
+@GetMapping("/list")
+    public TableDataInfo list(StaffManage staffManage)
+    {
+        startPage();
+        List<StaffManage> list = staffManageService.selectStaffManageList(staffManage);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出人员管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('manage:staffManage:export')")
+    @Log(title = "人员管理", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, StaffManage staffManage)
+    {
+        List<StaffManage> list = staffManageService.selectStaffManageList(staffManage);
+        ExcelUtil<StaffManage> util = new ExcelUtil<StaffManage>(StaffManage.class);
+        util.exportExcel(response, list, "人员管理数据");
+    }
+
+    /**
+     * 获取人员管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('manage:staffManage:query')")
+    @GetMapping(value = "/{staffId}")
+    public AjaxResult getInfo(@PathVariable("staffId") Long staffId)
+    {
+        return success(staffManageService.selectStaffManageByStaffId(staffId));
+    }
+
+    /**
+     * 新增人员管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:staffManage:add')")
+    @Log(title = "人员管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody StaffManage staffManage)
+    {
+        return toAjax(staffManageService.insertStaffManage(staffManage));
+    }
+
+    /**
+     * 修改人员管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:staffManage:edit')")
+    @Log(title = "人员管理", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody StaffManage staffManage)
+    {
+        return toAjax(staffManageService.updateStaffManage(staffManage));
+    }
+
+    /**
+     * 删除人员管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:staffManage:remove')")
+    @Log(title = "人员管理", businessType = BusinessType.DELETE)
+    @GetMapping("/delete/{staffIds}")
+    public AjaxResult remove(@PathVariable Long[] staffIds)
+    {
+        return toAjax(staffManageService.deleteStaffManageByStaffIds(staffIds));
+    }
+}

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/TaskManageController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.manage;
+
+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.manage.domain.TaskManage;
+import com.ruoyi.manage.service.ITaskManageService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 任务管理Controller
+ *
+ * @author boman
+ * @date 2025-05-07
+ */
+@RestController
+@RequestMapping("/manage/taskManage")
+public class TaskManageController extends BaseController
+{
+    @Autowired
+    private ITaskManageService taskManageService;
+
+/**
+ * 查询任务管理列表
+ */
+@PreAuthorize("@ss.hasPermi('manage:taskManage:list')")
+@GetMapping("/list")
+    public TableDataInfo list(TaskManage taskManage)
+    {
+        startPage();
+        List<TaskManage> list = taskManageService.selectTaskManageList(taskManage);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出任务管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('manage:taskManage:export')")
+    @Log(title = "任务管理", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, TaskManage taskManage)
+    {
+        List<TaskManage> list = taskManageService.selectTaskManageList(taskManage);
+        ExcelUtil<TaskManage> util = new ExcelUtil<TaskManage>(TaskManage.class);
+        util.exportExcel(response, list, "任务管理数据");
+    }
+
+    /**
+     * 获取任务管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('manage:taskManage:query')")
+    @GetMapping(value = "/{taskId}")
+    public AjaxResult getInfo(@PathVariable("taskId") Long taskId)
+    {
+        return success(taskManageService.selectTaskManageByTaskId(taskId));
+    }
+
+    /**
+     * 新增任务管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:taskManage:add')")
+    @Log(title = "任务管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TaskManage taskManage)
+    {
+        return toAjax(taskManageService.insertTaskManage(taskManage));
+    }
+
+    /**
+     * 修改任务管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:taskManage:edit')")
+    @Log(title = "任务管理", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody TaskManage taskManage)
+    {
+        return toAjax(taskManageService.updateTaskManage(taskManage));
+    }
+
+    /**
+     * 删除任务管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:taskManage:remove')")
+    @Log(title = "任务管理", businessType = BusinessType.DELETE)
+    @GetMapping("/delete/{taskIds}")
+    public AjaxResult remove(@PathVariable Long[] taskIds)
+    {
+        return toAjax(taskManageService.deleteTaskManageByTaskIds(taskIds));
+    }
+}

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/manage/WarnManageController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.manage;
+
+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.manage.domain.WarnManage;
+import com.ruoyi.manage.service.IWarnManageService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 告警管理Controller
+ *
+ * @author boman
+ * @date 2025-05-07
+ */
+@RestController
+@RequestMapping("/manage/warnManage")
+public class WarnManageController extends BaseController
+{
+    @Autowired
+    private IWarnManageService warnManageService;
+
+/**
+ * 查询告警管理列表
+ */
+@PreAuthorize("@ss.hasPermi('manage:warnManage:list')")
+@GetMapping("/list")
+    public TableDataInfo list(WarnManage warnManage)
+    {
+        startPage();
+        List<WarnManage> list = warnManageService.selectWarnManageList(warnManage);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出告警管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('manage:warnManage:export')")
+    @Log(title = "告警管理", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, WarnManage warnManage)
+    {
+        List<WarnManage> list = warnManageService.selectWarnManageList(warnManage);
+        ExcelUtil<WarnManage> util = new ExcelUtil<WarnManage>(WarnManage.class);
+        util.exportExcel(response, list, "告警管理数据");
+    }
+
+    /**
+     * 获取告警管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('manage:warnManage:query')")
+    @GetMapping(value = "/{warnId}")
+    public AjaxResult getInfo(@PathVariable("warnId") Long warnId)
+    {
+        return success(warnManageService.selectWarnManageByWarnId(warnId));
+    }
+
+    /**
+     * 新增告警管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:warnManage:add')")
+    @Log(title = "告警管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody WarnManage warnManage)
+    {
+        return toAjax(warnManageService.insertWarnManage(warnManage));
+    }
+
+    /**
+     * 修改告警管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:warnManage:edit')")
+    @Log(title = "告警管理", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody WarnManage warnManage)
+    {
+        return toAjax(warnManageService.updateWarnManage(warnManage));
+    }
+
+    /**
+     * 删除告警管理
+     */
+    @PreAuthorize("@ss.hasPermi('manage:warnManage:remove')")
+    @Log(title = "告警管理", businessType = BusinessType.DELETE)
+    @GetMapping("/delete/{warnIds}")
+    public AjaxResult remove(@PathVariable Long[] warnIds)
+    {
+        return toAjax(warnManageService.deleteWarnManageByWarnIds(warnIds));
+    }
+}

+ 5 - 5
ruoyi-admin/src/main/resources/application-druid.yml

@@ -17,7 +17,7 @@ ruoyi:
 # 开发环境配置
 server:
     # 服务器的HTTP端口,默认为8080
-    port: 8065
+    port: 8099
     servlet:
         # 应用的访问路径
         context-path: /
@@ -39,10 +39,10 @@ spring:
 #        port: 20001
         port: 6379
         # 数据库索引
-        database: 8
+        database: 9
         # 密码
 #        password: Boman123
-        password:
+        password: 123456
         # 连接超时时间
         timeout: 10s
         lettuce:
@@ -61,9 +61,9 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://60.171.161.56:25143/wuye_guanli?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
+                url: jdbc:mysql://127.0.0.1:3306/device_manage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
                 username: root
-                password: Boman123
+                password: 123456
             # 从库数据源
             slave:
                 # 从数据源开关/默认关闭

+ 2 - 2
ruoyi-generator/src/main/resources/vm/js/api.js.vm

@@ -29,7 +29,7 @@ export function add${BusinessName}(data) {
 // 修改${functionName}
 export function update${BusinessName}(data) {
   return request({
-    url: '/put/${moduleName}/${businessName}',
+    url: '/${moduleName}/${businessName}/put',
     method: 'post',
     data: data
   })
@@ -38,7 +38,7 @@ export function update${BusinessName}(data) {
 // 删除${functionName}
 export function del${BusinessName}(${pkColumn.javaField}) {
   return request({
-    url: '/delete/${moduleName}/${businessName}/' + ${pkColumn.javaField},
+    url: '/${moduleName}/${businessName}/delete/' + ${pkColumn.javaField},
     method: 'get'
   })
 }

+ 116 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/domain/ChannelNumber.java

@@ -0,0 +1,116 @@
+package com.ruoyi.manage.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;
+
+/**
+ * 通道管理对象 channel_number
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public class ChannelNumber extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 通道ID */
+    private Long channelId;
+
+    /** 通道编号 */
+    @Excel(name = "通道编号")
+    private String channelNum;
+
+    /** 视频地址 */
+    @Excel(name = "视频地址")
+    private String videoAddress;
+
+    /** 探测协议类型 */
+    @Excel(name = "探测协议类型")
+    private String protocolType;
+
+    /** 通道描述 */
+    @Excel(name = "通道描述")
+    private String channelDetails;
+
+    /** 删除标志(0代表存在 1代表删除) */
+    private String delFlag;
+
+    public void setChannelId(Long channelId) 
+    {
+        this.channelId = channelId;
+    }
+
+    public Long getChannelId() 
+    {
+        return channelId;
+    }
+
+    public void setChannelNum(String channelNum) 
+    {
+        this.channelNum = channelNum;
+    }
+
+    public String getChannelNum() 
+    {
+        return channelNum;
+    }
+
+    public void setVideoAddress(String videoAddress) 
+    {
+        this.videoAddress = videoAddress;
+    }
+
+    public String getVideoAddress() 
+    {
+        return videoAddress;
+    }
+
+    public void setProtocolType(String protocolType) 
+    {
+        this.protocolType = protocolType;
+    }
+
+    public String getProtocolType() 
+    {
+        return protocolType;
+    }
+
+    public void setChannelDetails(String channelDetails) 
+    {
+        this.channelDetails = channelDetails;
+    }
+
+    public String getChannelDetails() 
+    {
+        return channelDetails;
+    }
+
+    public void setDelFlag(String delFlag) 
+    {
+        this.delFlag = delFlag;
+    }
+
+    public String getDelFlag() 
+    {
+        return delFlag;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("channelId", getChannelId())
+            .append("channelNum", getChannelNum())
+            .append("videoAddress", getVideoAddress())
+            .append("protocolType", getProtocolType())
+            .append("channelDetails", getChannelDetails())
+            .append("delFlag", getDelFlag())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 180 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/domain/EquipmentManage.java

@@ -0,0 +1,180 @@
+package com.ruoyi.manage.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import java.util.Date;
+
+/**
+ * 设备管理对象 equipment_manage
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public class EquipmentManage extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 设备ID */
+    private Long equipmentId;
+
+    /** 设备编号 */
+    @Excel(name = "设备编号")
+    private String equipmentNum;
+
+    /** 设备名称 */
+    @Excel(name = "设备名称")
+    private String equipmentName;
+
+    /** 设备类型 */
+    @Excel(name = "设备类型")
+    private String equipmentType;
+
+    /** 设备地址 */
+    @Excel(name = "设备地址")
+    private String equipmentAddress;
+
+    /** 设备区域 */
+    @Excel(name = "设备区域")
+    private String equipmentRegion;
+
+    /** 安装时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date equipmentTime;
+
+    /** 设备图片 */
+    @Excel(name = "设备图片")
+    private String equipmentImage;
+
+    /** 运行状态 0代表运行 1代表停止) */
+    @Excel(name = "运行状态 0代表运行 1代表停止)")
+    private String runState;
+
+    /** 删除标志(0代表存在 1代表删除) */
+    private String delFlag;
+
+    public void setEquipmentId(Long equipmentId) 
+    {
+        this.equipmentId = equipmentId;
+    }
+
+    public Long getEquipmentId() 
+    {
+        return equipmentId;
+    }
+
+    public void setEquipmentNum(String equipmentNum) 
+    {
+        this.equipmentNum = equipmentNum;
+    }
+
+    public String getEquipmentNum() 
+    {
+        return equipmentNum;
+    }
+
+    public void setEquipmentName(String equipmentName) 
+    {
+        this.equipmentName = equipmentName;
+    }
+
+    public String getEquipmentName() 
+    {
+        return equipmentName;
+    }
+
+    public void setEquipmentType(String equipmentType) 
+    {
+        this.equipmentType = equipmentType;
+    }
+
+    public String getEquipmentType() 
+    {
+        return equipmentType;
+    }
+
+    public void setEquipmentAddress(String equipmentAddress) 
+    {
+        this.equipmentAddress = equipmentAddress;
+    }
+
+    public String getEquipmentAddress() 
+    {
+        return equipmentAddress;
+    }
+
+    public void setEquipmentRegion(String equipmentRegion) 
+    {
+        this.equipmentRegion = equipmentRegion;
+    }
+
+    public String getEquipmentRegion() 
+    {
+        return equipmentRegion;
+    }
+
+    public void setEquipmentTime(Date equipmentTime) 
+    {
+        this.equipmentTime = equipmentTime;
+    }
+
+    public Date getEquipmentTime() 
+    {
+        return equipmentTime;
+    }
+
+    public void setEquipmentImage(String equipmentImage) 
+    {
+        this.equipmentImage = equipmentImage;
+    }
+
+    public String getEquipmentImage() 
+    {
+        return equipmentImage;
+    }
+
+    public void setRunState(String runState) 
+    {
+        this.runState = runState;
+    }
+
+    public String getRunState() 
+    {
+        return runState;
+    }
+
+    public void setDelFlag(String delFlag) 
+    {
+        this.delFlag = delFlag;
+    }
+
+    public String getDelFlag() 
+    {
+        return delFlag;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("equipmentId", getEquipmentId())
+            .append("equipmentNum", getEquipmentNum())
+            .append("equipmentName", getEquipmentName())
+            .append("equipmentType", getEquipmentType())
+            .append("equipmentAddress", getEquipmentAddress())
+            .append("equipmentRegion", getEquipmentRegion())
+            .append("equipmentTime", getEquipmentTime())
+            .append("equipmentImage", getEquipmentImage())
+            .append("runState", getRunState())
+            .append("delFlag", getDelFlag())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 176 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/domain/NetworkManage.java

@@ -0,0 +1,176 @@
+package com.ruoyi.manage.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;
+
+/**
+ * 网络管理对象 network_manage
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public class NetworkManage extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 网络ID */
+    private Long networkId;
+
+    /** 网络名称 */
+    @Excel(name = "网络名称")
+    private String networkName;
+
+    /** 网卡名称 */
+    @Excel(name = "网卡名称")
+    private String networkCardName;
+
+    /** 网络地址 */
+    @Excel(name = "网络地址")
+    private String networkIp;
+
+    /** 子网掩码 */
+    @Excel(name = "子网掩码")
+    private String subnetMask;
+
+    /** 默认网关 */
+    @Excel(name = "默认网关")
+    private String defaultGateway;
+
+    /** 物理地址 */
+    @Excel(name = "物理地址")
+    private String physicalAddress;
+
+    /** 分配方式 */
+    @Excel(name = "分配方式")
+    private String allocationScheme;
+
+    /** 域名服务器 DNS */
+    @Excel(name = "域名服务器 DNS")
+    private String domainNameServer;
+
+    /** 删除标志(0代表存在 1代表删除) */
+    private String delFlag;
+
+    public void setNetworkId(Long networkId) 
+    {
+        this.networkId = networkId;
+    }
+
+    public Long getNetworkId() 
+    {
+        return networkId;
+    }
+
+    public void setNetworkName(String networkName) 
+    {
+        this.networkName = networkName;
+    }
+
+    public String getNetworkName() 
+    {
+        return networkName;
+    }
+
+    public void setNetworkCardName(String networkCardName) 
+    {
+        this.networkCardName = networkCardName;
+    }
+
+    public String getNetworkCardName() 
+    {
+        return networkCardName;
+    }
+
+    public void setNetworkIp(String networkIp) 
+    {
+        this.networkIp = networkIp;
+    }
+
+    public String getNetworkIp() 
+    {
+        return networkIp;
+    }
+
+    public void setSubnetMask(String subnetMask) 
+    {
+        this.subnetMask = subnetMask;
+    }
+
+    public String getSubnetMask() 
+    {
+        return subnetMask;
+    }
+
+    public void setDefaultGateway(String defaultGateway) 
+    {
+        this.defaultGateway = defaultGateway;
+    }
+
+    public String getDefaultGateway() 
+    {
+        return defaultGateway;
+    }
+
+    public void setPhysicalAddress(String physicalAddress) 
+    {
+        this.physicalAddress = physicalAddress;
+    }
+
+    public String getPhysicalAddress() 
+    {
+        return physicalAddress;
+    }
+
+    public void setAllocationScheme(String allocationScheme) 
+    {
+        this.allocationScheme = allocationScheme;
+    }
+
+    public String getAllocationScheme() 
+    {
+        return allocationScheme;
+    }
+
+    public void setDomainNameServer(String domainNameServer) 
+    {
+        this.domainNameServer = domainNameServer;
+    }
+
+    public String getDomainNameServer() 
+    {
+        return domainNameServer;
+    }
+
+    public void setDelFlag(String delFlag) 
+    {
+        this.delFlag = delFlag;
+    }
+
+    public String getDelFlag() 
+    {
+        return delFlag;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("networkId", getNetworkId())
+            .append("networkName", getNetworkName())
+            .append("networkCardName", getNetworkCardName())
+            .append("networkIp", getNetworkIp())
+            .append("subnetMask", getSubnetMask())
+            .append("defaultGateway", getDefaultGateway())
+            .append("physicalAddress", getPhysicalAddress())
+            .append("allocationScheme", getAllocationScheme())
+            .append("domainNameServer", getDomainNameServer())
+            .append("delFlag", getDelFlag())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 131 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/domain/StaffManage.java

@@ -0,0 +1,131 @@
+package com.ruoyi.manage.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;
+
+/**
+ * 人员管理对象 staff_manage
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public class StaffManage extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 人员ID */
+    private Long staffId;
+
+    /** 人员姓名 */
+    @Excel(name = "人员姓名")
+    private String staffName;
+
+    /** 人员联系方式 */
+    @Excel(name = "人员联系方式")
+    private String staffPhone;
+
+    /** 紧急联系人 */
+    @Excel(name = "紧急联系人")
+    private String emergencyContact;
+
+    /** 紧急联系人手机 */
+    @Excel(name = "紧急联系人手机")
+    private String emergencyContactPhone;
+
+    /** 人员图片 */
+    @Excel(name = "人员图片")
+    private String staffImage;
+
+    /** 删除标志(0代表存在 1代表删除) */
+    private String delFlag;
+
+    public void setStaffId(Long staffId) 
+    {
+        this.staffId = staffId;
+    }
+
+    public Long getStaffId() 
+    {
+        return staffId;
+    }
+
+    public void setStaffName(String staffName) 
+    {
+        this.staffName = staffName;
+    }
+
+    public String getStaffName() 
+    {
+        return staffName;
+    }
+
+    public void setStaffPhone(String staffPhone) 
+    {
+        this.staffPhone = staffPhone;
+    }
+
+    public String getStaffPhone() 
+    {
+        return staffPhone;
+    }
+
+    public void setEmergencyContact(String emergencyContact) 
+    {
+        this.emergencyContact = emergencyContact;
+    }
+
+    public String getEmergencyContact() 
+    {
+        return emergencyContact;
+    }
+
+    public void setEmergencyContactPhone(String emergencyContactPhone) 
+    {
+        this.emergencyContactPhone = emergencyContactPhone;
+    }
+
+    public String getEmergencyContactPhone() 
+    {
+        return emergencyContactPhone;
+    }
+
+    public void setStaffImage(String staffImage) 
+    {
+        this.staffImage = staffImage;
+    }
+
+    public String getStaffImage() 
+    {
+        return staffImage;
+    }
+
+    public void setDelFlag(String delFlag) 
+    {
+        this.delFlag = delFlag;
+    }
+
+    public String getDelFlag() 
+    {
+        return delFlag;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("staffId", getStaffId())
+            .append("staffName", getStaffName())
+            .append("staffPhone", getStaffPhone())
+            .append("emergencyContact", getEmergencyContact())
+            .append("emergencyContactPhone", getEmergencyContactPhone())
+            .append("staffImage", getStaffImage())
+            .append("delFlag", getDelFlag())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 146 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/domain/TaskManage.java

@@ -0,0 +1,146 @@
+package com.ruoyi.manage.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;
+
+/**
+ * 任务管理对象 task_manage
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public class TaskManage extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 任务ID */
+    private Long taskId;
+
+    /** 任务编号 */
+    @Excel(name = "任务编号")
+    private String taskNum;
+
+    /** 任务描述 */
+    @Excel(name = "任务描述")
+    private String taskDetails;
+
+    /** 通道ID */
+    @Excel(name = "通道ID")
+    private Long channelId;
+
+    /** 视频地址 */
+    @Excel(name = "视频地址")
+    private String videoAddress;
+
+    /** 上报地址 */
+    @Excel(name = "上报地址")
+    private String reportAddress;
+
+    /** 选择的算法编号 逗号分割 */
+    @Excel(name = "选择的算法编号 逗号分割")
+    private String algorithmSet;
+
+    /** 删除标志(0代表存在 1代表删除) */
+    private String delFlag;
+
+    public void setTaskId(Long taskId) 
+    {
+        this.taskId = taskId;
+    }
+
+    public Long getTaskId() 
+    {
+        return taskId;
+    }
+
+    public void setTaskNum(String taskNum) 
+    {
+        this.taskNum = taskNum;
+    }
+
+    public String getTaskNum() 
+    {
+        return taskNum;
+    }
+
+    public void setTaskDetails(String taskDetails) 
+    {
+        this.taskDetails = taskDetails;
+    }
+
+    public String getTaskDetails() 
+    {
+        return taskDetails;
+    }
+
+    public void setChannelId(Long channelId) 
+    {
+        this.channelId = channelId;
+    }
+
+    public Long getChannelId() 
+    {
+        return channelId;
+    }
+
+    public void setVideoAddress(String videoAddress) 
+    {
+        this.videoAddress = videoAddress;
+    }
+
+    public String getVideoAddress() 
+    {
+        return videoAddress;
+    }
+
+    public void setReportAddress(String reportAddress) 
+    {
+        this.reportAddress = reportAddress;
+    }
+
+    public String getReportAddress() 
+    {
+        return reportAddress;
+    }
+
+    public void setAlgorithmSet(String algorithmSet) 
+    {
+        this.algorithmSet = algorithmSet;
+    }
+
+    public String getAlgorithmSet() 
+    {
+        return algorithmSet;
+    }
+
+    public void setDelFlag(String delFlag) 
+    {
+        this.delFlag = delFlag;
+    }
+
+    public String getDelFlag() 
+    {
+        return delFlag;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("taskId", getTaskId())
+            .append("taskNum", getTaskNum())
+            .append("taskDetails", getTaskDetails())
+            .append("channelId", getChannelId())
+            .append("videoAddress", getVideoAddress())
+            .append("reportAddress", getReportAddress())
+            .append("algorithmSet", getAlgorithmSet())
+            .append("delFlag", getDelFlag())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 180 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/domain/WarnManage.java

@@ -0,0 +1,180 @@
+package com.ruoyi.manage.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import java.util.Date;
+
+/**
+ * 告警管理对象 warn_manage
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public class WarnManage extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 告警ID */
+    private Long warnId;
+
+    /** 告警类别 */
+    @Excel(name = "告警类别")
+    private String warnType;
+
+    /** 告警标识 */
+    @Excel(name = "告警标识")
+    private String warnSign;
+
+    /** 通道ID */
+    @Excel(name = "通道ID")
+    private Long channelId;
+
+    /** 视频地址 */
+    @Excel(name = "视频地址")
+    private String videoAddress;
+
+    /** 上报地址 */
+    @Excel(name = "上报地址")
+    private String reportAddress;
+
+    /** 上报状态 */
+    @Excel(name = "上报状态")
+    private String reportStatus;
+
+    /** 告警时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "告警时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date warnTime;
+
+    /** 告警预览图片 */
+    @Excel(name = "告警预览图片")
+    private String warnImage;
+
+    /** 删除标志(0代表存在 1代表删除) */
+    private String delFlag;
+
+    public void setWarnId(Long warnId) 
+    {
+        this.warnId = warnId;
+    }
+
+    public Long getWarnId() 
+    {
+        return warnId;
+    }
+
+    public void setWarnType(String warnType) 
+    {
+        this.warnType = warnType;
+    }
+
+    public String getWarnType() 
+    {
+        return warnType;
+    }
+
+    public void setWarnSign(String warnSign) 
+    {
+        this.warnSign = warnSign;
+    }
+
+    public String getWarnSign() 
+    {
+        return warnSign;
+    }
+
+    public void setChannelId(Long channelId) 
+    {
+        this.channelId = channelId;
+    }
+
+    public Long getChannelId() 
+    {
+        return channelId;
+    }
+
+    public void setVideoAddress(String videoAddress) 
+    {
+        this.videoAddress = videoAddress;
+    }
+
+    public String getVideoAddress() 
+    {
+        return videoAddress;
+    }
+
+    public void setReportAddress(String reportAddress) 
+    {
+        this.reportAddress = reportAddress;
+    }
+
+    public String getReportAddress() 
+    {
+        return reportAddress;
+    }
+
+    public void setReportStatus(String reportStatus) 
+    {
+        this.reportStatus = reportStatus;
+    }
+
+    public String getReportStatus() 
+    {
+        return reportStatus;
+    }
+
+    public void setWarnTime(Date warnTime) 
+    {
+        this.warnTime = warnTime;
+    }
+
+    public Date getWarnTime() 
+    {
+        return warnTime;
+    }
+
+    public void setWarnImage(String warnImage) 
+    {
+        this.warnImage = warnImage;
+    }
+
+    public String getWarnImage() 
+    {
+        return warnImage;
+    }
+
+    public void setDelFlag(String delFlag) 
+    {
+        this.delFlag = delFlag;
+    }
+
+    public String getDelFlag() 
+    {
+        return delFlag;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("warnId", getWarnId())
+            .append("warnType", getWarnType())
+            .append("warnSign", getWarnSign())
+            .append("channelId", getChannelId())
+            .append("videoAddress", getVideoAddress())
+            .append("reportAddress", getReportAddress())
+            .append("reportStatus", getReportStatus())
+            .append("warnTime", getWarnTime())
+            .append("warnImage", getWarnImage())
+            .append("delFlag", getDelFlag())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/mapper/ChannelNumberMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.manage.mapper;
+
+import com.ruoyi.manage.domain.ChannelNumber;
+import java.util.List;
+
+/**
+ * 通道管理Mapper接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface ChannelNumberMapper 
+{
+    /**
+     * 查询通道管理
+     * 
+     * @param channelId 通道管理主键
+     * @return 通道管理
+     */
+    public ChannelNumber selectChannelNumberByChannelId(Long channelId);
+
+    /**
+     * 查询通道管理列表
+     * 
+     * @param channelNumber 通道管理
+     * @return 通道管理集合
+     */
+    public List<ChannelNumber> selectChannelNumberList(ChannelNumber channelNumber);
+
+    /**
+     * 新增通道管理
+     * 
+     * @param channelNumber 通道管理
+     * @return 结果
+     */
+    public int insertChannelNumber(ChannelNumber channelNumber);
+
+    /**
+     * 修改通道管理
+     * 
+     * @param channelNumber 通道管理
+     * @return 结果
+     */
+    public int updateChannelNumber(ChannelNumber channelNumber);
+
+    /**
+     * 删除通道管理
+     * 
+     * @param channelId 通道管理主键
+     * @return 结果
+     */
+    public int deleteChannelNumberByChannelId(Long channelId);
+
+    /**
+     * 批量删除通道管理
+     * 
+     * @param channelIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteChannelNumberByChannelIds(Long[] channelIds);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/mapper/EquipmentManageMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.mapper;
+
+import com.ruoyi.manage.domain.EquipmentManage;
+
+import java.util.List;
+
+/**
+ * 设备管理Mapper接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface EquipmentManageMapper 
+{
+    /**
+     * 查询设备管理
+     * 
+     * @param equipmentId 设备管理主键
+     * @return 设备管理
+     */
+    public EquipmentManage selectEquipmentManageByEquipmentId(Long equipmentId);
+
+    /**
+     * 查询设备管理列表
+     * 
+     * @param equipmentManage 设备管理
+     * @return 设备管理集合
+     */
+    public List<EquipmentManage> selectEquipmentManageList(EquipmentManage equipmentManage);
+
+    /**
+     * 新增设备管理
+     * 
+     * @param equipmentManage 设备管理
+     * @return 结果
+     */
+    public int insertEquipmentManage(EquipmentManage equipmentManage);
+
+    /**
+     * 修改设备管理
+     * 
+     * @param equipmentManage 设备管理
+     * @return 结果
+     */
+    public int updateEquipmentManage(EquipmentManage equipmentManage);
+
+    /**
+     * 删除设备管理
+     * 
+     * @param equipmentId 设备管理主键
+     * @return 结果
+     */
+    public int deleteEquipmentManageByEquipmentId(Long equipmentId);
+
+    /**
+     * 批量删除设备管理
+     * 
+     * @param equipmentIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteEquipmentManageByEquipmentIds(Long[] equipmentIds);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/mapper/NetworkManageMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.mapper;
+
+import com.ruoyi.manage.domain.NetworkManage;
+
+import java.util.List;
+
+/**
+ * 网络管理Mapper接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface NetworkManageMapper 
+{
+    /**
+     * 查询网络管理
+     * 
+     * @param networkId 网络管理主键
+     * @return 网络管理
+     */
+    public NetworkManage selectNetworkManageByNetworkId(Long networkId);
+
+    /**
+     * 查询网络管理列表
+     * 
+     * @param networkManage 网络管理
+     * @return 网络管理集合
+     */
+    public List<NetworkManage> selectNetworkManageList(NetworkManage networkManage);
+
+    /**
+     * 新增网络管理
+     * 
+     * @param networkManage 网络管理
+     * @return 结果
+     */
+    public int insertNetworkManage(NetworkManage networkManage);
+
+    /**
+     * 修改网络管理
+     * 
+     * @param networkManage 网络管理
+     * @return 结果
+     */
+    public int updateNetworkManage(NetworkManage networkManage);
+
+    /**
+     * 删除网络管理
+     * 
+     * @param networkId 网络管理主键
+     * @return 结果
+     */
+    public int deleteNetworkManageByNetworkId(Long networkId);
+
+    /**
+     * 批量删除网络管理
+     * 
+     * @param networkIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteNetworkManageByNetworkIds(Long[] networkIds);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/mapper/StaffManageMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.mapper;
+
+import com.ruoyi.manage.domain.StaffManage;
+
+import java.util.List;
+
+/**
+ * 人员管理Mapper接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface StaffManageMapper 
+{
+    /**
+     * 查询人员管理
+     * 
+     * @param staffId 人员管理主键
+     * @return 人员管理
+     */
+    public StaffManage selectStaffManageByStaffId(Long staffId);
+
+    /**
+     * 查询人员管理列表
+     * 
+     * @param staffManage 人员管理
+     * @return 人员管理集合
+     */
+    public List<StaffManage> selectStaffManageList(StaffManage staffManage);
+
+    /**
+     * 新增人员管理
+     * 
+     * @param staffManage 人员管理
+     * @return 结果
+     */
+    public int insertStaffManage(StaffManage staffManage);
+
+    /**
+     * 修改人员管理
+     * 
+     * @param staffManage 人员管理
+     * @return 结果
+     */
+    public int updateStaffManage(StaffManage staffManage);
+
+    /**
+     * 删除人员管理
+     * 
+     * @param staffId 人员管理主键
+     * @return 结果
+     */
+    public int deleteStaffManageByStaffId(Long staffId);
+
+    /**
+     * 批量删除人员管理
+     * 
+     * @param staffIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteStaffManageByStaffIds(Long[] staffIds);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/mapper/TaskManageMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.mapper;
+
+import com.ruoyi.manage.domain.TaskManage;
+
+import java.util.List;
+
+/**
+ * 任务管理Mapper接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface TaskManageMapper 
+{
+    /**
+     * 查询任务管理
+     * 
+     * @param taskId 任务管理主键
+     * @return 任务管理
+     */
+    public TaskManage selectTaskManageByTaskId(Long taskId);
+
+    /**
+     * 查询任务管理列表
+     * 
+     * @param taskManage 任务管理
+     * @return 任务管理集合
+     */
+    public List<TaskManage> selectTaskManageList(TaskManage taskManage);
+
+    /**
+     * 新增任务管理
+     * 
+     * @param taskManage 任务管理
+     * @return 结果
+     */
+    public int insertTaskManage(TaskManage taskManage);
+
+    /**
+     * 修改任务管理
+     * 
+     * @param taskManage 任务管理
+     * @return 结果
+     */
+    public int updateTaskManage(TaskManage taskManage);
+
+    /**
+     * 删除任务管理
+     * 
+     * @param taskId 任务管理主键
+     * @return 结果
+     */
+    public int deleteTaskManageByTaskId(Long taskId);
+
+    /**
+     * 批量删除任务管理
+     * 
+     * @param taskIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteTaskManageByTaskIds(Long[] taskIds);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/mapper/WarnManageMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.mapper;
+
+import com.ruoyi.manage.domain.WarnManage;
+
+import java.util.List;
+
+/**
+ * 告警管理Mapper接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface WarnManageMapper 
+{
+    /**
+     * 查询告警管理
+     * 
+     * @param warnId 告警管理主键
+     * @return 告警管理
+     */
+    public WarnManage selectWarnManageByWarnId(Long warnId);
+
+    /**
+     * 查询告警管理列表
+     * 
+     * @param warnManage 告警管理
+     * @return 告警管理集合
+     */
+    public List<WarnManage> selectWarnManageList(WarnManage warnManage);
+
+    /**
+     * 新增告警管理
+     * 
+     * @param warnManage 告警管理
+     * @return 结果
+     */
+    public int insertWarnManage(WarnManage warnManage);
+
+    /**
+     * 修改告警管理
+     * 
+     * @param warnManage 告警管理
+     * @return 结果
+     */
+    public int updateWarnManage(WarnManage warnManage);
+
+    /**
+     * 删除告警管理
+     * 
+     * @param warnId 告警管理主键
+     * @return 结果
+     */
+    public int deleteWarnManageByWarnId(Long warnId);
+
+    /**
+     * 批量删除告警管理
+     * 
+     * @param warnIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteWarnManageByWarnIds(Long[] warnIds);
+}

+ 63 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/IChannelNumberService.java

@@ -0,0 +1,63 @@
+package com.ruoyi.manage.service;
+
+import com.ruoyi.manage.domain.ChannelNumber;
+
+import java.util.List;
+
+
+/**
+ * 通道管理Service接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface IChannelNumberService 
+{
+    /**
+     * 查询通道管理
+     * 
+     * @param channelId 通道管理主键
+     * @return 通道管理
+     */
+    public ChannelNumber selectChannelNumberByChannelId(Long channelId);
+
+    /**
+     * 查询通道管理列表
+     * 
+     * @param channelNumber 通道管理
+     * @return 通道管理集合
+     */
+    public List<ChannelNumber> selectChannelNumberList(ChannelNumber channelNumber);
+
+    /**
+     * 新增通道管理
+     * 
+     * @param channelNumber 通道管理
+     * @return 结果
+     */
+    public int insertChannelNumber(ChannelNumber channelNumber);
+
+    /**
+     * 修改通道管理
+     * 
+     * @param channelNumber 通道管理
+     * @return 结果
+     */
+    public int updateChannelNumber(ChannelNumber channelNumber);
+
+    /**
+     * 批量删除通道管理
+     * 
+     * @param channelIds 需要删除的通道管理主键集合
+     * @return 结果
+     */
+    public int deleteChannelNumberByChannelIds(Long[] channelIds);
+
+    /**
+     * 删除通道管理信息
+     * 
+     * @param channelId 通道管理主键
+     * @return 结果
+     */
+    public int deleteChannelNumberByChannelId(Long channelId);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/IEquipmentManageService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.service;
+
+import com.ruoyi.manage.domain.EquipmentManage;
+
+import java.util.List;
+
+/**
+ * 设备管理Service接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface IEquipmentManageService 
+{
+    /**
+     * 查询设备管理
+     * 
+     * @param equipmentId 设备管理主键
+     * @return 设备管理
+     */
+    public EquipmentManage selectEquipmentManageByEquipmentId(Long equipmentId);
+
+    /**
+     * 查询设备管理列表
+     * 
+     * @param equipmentManage 设备管理
+     * @return 设备管理集合
+     */
+    public List<EquipmentManage> selectEquipmentManageList(EquipmentManage equipmentManage);
+
+    /**
+     * 新增设备管理
+     * 
+     * @param equipmentManage 设备管理
+     * @return 结果
+     */
+    public int insertEquipmentManage(EquipmentManage equipmentManage);
+
+    /**
+     * 修改设备管理
+     * 
+     * @param equipmentManage 设备管理
+     * @return 结果
+     */
+    public int updateEquipmentManage(EquipmentManage equipmentManage);
+
+    /**
+     * 批量删除设备管理
+     * 
+     * @param equipmentIds 需要删除的设备管理主键集合
+     * @return 结果
+     */
+    public int deleteEquipmentManageByEquipmentIds(Long[] equipmentIds);
+
+    /**
+     * 删除设备管理信息
+     * 
+     * @param equipmentId 设备管理主键
+     * @return 结果
+     */
+    public int deleteEquipmentManageByEquipmentId(Long equipmentId);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/INetworkManageService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.service;
+
+import com.ruoyi.manage.domain.NetworkManage;
+
+import java.util.List;
+
+/**
+ * 网络管理Service接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface INetworkManageService 
+{
+    /**
+     * 查询网络管理
+     * 
+     * @param networkId 网络管理主键
+     * @return 网络管理
+     */
+    public NetworkManage selectNetworkManageByNetworkId(Long networkId);
+
+    /**
+     * 查询网络管理列表
+     * 
+     * @param networkManage 网络管理
+     * @return 网络管理集合
+     */
+    public List<NetworkManage> selectNetworkManageList(NetworkManage networkManage);
+
+    /**
+     * 新增网络管理
+     * 
+     * @param networkManage 网络管理
+     * @return 结果
+     */
+    public int insertNetworkManage(NetworkManage networkManage);
+
+    /**
+     * 修改网络管理
+     * 
+     * @param networkManage 网络管理
+     * @return 结果
+     */
+    public int updateNetworkManage(NetworkManage networkManage);
+
+    /**
+     * 批量删除网络管理
+     * 
+     * @param networkIds 需要删除的网络管理主键集合
+     * @return 结果
+     */
+    public int deleteNetworkManageByNetworkIds(Long[] networkIds);
+
+    /**
+     * 删除网络管理信息
+     * 
+     * @param networkId 网络管理主键
+     * @return 结果
+     */
+    public int deleteNetworkManageByNetworkId(Long networkId);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/IStaffManageService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.service;
+
+import com.ruoyi.manage.domain.StaffManage;
+
+import java.util.List;
+
+/**
+ * 人员管理Service接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface IStaffManageService 
+{
+    /**
+     * 查询人员管理
+     * 
+     * @param staffId 人员管理主键
+     * @return 人员管理
+     */
+    public StaffManage selectStaffManageByStaffId(Long staffId);
+
+    /**
+     * 查询人员管理列表
+     * 
+     * @param staffManage 人员管理
+     * @return 人员管理集合
+     */
+    public List<StaffManage> selectStaffManageList(StaffManage staffManage);
+
+    /**
+     * 新增人员管理
+     * 
+     * @param staffManage 人员管理
+     * @return 结果
+     */
+    public int insertStaffManage(StaffManage staffManage);
+
+    /**
+     * 修改人员管理
+     * 
+     * @param staffManage 人员管理
+     * @return 结果
+     */
+    public int updateStaffManage(StaffManage staffManage);
+
+    /**
+     * 批量删除人员管理
+     * 
+     * @param staffIds 需要删除的人员管理主键集合
+     * @return 结果
+     */
+    public int deleteStaffManageByStaffIds(Long[] staffIds);
+
+    /**
+     * 删除人员管理信息
+     * 
+     * @param staffId 人员管理主键
+     * @return 结果
+     */
+    public int deleteStaffManageByStaffId(Long staffId);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/ITaskManageService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.service;
+
+import com.ruoyi.manage.domain.TaskManage;
+
+import java.util.List;
+
+/**
+ * 任务管理Service接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface ITaskManageService 
+{
+    /**
+     * 查询任务管理
+     * 
+     * @param taskId 任务管理主键
+     * @return 任务管理
+     */
+    public TaskManage selectTaskManageByTaskId(Long taskId);
+
+    /**
+     * 查询任务管理列表
+     * 
+     * @param taskManage 任务管理
+     * @return 任务管理集合
+     */
+    public List<TaskManage> selectTaskManageList(TaskManage taskManage);
+
+    /**
+     * 新增任务管理
+     * 
+     * @param taskManage 任务管理
+     * @return 结果
+     */
+    public int insertTaskManage(TaskManage taskManage);
+
+    /**
+     * 修改任务管理
+     * 
+     * @param taskManage 任务管理
+     * @return 结果
+     */
+    public int updateTaskManage(TaskManage taskManage);
+
+    /**
+     * 批量删除任务管理
+     * 
+     * @param taskIds 需要删除的任务管理主键集合
+     * @return 结果
+     */
+    public int deleteTaskManageByTaskIds(Long[] taskIds);
+
+    /**
+     * 删除任务管理信息
+     * 
+     * @param taskId 任务管理主键
+     * @return 结果
+     */
+    public int deleteTaskManageByTaskId(Long taskId);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/IWarnManageService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.manage.service;
+
+import com.ruoyi.manage.domain.WarnManage;
+
+import java.util.List;
+
+/**
+ * 告警管理Service接口
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+public interface IWarnManageService 
+{
+    /**
+     * 查询告警管理
+     * 
+     * @param warnId 告警管理主键
+     * @return 告警管理
+     */
+    public WarnManage selectWarnManageByWarnId(Long warnId);
+
+    /**
+     * 查询告警管理列表
+     * 
+     * @param warnManage 告警管理
+     * @return 告警管理集合
+     */
+    public List<WarnManage> selectWarnManageList(WarnManage warnManage);
+
+    /**
+     * 新增告警管理
+     * 
+     * @param warnManage 告警管理
+     * @return 结果
+     */
+    public int insertWarnManage(WarnManage warnManage);
+
+    /**
+     * 修改告警管理
+     * 
+     * @param warnManage 告警管理
+     * @return 结果
+     */
+    public int updateWarnManage(WarnManage warnManage);
+
+    /**
+     * 批量删除告警管理
+     * 
+     * @param warnIds 需要删除的告警管理主键集合
+     * @return 结果
+     */
+    public int deleteWarnManageByWarnIds(Long[] warnIds);
+
+    /**
+     * 删除告警管理信息
+     * 
+     * @param warnId 告警管理主键
+     * @return 结果
+     */
+    public int deleteWarnManageByWarnId(Long warnId);
+}

+ 97 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/ChannelNumberServiceImpl.java

@@ -0,0 +1,97 @@
+package com.ruoyi.manage.service.impl;
+
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.manage.domain.ChannelNumber;
+import com.ruoyi.manage.mapper.ChannelNumberMapper;
+import com.ruoyi.manage.service.IChannelNumberService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import java.util.List;
+
+
+/**
+ * 通道管理Service业务层处理
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+@Service
+public class ChannelNumberServiceImpl implements IChannelNumberService
+{
+    @Autowired
+    private ChannelNumberMapper channelNumberMapper;
+
+    /**
+     * 查询通道管理
+     * 
+     * @param channelId 通道管理主键
+     * @return 通道管理
+     */
+    @Override
+    public ChannelNumber selectChannelNumberByChannelId(Long channelId)
+    {
+        return channelNumberMapper.selectChannelNumberByChannelId(channelId);
+    }
+
+    /**
+     * 查询通道管理列表
+     * 
+     * @param channelNumber 通道管理
+     * @return 通道管理
+     */
+    @Override
+    public List<ChannelNumber> selectChannelNumberList(ChannelNumber channelNumber)
+    {
+        return channelNumberMapper.selectChannelNumberList(channelNumber);
+    }
+
+    /**
+     * 新增通道管理
+     * 
+     * @param channelNumber 通道管理
+     * @return 结果
+     */
+    @Override
+    public int insertChannelNumber(ChannelNumber channelNumber)
+    {
+        channelNumber.setCreateTime(DateUtils.getNowDate());
+        return channelNumberMapper.insertChannelNumber(channelNumber);
+    }
+
+    /**
+     * 修改通道管理
+     * 
+     * @param channelNumber 通道管理
+     * @return 结果
+     */
+    @Override
+    public int updateChannelNumber(ChannelNumber channelNumber)
+    {
+        channelNumber.setUpdateTime(DateUtils.getNowDate());
+        return channelNumberMapper.updateChannelNumber(channelNumber);
+    }
+
+    /**
+     * 批量删除通道管理
+     * 
+     * @param channelIds 需要删除的通道管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteChannelNumberByChannelIds(Long[] channelIds)
+    {
+        return channelNumberMapper.deleteChannelNumberByChannelIds(channelIds);
+    }
+
+    /**
+     * 删除通道管理信息
+     * 
+     * @param channelId 通道管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteChannelNumberByChannelId(Long channelId)
+    {
+        return channelNumberMapper.deleteChannelNumberByChannelId(channelId);
+    }
+}

+ 97 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/EquipmentManageServiceImpl.java

@@ -0,0 +1,97 @@
+package com.ruoyi.manage.service.impl;
+
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.manage.domain.EquipmentManage;
+import com.ruoyi.manage.mapper.EquipmentManageMapper;
+import com.ruoyi.manage.service.IEquipmentManageService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 设备管理Service业务层处理
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+@Service
+public class EquipmentManageServiceImpl implements IEquipmentManageService
+{
+    @Autowired
+    private EquipmentManageMapper equipmentManageMapper;
+
+    /**
+     * 查询设备管理
+     * 
+     * @param equipmentId 设备管理主键
+     * @return 设备管理
+     */
+    @Override
+    public EquipmentManage selectEquipmentManageByEquipmentId(Long equipmentId)
+    {
+        return equipmentManageMapper.selectEquipmentManageByEquipmentId(equipmentId);
+    }
+
+    /**
+     * 查询设备管理列表
+     * 
+     * @param equipmentManage 设备管理
+     * @return 设备管理
+     */
+    @Override
+    public List<EquipmentManage> selectEquipmentManageList(EquipmentManage equipmentManage)
+    {
+        return equipmentManageMapper.selectEquipmentManageList(equipmentManage);
+    }
+
+    /**
+     * 新增设备管理
+     * 
+     * @param equipmentManage 设备管理
+     * @return 结果
+     */
+    @Override
+    public int insertEquipmentManage(EquipmentManage equipmentManage)
+    {
+        equipmentManage.setCreateTime(DateUtils.getNowDate());
+        return equipmentManageMapper.insertEquipmentManage(equipmentManage);
+    }
+
+    /**
+     * 修改设备管理
+     * 
+     * @param equipmentManage 设备管理
+     * @return 结果
+     */
+    @Override
+    public int updateEquipmentManage(EquipmentManage equipmentManage)
+    {
+        equipmentManage.setUpdateTime(DateUtils.getNowDate());
+        return equipmentManageMapper.updateEquipmentManage(equipmentManage);
+    }
+
+    /**
+     * 批量删除设备管理
+     * 
+     * @param equipmentIds 需要删除的设备管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteEquipmentManageByEquipmentIds(Long[] equipmentIds)
+    {
+        return equipmentManageMapper.deleteEquipmentManageByEquipmentIds(equipmentIds);
+    }
+
+    /**
+     * 删除设备管理信息
+     * 
+     * @param equipmentId 设备管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteEquipmentManageByEquipmentId(Long equipmentId)
+    {
+        return equipmentManageMapper.deleteEquipmentManageByEquipmentId(equipmentId);
+    }
+}

+ 97 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/NetworkManageServiceImpl.java

@@ -0,0 +1,97 @@
+package com.ruoyi.manage.service.impl;
+
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.manage.domain.NetworkManage;
+import com.ruoyi.manage.mapper.NetworkManageMapper;
+import com.ruoyi.manage.service.INetworkManageService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 网络管理Service业务层处理
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+@Service
+public class NetworkManageServiceImpl implements INetworkManageService 
+{
+    @Autowired
+    private NetworkManageMapper networkManageMapper;
+
+    /**
+     * 查询网络管理
+     * 
+     * @param networkId 网络管理主键
+     * @return 网络管理
+     */
+    @Override
+    public NetworkManage selectNetworkManageByNetworkId(Long networkId)
+    {
+        return networkManageMapper.selectNetworkManageByNetworkId(networkId);
+    }
+
+    /**
+     * 查询网络管理列表
+     * 
+     * @param networkManage 网络管理
+     * @return 网络管理
+     */
+    @Override
+    public List<NetworkManage> selectNetworkManageList(NetworkManage networkManage)
+    {
+        return networkManageMapper.selectNetworkManageList(networkManage);
+    }
+
+    /**
+     * 新增网络管理
+     * 
+     * @param networkManage 网络管理
+     * @return 结果
+     */
+    @Override
+    public int insertNetworkManage(NetworkManage networkManage)
+    {
+        networkManage.setCreateTime(DateUtils.getNowDate());
+        return networkManageMapper.insertNetworkManage(networkManage);
+    }
+
+    /**
+     * 修改网络管理
+     * 
+     * @param networkManage 网络管理
+     * @return 结果
+     */
+    @Override
+    public int updateNetworkManage(NetworkManage networkManage)
+    {
+        networkManage.setUpdateTime(DateUtils.getNowDate());
+        return networkManageMapper.updateNetworkManage(networkManage);
+    }
+
+    /**
+     * 批量删除网络管理
+     * 
+     * @param networkIds 需要删除的网络管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteNetworkManageByNetworkIds(Long[] networkIds)
+    {
+        return networkManageMapper.deleteNetworkManageByNetworkIds(networkIds);
+    }
+
+    /**
+     * 删除网络管理信息
+     * 
+     * @param networkId 网络管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteNetworkManageByNetworkId(Long networkId)
+    {
+        return networkManageMapper.deleteNetworkManageByNetworkId(networkId);
+    }
+}

+ 97 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/StaffManageServiceImpl.java

@@ -0,0 +1,97 @@
+package com.ruoyi.manage.service.impl;
+
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.manage.domain.StaffManage;
+import com.ruoyi.manage.mapper.StaffManageMapper;
+import com.ruoyi.manage.service.IStaffManageService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 人员管理Service业务层处理
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+@Service
+public class StaffManageServiceImpl implements IStaffManageService 
+{
+    @Autowired
+    private StaffManageMapper staffManageMapper;
+
+    /**
+     * 查询人员管理
+     * 
+     * @param staffId 人员管理主键
+     * @return 人员管理
+     */
+    @Override
+    public StaffManage selectStaffManageByStaffId(Long staffId)
+    {
+        return staffManageMapper.selectStaffManageByStaffId(staffId);
+    }
+
+    /**
+     * 查询人员管理列表
+     * 
+     * @param staffManage 人员管理
+     * @return 人员管理
+     */
+    @Override
+    public List<StaffManage> selectStaffManageList(StaffManage staffManage)
+    {
+        return staffManageMapper.selectStaffManageList(staffManage);
+    }
+
+    /**
+     * 新增人员管理
+     * 
+     * @param staffManage 人员管理
+     * @return 结果
+     */
+    @Override
+    public int insertStaffManage(StaffManage staffManage)
+    {
+        staffManage.setCreateTime(DateUtils.getNowDate());
+        return staffManageMapper.insertStaffManage(staffManage);
+    }
+
+    /**
+     * 修改人员管理
+     * 
+     * @param staffManage 人员管理
+     * @return 结果
+     */
+    @Override
+    public int updateStaffManage(StaffManage staffManage)
+    {
+        staffManage.setUpdateTime(DateUtils.getNowDate());
+        return staffManageMapper.updateStaffManage(staffManage);
+    }
+
+    /**
+     * 批量删除人员管理
+     * 
+     * @param staffIds 需要删除的人员管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteStaffManageByStaffIds(Long[] staffIds)
+    {
+        return staffManageMapper.deleteStaffManageByStaffIds(staffIds);
+    }
+
+    /**
+     * 删除人员管理信息
+     * 
+     * @param staffId 人员管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteStaffManageByStaffId(Long staffId)
+    {
+        return staffManageMapper.deleteStaffManageByStaffId(staffId);
+    }
+}

+ 97 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/TaskManageServiceImpl.java

@@ -0,0 +1,97 @@
+package com.ruoyi.manage.service.impl;
+
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.manage.domain.TaskManage;
+import com.ruoyi.manage.mapper.TaskManageMapper;
+import com.ruoyi.manage.service.ITaskManageService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 任务管理Service业务层处理
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+@Service
+public class TaskManageServiceImpl implements ITaskManageService 
+{
+    @Autowired
+    private TaskManageMapper taskManageMapper;
+
+    /**
+     * 查询任务管理
+     * 
+     * @param taskId 任务管理主键
+     * @return 任务管理
+     */
+    @Override
+    public TaskManage selectTaskManageByTaskId(Long taskId)
+    {
+        return taskManageMapper.selectTaskManageByTaskId(taskId);
+    }
+
+    /**
+     * 查询任务管理列表
+     * 
+     * @param taskManage 任务管理
+     * @return 任务管理
+     */
+    @Override
+    public List<TaskManage> selectTaskManageList(TaskManage taskManage)
+    {
+        return taskManageMapper.selectTaskManageList(taskManage);
+    }
+
+    /**
+     * 新增任务管理
+     * 
+     * @param taskManage 任务管理
+     * @return 结果
+     */
+    @Override
+    public int insertTaskManage(TaskManage taskManage)
+    {
+        taskManage.setCreateTime(DateUtils.getNowDate());
+        return taskManageMapper.insertTaskManage(taskManage);
+    }
+
+    /**
+     * 修改任务管理
+     * 
+     * @param taskManage 任务管理
+     * @return 结果
+     */
+    @Override
+    public int updateTaskManage(TaskManage taskManage)
+    {
+        taskManage.setUpdateTime(DateUtils.getNowDate());
+        return taskManageMapper.updateTaskManage(taskManage);
+    }
+
+    /**
+     * 批量删除任务管理
+     * 
+     * @param taskIds 需要删除的任务管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTaskManageByTaskIds(Long[] taskIds)
+    {
+        return taskManageMapper.deleteTaskManageByTaskIds(taskIds);
+    }
+
+    /**
+     * 删除任务管理信息
+     * 
+     * @param taskId 任务管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTaskManageByTaskId(Long taskId)
+    {
+        return taskManageMapper.deleteTaskManageByTaskId(taskId);
+    }
+}

+ 97 - 0
ruoyi-system/src/main/java/com/ruoyi/manage/service/impl/WarnManageServiceImpl.java

@@ -0,0 +1,97 @@
+package com.ruoyi.manage.service.impl;
+
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.manage.domain.WarnManage;
+import com.ruoyi.manage.mapper.WarnManageMapper;
+import com.ruoyi.manage.service.IWarnManageService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 告警管理Service业务层处理
+ * 
+ * @author boman
+ * @date 2025-05-07
+ */
+@Service
+public class WarnManageServiceImpl implements IWarnManageService 
+{
+    @Autowired
+    private WarnManageMapper warnManageMapper;
+
+    /**
+     * 查询告警管理
+     * 
+     * @param warnId 告警管理主键
+     * @return 告警管理
+     */
+    @Override
+    public WarnManage selectWarnManageByWarnId(Long warnId)
+    {
+        return warnManageMapper.selectWarnManageByWarnId(warnId);
+    }
+
+    /**
+     * 查询告警管理列表
+     * 
+     * @param warnManage 告警管理
+     * @return 告警管理
+     */
+    @Override
+    public List<WarnManage> selectWarnManageList(WarnManage warnManage)
+    {
+        return warnManageMapper.selectWarnManageList(warnManage);
+    }
+
+    /**
+     * 新增告警管理
+     * 
+     * @param warnManage 告警管理
+     * @return 结果
+     */
+    @Override
+    public int insertWarnManage(WarnManage warnManage)
+    {
+        warnManage.setCreateTime(DateUtils.getNowDate());
+        return warnManageMapper.insertWarnManage(warnManage);
+    }
+
+    /**
+     * 修改告警管理
+     * 
+     * @param warnManage 告警管理
+     * @return 结果
+     */
+    @Override
+    public int updateWarnManage(WarnManage warnManage)
+    {
+        warnManage.setUpdateTime(DateUtils.getNowDate());
+        return warnManageMapper.updateWarnManage(warnManage);
+    }
+
+    /**
+     * 批量删除告警管理
+     * 
+     * @param warnIds 需要删除的告警管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteWarnManageByWarnIds(Long[] warnIds)
+    {
+        return warnManageMapper.deleteWarnManageByWarnIds(warnIds);
+    }
+
+    /**
+     * 删除告警管理信息
+     * 
+     * @param warnId 告警管理主键
+     * @return 结果
+     */
+    @Override
+    public int deleteWarnManageByWarnId(Long warnId)
+    {
+        return warnManageMapper.deleteWarnManageByWarnId(warnId);
+    }
+}

+ 95 - 0
ruoyi-system/src/main/resources/mapper/manage/ChannelNumberMapper.xml

@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.manage.mapper.ChannelNumberMapper">
+    
+    <resultMap type="ChannelNumber" id="ChannelNumberResult">
+        <result property="channelId"    column="channel_id"    />
+        <result property="channelNum"    column="channel_num"    />
+        <result property="videoAddress"    column="video_address"    />
+        <result property="protocolType"    column="protocol_type"    />
+        <result property="channelDetails"    column="channel_details"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectChannelNumberVo">
+        select channel_id, channel_num, video_address, protocol_type, channel_details, del_flag, create_by, create_time, update_by, update_time, remark from channel_number
+    </sql>
+
+    <select id="selectChannelNumberList" parameterType="ChannelNumber" resultMap="ChannelNumberResult">
+        <include refid="selectChannelNumberVo"/>
+        <where>  
+            <if test="channelNum != null  and channelNum != ''"> and channel_num = #{channelNum}</if>
+            <if test="videoAddress != null  and videoAddress != ''"> and video_address = #{videoAddress}</if>
+            <if test="protocolType != null  and protocolType != ''"> and protocol_type = #{protocolType}</if>
+            <if test="channelDetails != null  and channelDetails != ''"> and channel_details = #{channelDetails}</if>
+        </where>
+    </select>
+    
+    <select id="selectChannelNumberByChannelId" parameterType="Long" resultMap="ChannelNumberResult">
+        <include refid="selectChannelNumberVo"/>
+        where channel_id = #{channelId}
+    </select>
+
+    <insert id="insertChannelNumber" parameterType="ChannelNumber" useGeneratedKeys="true" keyProperty="channelId">
+        insert into channel_number
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="channelNum != null">channel_num,</if>
+            <if test="videoAddress != null">video_address,</if>
+            <if test="protocolType != null">protocol_type,</if>
+            <if test="channelDetails != null">channel_details,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="channelNum != null">#{channelNum},</if>
+            <if test="videoAddress != null">#{videoAddress},</if>
+            <if test="protocolType != null">#{protocolType},</if>
+            <if test="channelDetails != null">#{channelDetails},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateChannelNumber" parameterType="ChannelNumber">
+        update channel_number
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="channelNum != null">channel_num = #{channelNum},</if>
+            <if test="videoAddress != null">video_address = #{videoAddress},</if>
+            <if test="protocolType != null">protocol_type = #{protocolType},</if>
+            <if test="channelDetails != null">channel_details = #{channelDetails},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where channel_id = #{channelId}
+    </update>
+
+    <delete id="deleteChannelNumberByChannelId" parameterType="Long">
+        delete from channel_number where channel_id = #{channelId}
+    </delete>
+
+    <delete id="deleteChannelNumberByChannelIds" parameterType="String">
+        delete from channel_number where channel_id in 
+        <foreach item="channelId" collection="array" open="(" separator="," close=")">
+            #{channelId}
+        </foreach>
+    </delete>
+</mapper>

+ 115 - 0
ruoyi-system/src/main/resources/mapper/manage/EquipmentManageMapper.xml

@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.manage.mapper.EquipmentManageMapper">
+    
+    <resultMap type="EquipmentManage" id="EquipmentManageResult">
+        <result property="equipmentId"    column="equipment_id"    />
+        <result property="equipmentNum"    column="equipment_num"    />
+        <result property="equipmentName"    column="equipment_name"    />
+        <result property="equipmentType"    column="equipment_type"    />
+        <result property="equipmentAddress"    column="equipment_address"    />
+        <result property="equipmentRegion"    column="equipment_region"    />
+        <result property="equipmentTime"    column="equipment_time"    />
+        <result property="equipmentImage"    column="equipment_image"    />
+        <result property="runState"    column="run_state"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectEquipmentManageVo">
+        select equipment_id, equipment_num, equipment_name, equipment_type, equipment_address, equipment_region, equipment_time, equipment_image, run_state, del_flag, create_by, create_time, update_by, update_time, remark from equipment_manage
+    </sql>
+
+    <select id="selectEquipmentManageList" parameterType="EquipmentManage" resultMap="EquipmentManageResult">
+        <include refid="selectEquipmentManageVo"/>
+        <where>  
+            <if test="equipmentNum != null  and equipmentNum != ''"> and equipment_num = #{equipmentNum}</if>
+            <if test="equipmentName != null  and equipmentName != ''"> and equipment_name like concat('%', #{equipmentName}, '%')</if>
+            <if test="equipmentType != null  and equipmentType != ''"> and equipment_type = #{equipmentType}</if>
+            <if test="equipmentAddress != null  and equipmentAddress != ''"> and equipment_address = #{equipmentAddress}</if>
+            <if test="equipmentRegion != null  and equipmentRegion != ''"> and equipment_region = #{equipmentRegion}</if>
+            <if test="equipmentTime != null "> and equipment_time = #{equipmentTime}</if>
+            <if test="equipmentImage != null  and equipmentImage != ''"> and equipment_image = #{equipmentImage}</if>
+            <if test="runState != null  and runState != ''"> and run_state = #{runState}</if>
+        </where>
+    </select>
+    
+    <select id="selectEquipmentManageByEquipmentId" parameterType="Long" resultMap="EquipmentManageResult">
+        <include refid="selectEquipmentManageVo"/>
+        where equipment_id = #{equipmentId}
+    </select>
+
+    <insert id="insertEquipmentManage" parameterType="EquipmentManage" useGeneratedKeys="true" keyProperty="equipmentId">
+        insert into equipment_manage
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="equipmentNum != null">equipment_num,</if>
+            <if test="equipmentName != null">equipment_name,</if>
+            <if test="equipmentType != null">equipment_type,</if>
+            <if test="equipmentAddress != null">equipment_address,</if>
+            <if test="equipmentRegion != null">equipment_region,</if>
+            <if test="equipmentTime != null">equipment_time,</if>
+            <if test="equipmentImage != null">equipment_image,</if>
+            <if test="runState != null">run_state,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="equipmentNum != null">#{equipmentNum},</if>
+            <if test="equipmentName != null">#{equipmentName},</if>
+            <if test="equipmentType != null">#{equipmentType},</if>
+            <if test="equipmentAddress != null">#{equipmentAddress},</if>
+            <if test="equipmentRegion != null">#{equipmentRegion},</if>
+            <if test="equipmentTime != null">#{equipmentTime},</if>
+            <if test="equipmentImage != null">#{equipmentImage},</if>
+            <if test="runState != null">#{runState},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateEquipmentManage" parameterType="EquipmentManage">
+        update equipment_manage
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="equipmentNum != null">equipment_num = #{equipmentNum},</if>
+            <if test="equipmentName != null">equipment_name = #{equipmentName},</if>
+            <if test="equipmentType != null">equipment_type = #{equipmentType},</if>
+            <if test="equipmentAddress != null">equipment_address = #{equipmentAddress},</if>
+            <if test="equipmentRegion != null">equipment_region = #{equipmentRegion},</if>
+            <if test="equipmentTime != null">equipment_time = #{equipmentTime},</if>
+            <if test="equipmentImage != null">equipment_image = #{equipmentImage},</if>
+            <if test="runState != null">run_state = #{runState},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where equipment_id = #{equipmentId}
+    </update>
+
+    <delete id="deleteEquipmentManageByEquipmentId" parameterType="Long">
+        delete from equipment_manage where equipment_id = #{equipmentId}
+    </delete>
+
+    <delete id="deleteEquipmentManageByEquipmentIds" parameterType="String">
+        delete from equipment_manage where equipment_id in 
+        <foreach item="equipmentId" collection="array" open="(" separator="," close=")">
+            #{equipmentId}
+        </foreach>
+    </delete>
+</mapper>

+ 115 - 0
ruoyi-system/src/main/resources/mapper/manage/NetworkManageMapper.xml

@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.manage.mapper.NetworkManageMapper">
+    
+    <resultMap type="NetworkManage" id="NetworkManageResult">
+        <result property="networkId"    column="network_id"    />
+        <result property="networkName"    column="network_name"    />
+        <result property="networkCardName"    column="network_card_name"    />
+        <result property="networkIp"    column="network_ip"    />
+        <result property="subnetMask"    column="subnet_mask"    />
+        <result property="defaultGateway"    column="default_gateway"    />
+        <result property="physicalAddress"    column="physical_address"    />
+        <result property="allocationScheme"    column="allocation_scheme"    />
+        <result property="domainNameServer"    column="domain_name_server"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectNetworkManageVo">
+        select network_id, network_name, network_card_name, network_ip, subnet_mask, default_gateway, physical_address, allocation_scheme, domain_name_server, del_flag, create_by, create_time, update_by, update_time, remark from network_manage
+    </sql>
+
+    <select id="selectNetworkManageList" parameterType="NetworkManage" resultMap="NetworkManageResult">
+        <include refid="selectNetworkManageVo"/>
+        <where>  
+            <if test="networkName != null  and networkName != ''"> and network_name like concat('%', #{networkName}, '%')</if>
+            <if test="networkCardName != null  and networkCardName != ''"> and network_card_name like concat('%', #{networkCardName}, '%')</if>
+            <if test="networkIp != null  and networkIp != ''"> and network_ip = #{networkIp}</if>
+            <if test="subnetMask != null  and subnetMask != ''"> and subnet_mask = #{subnetMask}</if>
+            <if test="defaultGateway != null  and defaultGateway != ''"> and default_gateway = #{defaultGateway}</if>
+            <if test="physicalAddress != null  and physicalAddress != ''"> and physical_address = #{physicalAddress}</if>
+            <if test="allocationScheme != null  and allocationScheme != ''"> and allocation_scheme = #{allocationScheme}</if>
+            <if test="domainNameServer != null  and domainNameServer != ''"> and domain_name_server = #{domainNameServer}</if>
+        </where>
+    </select>
+    
+    <select id="selectNetworkManageByNetworkId" parameterType="Long" resultMap="NetworkManageResult">
+        <include refid="selectNetworkManageVo"/>
+        where network_id = #{networkId}
+    </select>
+
+    <insert id="insertNetworkManage" parameterType="NetworkManage" useGeneratedKeys="true" keyProperty="networkId">
+        insert into network_manage
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="networkName != null">network_name,</if>
+            <if test="networkCardName != null">network_card_name,</if>
+            <if test="networkIp != null">network_ip,</if>
+            <if test="subnetMask != null">subnet_mask,</if>
+            <if test="defaultGateway != null">default_gateway,</if>
+            <if test="physicalAddress != null">physical_address,</if>
+            <if test="allocationScheme != null">allocation_scheme,</if>
+            <if test="domainNameServer != null">domain_name_server,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="networkName != null">#{networkName},</if>
+            <if test="networkCardName != null">#{networkCardName},</if>
+            <if test="networkIp != null">#{networkIp},</if>
+            <if test="subnetMask != null">#{subnetMask},</if>
+            <if test="defaultGateway != null">#{defaultGateway},</if>
+            <if test="physicalAddress != null">#{physicalAddress},</if>
+            <if test="allocationScheme != null">#{allocationScheme},</if>
+            <if test="domainNameServer != null">#{domainNameServer},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateNetworkManage" parameterType="NetworkManage">
+        update network_manage
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="networkName != null">network_name = #{networkName},</if>
+            <if test="networkCardName != null">network_card_name = #{networkCardName},</if>
+            <if test="networkIp != null">network_ip = #{networkIp},</if>
+            <if test="subnetMask != null">subnet_mask = #{subnetMask},</if>
+            <if test="defaultGateway != null">default_gateway = #{defaultGateway},</if>
+            <if test="physicalAddress != null">physical_address = #{physicalAddress},</if>
+            <if test="allocationScheme != null">allocation_scheme = #{allocationScheme},</if>
+            <if test="domainNameServer != null">domain_name_server = #{domainNameServer},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where network_id = #{networkId}
+    </update>
+
+    <delete id="deleteNetworkManageByNetworkId" parameterType="Long">
+        delete from network_manage where network_id = #{networkId}
+    </delete>
+
+    <delete id="deleteNetworkManageByNetworkIds" parameterType="String">
+        delete from network_manage where network_id in 
+        <foreach item="networkId" collection="array" open="(" separator="," close=")">
+            #{networkId}
+        </foreach>
+    </delete>
+</mapper>

+ 100 - 0
ruoyi-system/src/main/resources/mapper/manage/StaffManageMapper.xml

@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.manage.mapper.StaffManageMapper">
+    
+    <resultMap type="StaffManage" id="StaffManageResult">
+        <result property="staffId"    column="staff_id"    />
+        <result property="staffName"    column="staff_name"    />
+        <result property="staffPhone"    column="staff_phone"    />
+        <result property="emergencyContact"    column="emergency_contact"    />
+        <result property="emergencyContactPhone"    column="emergency_contact_phone"    />
+        <result property="staffImage"    column="staff_image"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectStaffManageVo">
+        select staff_id, staff_name, staff_phone, emergency_contact, emergency_contact_phone, staff_image, del_flag, create_by, create_time, update_by, update_time, remark from staff_manage
+    </sql>
+
+    <select id="selectStaffManageList" parameterType="StaffManage" resultMap="StaffManageResult">
+        <include refid="selectStaffManageVo"/>
+        <where>  
+            <if test="staffName != null  and staffName != ''"> and staff_name like concat('%', #{staffName}, '%')</if>
+            <if test="staffPhone != null  and staffPhone != ''"> and staff_phone = #{staffPhone}</if>
+            <if test="emergencyContact != null  and emergencyContact != ''"> and emergency_contact = #{emergencyContact}</if>
+            <if test="emergencyContactPhone != null  and emergencyContactPhone != ''"> and emergency_contact_phone = #{emergencyContactPhone}</if>
+            <if test="staffImage != null  and staffImage != ''"> and staff_image = #{staffImage}</if>
+        </where>
+    </select>
+    
+    <select id="selectStaffManageByStaffId" parameterType="Long" resultMap="StaffManageResult">
+        <include refid="selectStaffManageVo"/>
+        where staff_id = #{staffId}
+    </select>
+
+    <insert id="insertStaffManage" parameterType="StaffManage" useGeneratedKeys="true" keyProperty="staffId">
+        insert into staff_manage
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="staffName != null">staff_name,</if>
+            <if test="staffPhone != null">staff_phone,</if>
+            <if test="emergencyContact != null">emergency_contact,</if>
+            <if test="emergencyContactPhone != null">emergency_contact_phone,</if>
+            <if test="staffImage != null">staff_image,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="staffName != null">#{staffName},</if>
+            <if test="staffPhone != null">#{staffPhone},</if>
+            <if test="emergencyContact != null">#{emergencyContact},</if>
+            <if test="emergencyContactPhone != null">#{emergencyContactPhone},</if>
+            <if test="staffImage != null">#{staffImage},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateStaffManage" parameterType="StaffManage">
+        update staff_manage
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="staffName != null">staff_name = #{staffName},</if>
+            <if test="staffPhone != null">staff_phone = #{staffPhone},</if>
+            <if test="emergencyContact != null">emergency_contact = #{emergencyContact},</if>
+            <if test="emergencyContactPhone != null">emergency_contact_phone = #{emergencyContactPhone},</if>
+            <if test="staffImage != null">staff_image = #{staffImage},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where staff_id = #{staffId}
+    </update>
+
+    <delete id="deleteStaffManageByStaffId" parameterType="Long">
+        delete from staff_manage where staff_id = #{staffId}
+    </delete>
+
+    <delete id="deleteStaffManageByStaffIds" parameterType="String">
+        delete from staff_manage where staff_id in 
+        <foreach item="staffId" collection="array" open="(" separator="," close=")">
+            #{staffId}
+        </foreach>
+    </delete>
+</mapper>

+ 105 - 0
ruoyi-system/src/main/resources/mapper/manage/TaskManageMapper.xml

@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.manage.mapper.TaskManageMapper">
+    
+    <resultMap type="TaskManage" id="TaskManageResult">
+        <result property="taskId"    column="task_id"    />
+        <result property="taskNum"    column="task_num"    />
+        <result property="taskDetails"    column="task_details"    />
+        <result property="channelId"    column="channel_id"    />
+        <result property="videoAddress"    column="video_address"    />
+        <result property="reportAddress"    column="report_address"    />
+        <result property="algorithmSet"    column="algorithm_set"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectTaskManageVo">
+        select task_id, task_num, task_details, channel_id, video_address, report_address, algorithm_set, del_flag, create_by, create_time, update_by, update_time, remark from task_manage
+    </sql>
+
+    <select id="selectTaskManageList" parameterType="TaskManage" resultMap="TaskManageResult">
+        <include refid="selectTaskManageVo"/>
+        <where>  
+            <if test="taskNum != null  and taskNum != ''"> and task_num = #{taskNum}</if>
+            <if test="taskDetails != null  and taskDetails != ''"> and task_details = #{taskDetails}</if>
+            <if test="channelId != null "> and channel_id = #{channelId}</if>
+            <if test="videoAddress != null  and videoAddress != ''"> and video_address = #{videoAddress}</if>
+            <if test="reportAddress != null  and reportAddress != ''"> and report_address = #{reportAddress}</if>
+            <if test="algorithmSet != null  and algorithmSet != ''"> and algorithm_set = #{algorithmSet}</if>
+        </where>
+    </select>
+    
+    <select id="selectTaskManageByTaskId" parameterType="Long" resultMap="TaskManageResult">
+        <include refid="selectTaskManageVo"/>
+        where task_id = #{taskId}
+    </select>
+
+    <insert id="insertTaskManage" parameterType="TaskManage" useGeneratedKeys="true" keyProperty="taskId">
+        insert into task_manage
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="taskNum != null">task_num,</if>
+            <if test="taskDetails != null">task_details,</if>
+            <if test="channelId != null">channel_id,</if>
+            <if test="videoAddress != null">video_address,</if>
+            <if test="reportAddress != null">report_address,</if>
+            <if test="algorithmSet != null">algorithm_set,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="taskNum != null">#{taskNum},</if>
+            <if test="taskDetails != null">#{taskDetails},</if>
+            <if test="channelId != null">#{channelId},</if>
+            <if test="videoAddress != null">#{videoAddress},</if>
+            <if test="reportAddress != null">#{reportAddress},</if>
+            <if test="algorithmSet != null">#{algorithmSet},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTaskManage" parameterType="TaskManage">
+        update task_manage
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="taskNum != null">task_num = #{taskNum},</if>
+            <if test="taskDetails != null">task_details = #{taskDetails},</if>
+            <if test="channelId != null">channel_id = #{channelId},</if>
+            <if test="videoAddress != null">video_address = #{videoAddress},</if>
+            <if test="reportAddress != null">report_address = #{reportAddress},</if>
+            <if test="algorithmSet != null">algorithm_set = #{algorithmSet},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where task_id = #{taskId}
+    </update>
+
+    <delete id="deleteTaskManageByTaskId" parameterType="Long">
+        delete from task_manage where task_id = #{taskId}
+    </delete>
+
+    <delete id="deleteTaskManageByTaskIds" parameterType="String">
+        delete from task_manage where task_id in 
+        <foreach item="taskId" collection="array" open="(" separator="," close=")">
+            #{taskId}
+        </foreach>
+    </delete>
+</mapper>

+ 115 - 0
ruoyi-system/src/main/resources/mapper/manage/WarnManageMapper.xml

@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.manage.mapper.WarnManageMapper">
+    
+    <resultMap type="WarnManage" id="WarnManageResult">
+        <result property="warnId"    column="warn_id"    />
+        <result property="warnType"    column="warn_type"    />
+        <result property="warnSign"    column="warn_sign"    />
+        <result property="channelId"    column="channel_id"    />
+        <result property="videoAddress"    column="video_address"    />
+        <result property="reportAddress"    column="report_address"    />
+        <result property="reportStatus"    column="report_status"    />
+        <result property="warnTime"    column="warn_time"    />
+        <result property="warnImage"    column="warn_image"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectWarnManageVo">
+        select warn_id, warn_type, warn_sign, channel_id, video_address, report_address, report_status, warn_time, warn_image, del_flag, create_by, create_time, update_by, update_time, remark from warn_manage
+    </sql>
+
+    <select id="selectWarnManageList" parameterType="WarnManage" resultMap="WarnManageResult">
+        <include refid="selectWarnManageVo"/>
+        <where>  
+            <if test="warnType != null  and warnType != ''"> and warn_type = #{warnType}</if>
+            <if test="warnSign != null  and warnSign != ''"> and warn_sign = #{warnSign}</if>
+            <if test="channelId != null "> and channel_id = #{channelId}</if>
+            <if test="videoAddress != null  and videoAddress != ''"> and video_address = #{videoAddress}</if>
+            <if test="reportAddress != null  and reportAddress != ''"> and report_address = #{reportAddress}</if>
+            <if test="reportStatus != null  and reportStatus != ''"> and report_status = #{reportStatus}</if>
+            <if test="warnTime != null "> and warn_time = #{warnTime}</if>
+            <if test="warnImage != null  and warnImage != ''"> and warn_image = #{warnImage}</if>
+        </where>
+    </select>
+    
+    <select id="selectWarnManageByWarnId" parameterType="Long" resultMap="WarnManageResult">
+        <include refid="selectWarnManageVo"/>
+        where warn_id = #{warnId}
+    </select>
+
+    <insert id="insertWarnManage" parameterType="WarnManage" useGeneratedKeys="true" keyProperty="warnId">
+        insert into warn_manage
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="warnType != null">warn_type,</if>
+            <if test="warnSign != null">warn_sign,</if>
+            <if test="channelId != null">channel_id,</if>
+            <if test="videoAddress != null">video_address,</if>
+            <if test="reportAddress != null">report_address,</if>
+            <if test="reportStatus != null">report_status,</if>
+            <if test="warnTime != null">warn_time,</if>
+            <if test="warnImage != null">warn_image,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="warnType != null">#{warnType},</if>
+            <if test="warnSign != null">#{warnSign},</if>
+            <if test="channelId != null">#{channelId},</if>
+            <if test="videoAddress != null">#{videoAddress},</if>
+            <if test="reportAddress != null">#{reportAddress},</if>
+            <if test="reportStatus != null">#{reportStatus},</if>
+            <if test="warnTime != null">#{warnTime},</if>
+            <if test="warnImage != null">#{warnImage},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateWarnManage" parameterType="WarnManage">
+        update warn_manage
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="warnType != null">warn_type = #{warnType},</if>
+            <if test="warnSign != null">warn_sign = #{warnSign},</if>
+            <if test="channelId != null">channel_id = #{channelId},</if>
+            <if test="videoAddress != null">video_address = #{videoAddress},</if>
+            <if test="reportAddress != null">report_address = #{reportAddress},</if>
+            <if test="reportStatus != null">report_status = #{reportStatus},</if>
+            <if test="warnTime != null">warn_time = #{warnTime},</if>
+            <if test="warnImage != null">warn_image = #{warnImage},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where warn_id = #{warnId}
+    </update>
+
+    <delete id="deleteWarnManageByWarnId" parameterType="Long">
+        delete from warn_manage where warn_id = #{warnId}
+    </delete>
+
+    <delete id="deleteWarnManageByWarnIds" parameterType="String">
+        delete from warn_manage where warn_id in 
+        <foreach item="warnId" collection="array" open="(" separator="," close=")">
+            #{warnId}
+        </foreach>
+    </delete>
+</mapper>