ソースを参照

日报代码提交

zx 6 ヶ月 前
コミット
e8747ae818
27 ファイル変更2629 行追加1 行削除
  1. 11 1
      ruoyi-powerdistribution/pom.xml
  2. 104 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportAppointmentDayController.java
  3. 104 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportIllegalDayController.java
  4. 104 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportPlanDayController.java
  5. 104 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportPlanNextDayController.java
  6. 68 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/ReportController.java
  7. 153 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportAppointmentDay.java
  8. 167 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportIllegalDay.java
  9. 181 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportPlanDay.java
  10. 237 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportPlanNextDay.java
  11. 51 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/vo/ReportDayVO.java
  12. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportAppointmentDayMapper.java
  13. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportIllegalDayMapper.java
  14. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportPlanDayMapper.java
  15. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportPlanNextDayMapper.java
  16. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportAppointmentDayService.java
  17. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportIllegalDayService.java
  18. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportPlanDayService.java
  19. 61 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportPlanNextDayService.java
  20. 96 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportAppointmentDayServiceImpl.java
  21. 96 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportIllegalDayServiceImpl.java
  22. 96 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportPlanDayServiceImpl.java
  23. 96 0
      ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportPlanNextDayServiceImpl.java
  24. 107 0
      ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportAppointmentDayMapper.xml
  25. 112 0
      ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportIllegalDayMapper.xml
  26. 117 0
      ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportPlanDayMapper.xml
  27. 137 0
      ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportPlanNextDayMapper.xml

+ 11 - 1
ruoyi-powerdistribution/pom.xml

@@ -22,7 +22,17 @@
             <groupId>com.ruoyi</groupId>
             <artifactId>ruoyi-common</artifactId>
         </dependency>
+        <dependency>
+            <groupId>io.swagger</groupId>
+            <artifactId>swagger-annotations</artifactId>
+            <version>1.6.2</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+        </dependency>
 
     </dependencies>
 
-</project>
+</project>

+ 104 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportAppointmentDayController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.powerdistribution.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.powerdistribution.domain.PdmReportAppointmentDay;
+import com.ruoyi.powerdistribution.service.IPdmReportAppointmentDayService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 履职日统计Controller
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@RestController
+@RequestMapping("/power/appointment")
+public class PdmReportAppointmentDayController extends BaseController
+{
+    @Autowired
+    private IPdmReportAppointmentDayService pdmReportAppointmentDayService;
+
+    /**
+     * 查询履职日统计列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(PdmReportAppointmentDay pdmReportAppointmentDay)
+    {
+        startPage();
+        List<PdmReportAppointmentDay> list = pdmReportAppointmentDayService.selectPdmReportAppointmentDayList(pdmReportAppointmentDay);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出履职日统计列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:export')")
+    @Log(title = "履职日统计", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, PdmReportAppointmentDay pdmReportAppointmentDay)
+    {
+        List<PdmReportAppointmentDay> list = pdmReportAppointmentDayService.selectPdmReportAppointmentDayList(pdmReportAppointmentDay);
+        ExcelUtil<PdmReportAppointmentDay> util = new ExcelUtil<PdmReportAppointmentDay>(PdmReportAppointmentDay.class);
+        util.exportExcel(response, list, "履职日统计数据");
+    }
+
+    /**
+     * 获取履职日统计详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return success(pdmReportAppointmentDayService.selectPdmReportAppointmentDayById(id));
+    }
+
+    /**
+     * 新增履职日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:add')")
+    @Log(title = "履职日统计", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody PdmReportAppointmentDay pdmReportAppointmentDay)
+    {
+        return toAjax(pdmReportAppointmentDayService.insertPdmReportAppointmentDay(pdmReportAppointmentDay));
+    }
+
+    /**
+     * 修改履职日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:edit')")
+    @Log(title = "履职日统计", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody PdmReportAppointmentDay pdmReportAppointmentDay)
+    {
+        return toAjax(pdmReportAppointmentDayService.updatePdmReportAppointmentDay(pdmReportAppointmentDay));
+    }
+
+    /**
+     * 删除履职日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:remove')")
+    @Log(title = "履职日统计", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(pdmReportAppointmentDayService.deletePdmReportAppointmentDayByIds(ids));
+    }
+}

+ 104 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportIllegalDayController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.powerdistribution.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.powerdistribution.domain.PdmReportIllegalDay;
+import com.ruoyi.powerdistribution.service.IPdmReportIllegalDayService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 违章日统计Controller
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@RestController
+@RequestMapping("/power/illegal")
+public class PdmReportIllegalDayController extends BaseController
+{
+    @Autowired
+    private IPdmReportIllegalDayService pdmReportIllegalDayService;
+
+    /**
+     * 查询违章日统计列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(PdmReportIllegalDay pdmReportIllegalDay)
+    {
+        startPage();
+        List<PdmReportIllegalDay> list = pdmReportIllegalDayService.selectPdmReportIllegalDayList(pdmReportIllegalDay);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出违章日统计列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:export')")
+    @Log(title = "违章日统计", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, PdmReportIllegalDay pdmReportIllegalDay)
+    {
+        List<PdmReportIllegalDay> list = pdmReportIllegalDayService.selectPdmReportIllegalDayList(pdmReportIllegalDay);
+        ExcelUtil<PdmReportIllegalDay> util = new ExcelUtil<PdmReportIllegalDay>(PdmReportIllegalDay.class);
+        util.exportExcel(response, list, "违章日统计数据");
+    }
+
+    /**
+     * 获取违章日统计详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return success(pdmReportIllegalDayService.selectPdmReportIllegalDayById(id));
+    }
+
+    /**
+     * 新增违章日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:add')")
+    @Log(title = "违章日统计", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody PdmReportIllegalDay pdmReportIllegalDay)
+    {
+        return toAjax(pdmReportIllegalDayService.insertPdmReportIllegalDay(pdmReportIllegalDay));
+    }
+
+    /**
+     * 修改违章日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:edit')")
+    @Log(title = "违章日统计", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody PdmReportIllegalDay pdmReportIllegalDay)
+    {
+        return toAjax(pdmReportIllegalDayService.updatePdmReportIllegalDay(pdmReportIllegalDay));
+    }
+
+    /**
+     * 删除违章日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:remove')")
+    @Log(title = "违章日统计", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(pdmReportIllegalDayService.deletePdmReportIllegalDayByIds(ids));
+    }
+}

+ 104 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportPlanDayController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.powerdistribution.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanDay;
+import com.ruoyi.powerdistribution.service.IPdmReportPlanDayService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 工作计划日统计Controller
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@RestController
+@RequestMapping("/power/plan")
+public class PdmReportPlanDayController extends BaseController
+{
+    @Autowired
+    private IPdmReportPlanDayService pdmReportPlanDayService;
+
+    /**
+     * 查询工作计划日统计列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(PdmReportPlanDay pdmReportPlanDay)
+    {
+        startPage();
+        List<PdmReportPlanDay> list = pdmReportPlanDayService.selectPdmReportPlanDayList(pdmReportPlanDay);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出工作计划日统计列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:export')")
+    @Log(title = "工作计划日统计", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, PdmReportPlanDay pdmReportPlanDay)
+    {
+        List<PdmReportPlanDay> list = pdmReportPlanDayService.selectPdmReportPlanDayList(pdmReportPlanDay);
+        ExcelUtil<PdmReportPlanDay> util = new ExcelUtil<PdmReportPlanDay>(PdmReportPlanDay.class);
+        util.exportExcel(response, list, "工作计划日统计数据");
+    }
+
+    /**
+     * 获取工作计划日统计详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return success(pdmReportPlanDayService.selectPdmReportPlanDayById(id));
+    }
+
+    /**
+     * 新增工作计划日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:add')")
+    @Log(title = "工作计划日统计", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody PdmReportPlanDay pdmReportPlanDay)
+    {
+        return toAjax(pdmReportPlanDayService.insertPdmReportPlanDay(pdmReportPlanDay));
+    }
+
+    /**
+     * 修改工作计划日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:edit')")
+    @Log(title = "工作计划日统计", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody PdmReportPlanDay pdmReportPlanDay)
+    {
+        return toAjax(pdmReportPlanDayService.updatePdmReportPlanDay(pdmReportPlanDay));
+    }
+
+    /**
+     * 删除工作计划日统计
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:remove')")
+    @Log(title = "工作计划日统计", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(pdmReportPlanDayService.deletePdmReportPlanDayByIds(ids));
+    }
+}

+ 104 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/PdmReportPlanNextDayController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.powerdistribution.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanNextDay;
+import com.ruoyi.powerdistribution.service.IPdmReportPlanNextDayService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 明日工作计划Controller
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@RestController
+@RequestMapping("/power/next")
+public class PdmReportPlanNextDayController extends BaseController
+{
+    @Autowired
+    private IPdmReportPlanNextDayService pdmReportPlanNextDayService;
+
+    /**
+     * 查询明日工作计划列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(PdmReportPlanNextDay pdmReportPlanNextDay)
+    {
+        startPage();
+        List<PdmReportPlanNextDay> list = pdmReportPlanNextDayService.selectPdmReportPlanNextDayList(pdmReportPlanNextDay);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出明日工作计划列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:export')")
+    @Log(title = "明日工作计划", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, PdmReportPlanNextDay pdmReportPlanNextDay)
+    {
+        List<PdmReportPlanNextDay> list = pdmReportPlanNextDayService.selectPdmReportPlanNextDayList(pdmReportPlanNextDay);
+        ExcelUtil<PdmReportPlanNextDay> util = new ExcelUtil<PdmReportPlanNextDay>(PdmReportPlanNextDay.class);
+        util.exportExcel(response, list, "明日工作计划数据");
+    }
+
+    /**
+     * 获取明日工作计划详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return success(pdmReportPlanNextDayService.selectPdmReportPlanNextDayById(id));
+    }
+
+    /**
+     * 新增明日工作计划
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:add')")
+    @Log(title = "明日工作计划", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody PdmReportPlanNextDay pdmReportPlanNextDay)
+    {
+        return toAjax(pdmReportPlanNextDayService.insertPdmReportPlanNextDay(pdmReportPlanNextDay));
+    }
+
+    /**
+     * 修改明日工作计划
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:edit')")
+    @Log(title = "明日工作计划", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody PdmReportPlanNextDay pdmReportPlanNextDay)
+    {
+        return toAjax(pdmReportPlanNextDayService.updatePdmReportPlanNextDay(pdmReportPlanNextDay));
+    }
+
+    /**
+     * 删除明日工作计划
+     */
+    @PreAuthorize("@ss.hasPermi('system:day:remove')")
+    @Log(title = "明日工作计划", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(pdmReportPlanNextDayService.deletePdmReportPlanNextDayByIds(ids));
+    }
+}

+ 68 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/controller/ReportController.java

@@ -0,0 +1,68 @@
+package com.ruoyi.powerdistribution.controller;
+
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.page.TableDataInfo;
+import com.ruoyi.powerdistribution.domain.PdmReportAppointmentDay;
+import com.ruoyi.powerdistribution.domain.PdmReportIllegalDay;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanDay;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanNextDay;
+import com.ruoyi.powerdistribution.domain.vo.ReportDayVO;
+import com.ruoyi.powerdistribution.service.IPdmReportAppointmentDayService;
+import com.ruoyi.powerdistribution.service.IPdmReportIllegalDayService;
+import com.ruoyi.powerdistribution.service.IPdmReportPlanDayService;
+import com.ruoyi.powerdistribution.service.IPdmReportPlanNextDayService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.AllArgsConstructor;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+
+@RestController
+@AllArgsConstructor
+@RequestMapping("/power/report")
+//@Api(value = "powerReport", tags = "报表查询")
+public class ReportController extends BaseController {
+
+    @Autowired
+    private IPdmReportAppointmentDayService pdmReportAppointmentDayService;
+    @Autowired
+    private IPdmReportIllegalDayService pdmReportIllegalDayService;
+    @Autowired
+    private IPdmReportPlanDayService pdmReportPlanDayService;
+    @Autowired
+    private IPdmReportPlanNextDayService pdmReportPlanNextDayService;
+
+    /**
+     * 日报查询
+     */
+    @ApiOperation(value = "日报查询", notes = "日报查询")
+    @GetMapping("/day")
+    public ReportDayVO day(String reportDate)
+    {
+        PdmReportIllegalDay pdmReportIllegalDay = new PdmReportIllegalDay();
+        pdmReportIllegalDay.setReportDate(reportDate);
+        List<PdmReportIllegalDay> illegalList = pdmReportIllegalDayService.selectPdmReportIllegalDayList(pdmReportIllegalDay);
+        PdmReportAppointmentDay pdmReportAppointmentDay = new PdmReportAppointmentDay();
+        pdmReportAppointmentDay.setReportDate(reportDate);
+        List<PdmReportAppointmentDay> appointmentlist = pdmReportAppointmentDayService.selectPdmReportAppointmentDayList(pdmReportAppointmentDay);
+        PdmReportPlanDay pdmReportPlanDay = new PdmReportPlanDay();
+        pdmReportPlanDay.setReportDate(reportDate);
+        List<PdmReportPlanDay> planlist = pdmReportPlanDayService.selectPdmReportPlanDayList(pdmReportPlanDay);
+        PdmReportPlanNextDay nextDay = new PdmReportPlanNextDay();
+        nextDay.setReportDate(reportDate);
+        List<PdmReportPlanNextDay> nextDayList = pdmReportPlanNextDayService.selectPdmReportPlanNextDayList(nextDay);
+
+        ReportDayVO vo = new ReportDayVO();
+        vo.setAppointmentList(appointmentlist);
+        vo.setIllegalList(illegalList);
+        vo.setPlanList(planlist);
+        vo.setNextDayList(nextDayList);
+        return vo;
+    }
+}

+ 153 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportAppointmentDay.java

@@ -0,0 +1,153 @@
+package com.ruoyi.powerdistribution.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;
+
+/**
+ * 履职日统计对象 pdm_report_appointment_day
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public class PdmReportAppointmentDay extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** $column.columnComment */
+    private Long id;
+
+    /** 单位 */
+    @Excel(name = "单位")
+    private String company;
+
+    /** 日期 */
+    @Excel(name = "日期")
+    private String reportDate;
+
+    /** 领导督察次数 */
+    @Excel(name = "领导督察次数")
+    private Integer bossSum;
+
+    /** 管理督察次数 */
+    @Excel(name = "管理督察次数")
+    private Integer manageSum;
+
+    /** 未履职数量 */
+    @Excel(name = "未履职数量")
+    private Integer absentSum;
+
+    /** 未履职明细 */
+    @Excel(name = "未履职明细")
+    private String absentDetail;
+
+    /** 履职不到位数量 */
+    @Excel(name = "履职不到位数量")
+    private Integer absentBadSum;
+
+    /** 履职不到位明细 */
+    @Excel(name = "履职不到位明细")
+    private String absentBadDetail;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setCompany(String company)
+    {
+        this.company = company;
+    }
+
+    public String getCompany()
+    {
+        return company;
+    }
+    public void setReportDate(String reportDate)
+    {
+        this.reportDate = reportDate;
+    }
+
+    public String getReportDate()
+    {
+        return reportDate;
+    }
+    public void setBossSum(Integer bossSum)
+    {
+        this.bossSum = bossSum;
+    }
+
+    public Integer getBossSum()
+    {
+        return bossSum;
+    }
+    public void setManageSum(Integer manageSum)
+    {
+        this.manageSum = manageSum;
+    }
+
+    public Integer getManageSum()
+    {
+        return manageSum;
+    }
+    public void setAbsentSum(Integer absentSum)
+    {
+        this.absentSum = absentSum;
+    }
+
+    public Integer getAbsentSum()
+    {
+        return absentSum;
+    }
+    public void setAbsentDetail(String absentDetail)
+    {
+        this.absentDetail = absentDetail;
+    }
+
+    public String getAbsentDetail()
+    {
+        return absentDetail;
+    }
+    public void setAbsentBadSum(Integer absentBadSum)
+    {
+        this.absentBadSum = absentBadSum;
+    }
+
+    public Integer getAbsentBadSum()
+    {
+        return absentBadSum;
+    }
+    public void setAbsentBadDetail(String absentBadDetail)
+    {
+        this.absentBadDetail = absentBadDetail;
+    }
+
+    public String getAbsentBadDetail()
+    {
+        return absentBadDetail;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("company", getCompany())
+            .append("reportDate", getReportDate())
+            .append("bossSum", getBossSum())
+            .append("manageSum", getManageSum())
+            .append("absentSum", getAbsentSum())
+            .append("absentDetail", getAbsentDetail())
+            .append("absentBadSum", getAbsentBadSum())
+            .append("absentBadDetail", getAbsentBadDetail())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .toString();
+    }
+}

+ 167 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportIllegalDay.java

@@ -0,0 +1,167 @@
+package com.ruoyi.powerdistribution.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;
+
+/**
+ * 违章日统计对象 pdm_report_illegal_day
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public class PdmReportIllegalDay extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** $column.columnComment */
+    private Long id;
+
+    /** 单位 */
+    @Excel(name = "单位")
+    private String company;
+
+    /** 日期 */
+    @Excel(name = "日期")
+    private String reportDate;
+
+    /** 省违章数(严重) */
+    @Excel(name = "省违章数(严重)")
+    private Integer provinceNum1;
+
+    /** 省违章数(一般) */
+    @Excel(name = "省违章数(一般)")
+    private Integer provinceNum2;
+
+    /** 市违章数(严重) */
+    @Excel(name = "市违章数(严重)")
+    private Integer cityNum1;
+
+    /** 市违章数(一般) */
+    @Excel(name = "市违章数(一般)")
+    private Integer cityNum2;
+
+    /** 县违章数(严重) */
+    @Excel(name = "县违章数(严重)")
+    private Integer countyNum1;
+
+    /** 县违章数(一般) */
+    @Excel(name = "县违章数(一般)")
+    private Integer countyNum2;
+
+    /** 自查问题数 */
+    @Excel(name = "自查问题数")
+    private Integer checkNum;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setCompany(String company)
+    {
+        this.company = company;
+    }
+
+    public String getCompany()
+    {
+        return company;
+    }
+    public void setReportDate(String reportDate)
+    {
+        this.reportDate = reportDate;
+    }
+
+    public String getReportDate()
+    {
+        return reportDate;
+    }
+    public void setProvinceNum1(Integer provinceNum1)
+    {
+        this.provinceNum1 = provinceNum1;
+    }
+
+    public Integer getProvinceNum1()
+    {
+        return provinceNum1;
+    }
+    public void setProvinceNum2(Integer provinceNum2)
+    {
+        this.provinceNum2 = provinceNum2;
+    }
+
+    public Integer getProvinceNum2()
+    {
+        return provinceNum2;
+    }
+    public void setCityNum1(Integer cityNum1)
+    {
+        this.cityNum1 = cityNum1;
+    }
+
+    public Integer getCityNum1()
+    {
+        return cityNum1;
+    }
+    public void setCityNum2(Integer cityNum2)
+    {
+        this.cityNum2 = cityNum2;
+    }
+
+    public Integer getCityNum2()
+    {
+        return cityNum2;
+    }
+    public void setCountyNum1(Integer countyNum1)
+    {
+        this.countyNum1 = countyNum1;
+    }
+
+    public Integer getCountyNum1()
+    {
+        return countyNum1;
+    }
+    public void setCountyNum2(Integer countyNum2)
+    {
+        this.countyNum2 = countyNum2;
+    }
+
+    public Integer getCountyNum2()
+    {
+        return countyNum2;
+    }
+    public void setCheckNum(Integer checkNum)
+    {
+        this.checkNum = checkNum;
+    }
+
+    public Integer getCheckNum()
+    {
+        return checkNum;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("company", getCompany())
+            .append("reportDate", getReportDate())
+            .append("provinceNum1", getProvinceNum1())
+            .append("provinceNum2", getProvinceNum2())
+            .append("cityNum1", getCityNum1())
+            .append("cityNum2", getCityNum2())
+            .append("countyNum1", getCountyNum1())
+            .append("countyNum2", getCountyNum2())
+            .append("checkNum", getCheckNum())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .toString();
+    }
+}

+ 181 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportPlanDay.java

@@ -0,0 +1,181 @@
+package com.ruoyi.powerdistribution.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;
+
+/**
+ * 工作计划日统计对象 pdm_report_plan_day
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public class PdmReportPlanDay extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** $column.columnComment */
+    private Long id;
+
+    /** 单位 */
+    @Excel(name = "单位")
+    private String company;
+
+    /** 日期 */
+    @Excel(name = "日期")
+    private String reportDate;
+
+    /** 作业总数 */
+    @Excel(name = "作业总数")
+    private Integer total;
+
+    /** 周计划总数 */
+    @Excel(name = "周计划总数")
+    private Integer weekSum;
+
+    /** 周计划取消数 */
+    @Excel(name = "周计划取消数")
+    private Integer weekCancelSum;
+
+    /** 周计划执行率 */
+    @Excel(name = "周计划执行率")
+    private String weekRatio;
+
+    /** 临时计划总数 */
+    @Excel(name = "临时计划总数")
+    private Integer temporarySum;
+
+    /** 临时计划取消数 */
+    @Excel(name = "临时计划取消数")
+    private Integer temporaryCancelSum;
+
+    /** 临时计划执行率 */
+    @Excel(name = "临时计划执行率")
+    private String temporaryRatio;
+
+    /** 临时计划率 */
+    @Excel(name = "临时计划率")
+    private String temporaryPlanRatio;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setCompany(String company)
+    {
+        this.company = company;
+    }
+
+    public String getCompany()
+    {
+        return company;
+    }
+    public void setReportDate(String reportDate)
+    {
+        this.reportDate = reportDate;
+    }
+
+    public String getReportDate()
+    {
+        return reportDate;
+    }
+    public void setTotal(Integer total)
+    {
+        this.total = total;
+    }
+
+    public Integer getTotal()
+    {
+        return total;
+    }
+    public void setWeekSum(Integer weekSum)
+    {
+        this.weekSum = weekSum;
+    }
+
+    public Integer getWeekSum()
+    {
+        return weekSum;
+    }
+    public void setWeekCancelSum(Integer weekCancelSum)
+    {
+        this.weekCancelSum = weekCancelSum;
+    }
+
+    public Integer getWeekCancelSum()
+    {
+        return weekCancelSum;
+    }
+    public void setWeekRatio(String weekRatio)
+    {
+        this.weekRatio = weekRatio;
+    }
+
+    public String getWeekRatio()
+    {
+        return weekRatio;
+    }
+    public void setTemporarySum(Integer temporarySum)
+    {
+        this.temporarySum = temporarySum;
+    }
+
+    public Integer getTemporarySum()
+    {
+        return temporarySum;
+    }
+    public void setTemporaryCancelSum(Integer temporaryCancelSum)
+    {
+        this.temporaryCancelSum = temporaryCancelSum;
+    }
+
+    public Integer getTemporaryCancelSum()
+    {
+        return temporaryCancelSum;
+    }
+    public void setTemporaryRatio(String temporaryRatio)
+    {
+        this.temporaryRatio = temporaryRatio;
+    }
+
+    public String getTemporaryRatio()
+    {
+        return temporaryRatio;
+    }
+    public void setTemporaryPlanRatio(String temporaryPlanRatio)
+    {
+        this.temporaryPlanRatio = temporaryPlanRatio;
+    }
+
+    public String getTemporaryPlanRatio()
+    {
+        return temporaryPlanRatio;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("company", getCompany())
+            .append("reportDate", getReportDate())
+            .append("total", getTotal())
+            .append("weekSum", getWeekSum())
+            .append("weekCancelSum", getWeekCancelSum())
+            .append("weekRatio", getWeekRatio())
+            .append("temporarySum", getTemporarySum())
+            .append("temporaryCancelSum", getTemporaryCancelSum())
+            .append("temporaryRatio", getTemporaryRatio())
+            .append("temporaryPlanRatio", getTemporaryPlanRatio())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .toString();
+    }
+}

+ 237 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/PdmReportPlanNextDay.java

@@ -0,0 +1,237 @@
+package com.ruoyi.powerdistribution.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;
+
+/**
+ * 明日工作计划对象 pdm_report_plan_next_day
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public class PdmReportPlanNextDay extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** $column.columnComment */
+    private Long id;
+
+    /** 单位 */
+    @Excel(name = "单位")
+    private String company;
+
+    /** 日期 */
+    @Excel(name = "日期")
+    private String reportDate;
+
+    /** 作业总数 */
+    @Excel(name = "作业总数")
+    private Integer workTotal;
+
+    /** 配网工程总数 */
+    @Excel(name = "配网工程总数")
+    private Integer workType1Sum;
+
+    /** 倒闸操作总数 */
+    @Excel(name = "倒闸操作总数")
+    private Integer workType2Sum;
+
+    /** 业扩杆迁总数 */
+    @Excel(name = "业扩杆迁总数")
+    private Integer workType3Sum;
+
+    /** 运维检修总数 */
+    @Excel(name = "运维检修总数")
+    private Integer workType4Sum;
+
+    /** 其他总数 */
+    @Excel(name = "其他总数")
+    private Integer workType5Sum;
+
+    /** 临时计划数量 */
+    @Excel(name = "临时计划数量")
+    private Integer temporaryPlanSum;
+
+    /** 带电作业数量 */
+    @Excel(name = "带电作业数量")
+    private Integer elePlanSum;
+
+    /** 作业风险 三级 */
+    @Excel(name = "作业风险 三级")
+    private String planLeve3;
+
+    /** 作业风险 四级 */
+    @Excel(name = "作业风险 四级")
+    private String planLeve4;
+
+    /** 作业风险 五级 */
+    @Excel(name = "作业风险 五级")
+    private String planLeve5;
+
+    /** 重点关注检修面 */
+    @Excel(name = "重点关注检修面")
+    private String checkDetail;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setCompany(String company)
+    {
+        this.company = company;
+    }
+
+    public String getCompany()
+    {
+        return company;
+    }
+    public void setReportDate(String reportDate)
+    {
+        this.reportDate = reportDate;
+    }
+
+    public String getReportDate()
+    {
+        return reportDate;
+    }
+    public void setWorkTotal(Integer workTotal)
+    {
+        this.workTotal = workTotal;
+    }
+
+    public Integer getWorkTotal()
+    {
+        return workTotal;
+    }
+    public void setWorkType1Sum(Integer workType1Sum)
+    {
+        this.workType1Sum = workType1Sum;
+    }
+
+    public Integer getWorkType1Sum()
+    {
+        return workType1Sum;
+    }
+    public void setWorkType2Sum(Integer workType2Sum)
+    {
+        this.workType2Sum = workType2Sum;
+    }
+
+    public Integer getWorkType2Sum()
+    {
+        return workType2Sum;
+    }
+    public void setWorkType3Sum(Integer workType3Sum)
+    {
+        this.workType3Sum = workType3Sum;
+    }
+
+    public Integer getWorkType3Sum()
+    {
+        return workType3Sum;
+    }
+    public void setWorkType4Sum(Integer workType4Sum)
+    {
+        this.workType4Sum = workType4Sum;
+    }
+
+    public Integer getWorkType4Sum()
+    {
+        return workType4Sum;
+    }
+    public void setWorkType5Sum(Integer workType5Sum)
+    {
+        this.workType5Sum = workType5Sum;
+    }
+
+    public Integer getWorkType5Sum()
+    {
+        return workType5Sum;
+    }
+    public void setTemporaryPlanSum(Integer temporaryPlanSum)
+    {
+        this.temporaryPlanSum = temporaryPlanSum;
+    }
+
+    public Integer getTemporaryPlanSum()
+    {
+        return temporaryPlanSum;
+    }
+    public void setElePlanSum(Integer elePlanSum)
+    {
+        this.elePlanSum = elePlanSum;
+    }
+
+    public Integer getElePlanSum()
+    {
+        return elePlanSum;
+    }
+    public void setPlanLeve3(String planLeve3)
+    {
+        this.planLeve3 = planLeve3;
+    }
+
+    public String getPlanLeve3()
+    {
+        return planLeve3;
+    }
+    public void setPlanLeve4(String planLeve4)
+    {
+        this.planLeve4 = planLeve4;
+    }
+
+    public String getPlanLeve4()
+    {
+        return planLeve4;
+    }
+    public void setPlanLeve5(String planLeve5)
+    {
+        this.planLeve5 = planLeve5;
+    }
+
+    public String getPlanLeve5()
+    {
+        return planLeve5;
+    }
+    public void setCheckDetail(String checkDetail)
+    {
+        this.checkDetail = checkDetail;
+    }
+
+    public String getCheckDetail()
+    {
+        return checkDetail;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("company", getCompany())
+            .append("reportDate", getReportDate())
+            .append("workTotal", getWorkTotal())
+            .append("workType1Sum", getWorkType1Sum())
+            .append("workType2Sum", getWorkType2Sum())
+            .append("workType3Sum", getWorkType3Sum())
+            .append("workType4Sum", getWorkType4Sum())
+            .append("workType5Sum", getWorkType5Sum())
+            .append("temporaryPlanSum", getTemporaryPlanSum())
+            .append("elePlanSum", getElePlanSum())
+            .append("planLeve3", getPlanLeve3())
+            .append("planLeve4", getPlanLeve4())
+            .append("planLeve5", getPlanLeve5())
+            .append("checkDetail", getCheckDetail())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .toString();
+    }
+}

+ 51 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/domain/vo/ReportDayVO.java

@@ -0,0 +1,51 @@
+package com.ruoyi.powerdistribution.domain.vo;
+
+import com.ruoyi.powerdistribution.domain.PdmReportAppointmentDay;
+import com.ruoyi.powerdistribution.domain.PdmReportIllegalDay;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanDay;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanNextDay;
+
+import java.util.List;
+
+public class ReportDayVO {
+
+    private List<PdmReportAppointmentDay> appointmentList;
+
+    private List<PdmReportIllegalDay> illegalList;
+
+    private List<PdmReportPlanDay> planList;
+
+    private List<PdmReportPlanNextDay> nextDayList;
+
+    public List<PdmReportAppointmentDay> getAppointmentList() {
+        return appointmentList;
+    }
+
+    public void setAppointmentList(List<PdmReportAppointmentDay> appointmentList) {
+        this.appointmentList = appointmentList;
+    }
+
+    public List<PdmReportIllegalDay> getIllegalList() {
+        return illegalList;
+    }
+
+    public void setIllegalList(List<PdmReportIllegalDay> illegalList) {
+        this.illegalList = illegalList;
+    }
+
+    public List<PdmReportPlanDay> getPlanList() {
+        return planList;
+    }
+
+    public void setPlanList(List<PdmReportPlanDay> planList) {
+        this.planList = planList;
+    }
+
+    public List<PdmReportPlanNextDay> getNextDayList() {
+        return nextDayList;
+    }
+
+    public void setNextDayList(List<PdmReportPlanNextDay> nextDayList) {
+        this.nextDayList = nextDayList;
+    }
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportAppointmentDayMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.mapper;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportAppointmentDay;
+
+/**
+ * 履职日统计Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface PdmReportAppointmentDayMapper
+{
+    /**
+     * 查询履职日统计
+     *
+     * @param id 履职日统计主键
+     * @return 履职日统计
+     */
+    public PdmReportAppointmentDay selectPdmReportAppointmentDayById(Long id);
+
+    /**
+     * 查询履职日统计列表
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 履职日统计集合
+     */
+    public List<PdmReportAppointmentDay> selectPdmReportAppointmentDayList(PdmReportAppointmentDay pdmReportAppointmentDay);
+
+    /**
+     * 新增履职日统计
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 结果
+     */
+    public int insertPdmReportAppointmentDay(PdmReportAppointmentDay pdmReportAppointmentDay);
+
+    /**
+     * 修改履职日统计
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 结果
+     */
+    public int updatePdmReportAppointmentDay(PdmReportAppointmentDay pdmReportAppointmentDay);
+
+    /**
+     * 删除履职日统计
+     *
+     * @param id 履职日统计主键
+     * @return 结果
+     */
+    public int deletePdmReportAppointmentDayById(Long id);
+
+    /**
+     * 批量删除履职日统计
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deletePdmReportAppointmentDayByIds(Long[] ids);
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportIllegalDayMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.mapper;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportIllegalDay;
+
+/**
+ * 违章日统计Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface PdmReportIllegalDayMapper
+{
+    /**
+     * 查询违章日统计
+     *
+     * @param id 违章日统计主键
+     * @return 违章日统计
+     */
+    public PdmReportIllegalDay selectPdmReportIllegalDayById(Long id);
+
+    /**
+     * 查询违章日统计列表
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 违章日统计集合
+     */
+    public List<PdmReportIllegalDay> selectPdmReportIllegalDayList(PdmReportIllegalDay pdmReportIllegalDay);
+
+    /**
+     * 新增违章日统计
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 结果
+     */
+    public int insertPdmReportIllegalDay(PdmReportIllegalDay pdmReportIllegalDay);
+
+    /**
+     * 修改违章日统计
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 结果
+     */
+    public int updatePdmReportIllegalDay(PdmReportIllegalDay pdmReportIllegalDay);
+
+    /**
+     * 删除违章日统计
+     *
+     * @param id 违章日统计主键
+     * @return 结果
+     */
+    public int deletePdmReportIllegalDayById(Long id);
+
+    /**
+     * 批量删除违章日统计
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deletePdmReportIllegalDayByIds(Long[] ids);
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportPlanDayMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.mapper;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanDay;
+
+/**
+ * 工作计划日统计Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface PdmReportPlanDayMapper
+{
+    /**
+     * 查询工作计划日统计
+     *
+     * @param id 工作计划日统计主键
+     * @return 工作计划日统计
+     */
+    public PdmReportPlanDay selectPdmReportPlanDayById(Long id);
+
+    /**
+     * 查询工作计划日统计列表
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 工作计划日统计集合
+     */
+    public List<PdmReportPlanDay> selectPdmReportPlanDayList(PdmReportPlanDay pdmReportPlanDay);
+
+    /**
+     * 新增工作计划日统计
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 结果
+     */
+    public int insertPdmReportPlanDay(PdmReportPlanDay pdmReportPlanDay);
+
+    /**
+     * 修改工作计划日统计
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 结果
+     */
+    public int updatePdmReportPlanDay(PdmReportPlanDay pdmReportPlanDay);
+
+    /**
+     * 删除工作计划日统计
+     *
+     * @param id 工作计划日统计主键
+     * @return 结果
+     */
+    public int deletePdmReportPlanDayById(Long id);
+
+    /**
+     * 批量删除工作计划日统计
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deletePdmReportPlanDayByIds(Long[] ids);
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/mapper/PdmReportPlanNextDayMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.mapper;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanNextDay;
+
+/**
+ * 明日工作计划Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface PdmReportPlanNextDayMapper
+{
+    /**
+     * 查询明日工作计划
+     *
+     * @param id 明日工作计划主键
+     * @return 明日工作计划
+     */
+    public PdmReportPlanNextDay selectPdmReportPlanNextDayById(Long id);
+
+    /**
+     * 查询明日工作计划列表
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 明日工作计划集合
+     */
+    public List<PdmReportPlanNextDay> selectPdmReportPlanNextDayList(PdmReportPlanNextDay pdmReportPlanNextDay);
+
+    /**
+     * 新增明日工作计划
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 结果
+     */
+    public int insertPdmReportPlanNextDay(PdmReportPlanNextDay pdmReportPlanNextDay);
+
+    /**
+     * 修改明日工作计划
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 结果
+     */
+    public int updatePdmReportPlanNextDay(PdmReportPlanNextDay pdmReportPlanNextDay);
+
+    /**
+     * 删除明日工作计划
+     *
+     * @param id 明日工作计划主键
+     * @return 结果
+     */
+    public int deletePdmReportPlanNextDayById(Long id);
+
+    /**
+     * 批量删除明日工作计划
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deletePdmReportPlanNextDayByIds(Long[] ids);
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportAppointmentDayService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.service;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportAppointmentDay;
+
+/**
+ * 履职日统计Service接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface IPdmReportAppointmentDayService
+{
+    /**
+     * 查询履职日统计
+     *
+     * @param id 履职日统计主键
+     * @return 履职日统计
+     */
+    public PdmReportAppointmentDay selectPdmReportAppointmentDayById(Long id);
+
+    /**
+     * 查询履职日统计列表
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 履职日统计集合
+     */
+    public List<PdmReportAppointmentDay> selectPdmReportAppointmentDayList(PdmReportAppointmentDay pdmReportAppointmentDay);
+
+    /**
+     * 新增履职日统计
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 结果
+     */
+    public int insertPdmReportAppointmentDay(PdmReportAppointmentDay pdmReportAppointmentDay);
+
+    /**
+     * 修改履职日统计
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 结果
+     */
+    public int updatePdmReportAppointmentDay(PdmReportAppointmentDay pdmReportAppointmentDay);
+
+    /**
+     * 批量删除履职日统计
+     *
+     * @param ids 需要删除的履职日统计主键集合
+     * @return 结果
+     */
+    public int deletePdmReportAppointmentDayByIds(Long[] ids);
+
+    /**
+     * 删除履职日统计信息
+     *
+     * @param id 履职日统计主键
+     * @return 结果
+     */
+    public int deletePdmReportAppointmentDayById(Long id);
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportIllegalDayService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.service;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportIllegalDay;
+
+/**
+ * 违章日统计Service接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface IPdmReportIllegalDayService
+{
+    /**
+     * 查询违章日统计
+     *
+     * @param id 违章日统计主键
+     * @return 违章日统计
+     */
+    public PdmReportIllegalDay selectPdmReportIllegalDayById(Long id);
+
+    /**
+     * 查询违章日统计列表
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 违章日统计集合
+     */
+    public List<PdmReportIllegalDay> selectPdmReportIllegalDayList(PdmReportIllegalDay pdmReportIllegalDay);
+
+    /**
+     * 新增违章日统计
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 结果
+     */
+    public int insertPdmReportIllegalDay(PdmReportIllegalDay pdmReportIllegalDay);
+
+    /**
+     * 修改违章日统计
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 结果
+     */
+    public int updatePdmReportIllegalDay(PdmReportIllegalDay pdmReportIllegalDay);
+
+    /**
+     * 批量删除违章日统计
+     *
+     * @param ids 需要删除的违章日统计主键集合
+     * @return 结果
+     */
+    public int deletePdmReportIllegalDayByIds(Long[] ids);
+
+    /**
+     * 删除违章日统计信息
+     *
+     * @param id 违章日统计主键
+     * @return 结果
+     */
+    public int deletePdmReportIllegalDayById(Long id);
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportPlanDayService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.service;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanDay;
+
+/**
+ * 工作计划日统计Service接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface IPdmReportPlanDayService
+{
+    /**
+     * 查询工作计划日统计
+     *
+     * @param id 工作计划日统计主键
+     * @return 工作计划日统计
+     */
+    public PdmReportPlanDay selectPdmReportPlanDayById(Long id);
+
+    /**
+     * 查询工作计划日统计列表
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 工作计划日统计集合
+     */
+    public List<PdmReportPlanDay> selectPdmReportPlanDayList(PdmReportPlanDay pdmReportPlanDay);
+
+    /**
+     * 新增工作计划日统计
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 结果
+     */
+    public int insertPdmReportPlanDay(PdmReportPlanDay pdmReportPlanDay);
+
+    /**
+     * 修改工作计划日统计
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 结果
+     */
+    public int updatePdmReportPlanDay(PdmReportPlanDay pdmReportPlanDay);
+
+    /**
+     * 批量删除工作计划日统计
+     *
+     * @param ids 需要删除的工作计划日统计主键集合
+     * @return 结果
+     */
+    public int deletePdmReportPlanDayByIds(Long[] ids);
+
+    /**
+     * 删除工作计划日统计信息
+     *
+     * @param id 工作计划日统计主键
+     * @return 结果
+     */
+    public int deletePdmReportPlanDayById(Long id);
+}

+ 61 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/IPdmReportPlanNextDayService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.powerdistribution.service;
+
+import java.util.List;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanNextDay;
+
+/**
+ * 明日工作计划Service接口
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+public interface IPdmReportPlanNextDayService
+{
+    /**
+     * 查询明日工作计划
+     *
+     * @param id 明日工作计划主键
+     * @return 明日工作计划
+     */
+    public PdmReportPlanNextDay selectPdmReportPlanNextDayById(Long id);
+
+    /**
+     * 查询明日工作计划列表
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 明日工作计划集合
+     */
+    public List<PdmReportPlanNextDay> selectPdmReportPlanNextDayList(PdmReportPlanNextDay pdmReportPlanNextDay);
+
+    /**
+     * 新增明日工作计划
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 结果
+     */
+    public int insertPdmReportPlanNextDay(PdmReportPlanNextDay pdmReportPlanNextDay);
+
+    /**
+     * 修改明日工作计划
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 结果
+     */
+    public int updatePdmReportPlanNextDay(PdmReportPlanNextDay pdmReportPlanNextDay);
+
+    /**
+     * 批量删除明日工作计划
+     *
+     * @param ids 需要删除的明日工作计划主键集合
+     * @return 结果
+     */
+    public int deletePdmReportPlanNextDayByIds(Long[] ids);
+
+    /**
+     * 删除明日工作计划信息
+     *
+     * @param id 明日工作计划主键
+     * @return 结果
+     */
+    public int deletePdmReportPlanNextDayById(Long id);
+}

+ 96 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportAppointmentDayServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.powerdistribution.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.powerdistribution.mapper.PdmReportAppointmentDayMapper;
+import com.ruoyi.powerdistribution.domain.PdmReportAppointmentDay;
+import com.ruoyi.powerdistribution.service.IPdmReportAppointmentDayService;
+
+/**
+ * 履职日统计Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@Service
+public class PdmReportAppointmentDayServiceImpl implements IPdmReportAppointmentDayService
+{
+    @Autowired
+    private PdmReportAppointmentDayMapper pdmReportAppointmentDayMapper;
+
+    /**
+     * 查询履职日统计
+     *
+     * @param id 履职日统计主键
+     * @return 履职日统计
+     */
+    @Override
+    public PdmReportAppointmentDay selectPdmReportAppointmentDayById(Long id)
+    {
+        return pdmReportAppointmentDayMapper.selectPdmReportAppointmentDayById(id);
+    }
+
+    /**
+     * 查询履职日统计列表
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 履职日统计
+     */
+    @Override
+    public List<PdmReportAppointmentDay> selectPdmReportAppointmentDayList(PdmReportAppointmentDay pdmReportAppointmentDay)
+    {
+        return pdmReportAppointmentDayMapper.selectPdmReportAppointmentDayList(pdmReportAppointmentDay);
+    }
+
+    /**
+     * 新增履职日统计
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 结果
+     */
+    @Override
+    public int insertPdmReportAppointmentDay(PdmReportAppointmentDay pdmReportAppointmentDay)
+    {
+        pdmReportAppointmentDay.setCreateTime(DateUtils.getNowDate());
+        return pdmReportAppointmentDayMapper.insertPdmReportAppointmentDay(pdmReportAppointmentDay);
+    }
+
+    /**
+     * 修改履职日统计
+     *
+     * @param pdmReportAppointmentDay 履职日统计
+     * @return 结果
+     */
+    @Override
+    public int updatePdmReportAppointmentDay(PdmReportAppointmentDay pdmReportAppointmentDay)
+    {
+        pdmReportAppointmentDay.setUpdateTime(DateUtils.getNowDate());
+        return pdmReportAppointmentDayMapper.updatePdmReportAppointmentDay(pdmReportAppointmentDay);
+    }
+
+    /**
+     * 批量删除履职日统计
+     *
+     * @param ids 需要删除的履职日统计主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportAppointmentDayByIds(Long[] ids)
+    {
+        return pdmReportAppointmentDayMapper.deletePdmReportAppointmentDayByIds(ids);
+    }
+
+    /**
+     * 删除履职日统计信息
+     *
+     * @param id 履职日统计主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportAppointmentDayById(Long id)
+    {
+        return pdmReportAppointmentDayMapper.deletePdmReportAppointmentDayById(id);
+    }
+}

+ 96 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportIllegalDayServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.powerdistribution.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.powerdistribution.mapper.PdmReportIllegalDayMapper;
+import com.ruoyi.powerdistribution.domain.PdmReportIllegalDay;
+import com.ruoyi.powerdistribution.service.IPdmReportIllegalDayService;
+
+/**
+ * 违章日统计Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@Service
+public class PdmReportIllegalDayServiceImpl implements IPdmReportIllegalDayService
+{
+    @Autowired
+    private PdmReportIllegalDayMapper pdmReportIllegalDayMapper;
+
+    /**
+     * 查询违章日统计
+     *
+     * @param id 违章日统计主键
+     * @return 违章日统计
+     */
+    @Override
+    public PdmReportIllegalDay selectPdmReportIllegalDayById(Long id)
+    {
+        return pdmReportIllegalDayMapper.selectPdmReportIllegalDayById(id);
+    }
+
+    /**
+     * 查询违章日统计列表
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 违章日统计
+     */
+    @Override
+    public List<PdmReportIllegalDay> selectPdmReportIllegalDayList(PdmReportIllegalDay pdmReportIllegalDay)
+    {
+        return pdmReportIllegalDayMapper.selectPdmReportIllegalDayList(pdmReportIllegalDay);
+    }
+
+    /**
+     * 新增违章日统计
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 结果
+     */
+    @Override
+    public int insertPdmReportIllegalDay(PdmReportIllegalDay pdmReportIllegalDay)
+    {
+        pdmReportIllegalDay.setCreateTime(DateUtils.getNowDate());
+        return pdmReportIllegalDayMapper.insertPdmReportIllegalDay(pdmReportIllegalDay);
+    }
+
+    /**
+     * 修改违章日统计
+     *
+     * @param pdmReportIllegalDay 违章日统计
+     * @return 结果
+     */
+    @Override
+    public int updatePdmReportIllegalDay(PdmReportIllegalDay pdmReportIllegalDay)
+    {
+        pdmReportIllegalDay.setUpdateTime(DateUtils.getNowDate());
+        return pdmReportIllegalDayMapper.updatePdmReportIllegalDay(pdmReportIllegalDay);
+    }
+
+    /**
+     * 批量删除违章日统计
+     *
+     * @param ids 需要删除的违章日统计主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportIllegalDayByIds(Long[] ids)
+    {
+        return pdmReportIllegalDayMapper.deletePdmReportIllegalDayByIds(ids);
+    }
+
+    /**
+     * 删除违章日统计信息
+     *
+     * @param id 违章日统计主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportIllegalDayById(Long id)
+    {
+        return pdmReportIllegalDayMapper.deletePdmReportIllegalDayById(id);
+    }
+}

+ 96 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportPlanDayServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.powerdistribution.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.powerdistribution.mapper.PdmReportPlanDayMapper;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanDay;
+import com.ruoyi.powerdistribution.service.IPdmReportPlanDayService;
+
+/**
+ * 工作计划日统计Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@Service
+public class PdmReportPlanDayServiceImpl implements IPdmReportPlanDayService
+{
+    @Autowired
+    private PdmReportPlanDayMapper pdmReportPlanDayMapper;
+
+    /**
+     * 查询工作计划日统计
+     *
+     * @param id 工作计划日统计主键
+     * @return 工作计划日统计
+     */
+    @Override
+    public PdmReportPlanDay selectPdmReportPlanDayById(Long id)
+    {
+        return pdmReportPlanDayMapper.selectPdmReportPlanDayById(id);
+    }
+
+    /**
+     * 查询工作计划日统计列表
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 工作计划日统计
+     */
+    @Override
+    public List<PdmReportPlanDay> selectPdmReportPlanDayList(PdmReportPlanDay pdmReportPlanDay)
+    {
+        return pdmReportPlanDayMapper.selectPdmReportPlanDayList(pdmReportPlanDay);
+    }
+
+    /**
+     * 新增工作计划日统计
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 结果
+     */
+    @Override
+    public int insertPdmReportPlanDay(PdmReportPlanDay pdmReportPlanDay)
+    {
+        pdmReportPlanDay.setCreateTime(DateUtils.getNowDate());
+        return pdmReportPlanDayMapper.insertPdmReportPlanDay(pdmReportPlanDay);
+    }
+
+    /**
+     * 修改工作计划日统计
+     *
+     * @param pdmReportPlanDay 工作计划日统计
+     * @return 结果
+     */
+    @Override
+    public int updatePdmReportPlanDay(PdmReportPlanDay pdmReportPlanDay)
+    {
+        pdmReportPlanDay.setUpdateTime(DateUtils.getNowDate());
+        return pdmReportPlanDayMapper.updatePdmReportPlanDay(pdmReportPlanDay);
+    }
+
+    /**
+     * 批量删除工作计划日统计
+     *
+     * @param ids 需要删除的工作计划日统计主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportPlanDayByIds(Long[] ids)
+    {
+        return pdmReportPlanDayMapper.deletePdmReportPlanDayByIds(ids);
+    }
+
+    /**
+     * 删除工作计划日统计信息
+     *
+     * @param id 工作计划日统计主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportPlanDayById(Long id)
+    {
+        return pdmReportPlanDayMapper.deletePdmReportPlanDayById(id);
+    }
+}

+ 96 - 0
ruoyi-powerdistribution/src/main/java/com/ruoyi/powerdistribution/service/impl/PdmReportPlanNextDayServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.powerdistribution.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.powerdistribution.mapper.PdmReportPlanNextDayMapper;
+import com.ruoyi.powerdistribution.domain.PdmReportPlanNextDay;
+import com.ruoyi.powerdistribution.service.IPdmReportPlanNextDayService;
+
+/**
+ * 明日工作计划Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-11-28
+ */
+@Service
+public class PdmReportPlanNextDayServiceImpl implements IPdmReportPlanNextDayService
+{
+    @Autowired
+    private PdmReportPlanNextDayMapper pdmReportPlanNextDayMapper;
+
+    /**
+     * 查询明日工作计划
+     *
+     * @param id 明日工作计划主键
+     * @return 明日工作计划
+     */
+    @Override
+    public PdmReportPlanNextDay selectPdmReportPlanNextDayById(Long id)
+    {
+        return pdmReportPlanNextDayMapper.selectPdmReportPlanNextDayById(id);
+    }
+
+    /**
+     * 查询明日工作计划列表
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 明日工作计划
+     */
+    @Override
+    public List<PdmReportPlanNextDay> selectPdmReportPlanNextDayList(PdmReportPlanNextDay pdmReportPlanNextDay)
+    {
+        return pdmReportPlanNextDayMapper.selectPdmReportPlanNextDayList(pdmReportPlanNextDay);
+    }
+
+    /**
+     * 新增明日工作计划
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 结果
+     */
+    @Override
+    public int insertPdmReportPlanNextDay(PdmReportPlanNextDay pdmReportPlanNextDay)
+    {
+        pdmReportPlanNextDay.setCreateTime(DateUtils.getNowDate());
+        return pdmReportPlanNextDayMapper.insertPdmReportPlanNextDay(pdmReportPlanNextDay);
+    }
+
+    /**
+     * 修改明日工作计划
+     *
+     * @param pdmReportPlanNextDay 明日工作计划
+     * @return 结果
+     */
+    @Override
+    public int updatePdmReportPlanNextDay(PdmReportPlanNextDay pdmReportPlanNextDay)
+    {
+        pdmReportPlanNextDay.setUpdateTime(DateUtils.getNowDate());
+        return pdmReportPlanNextDayMapper.updatePdmReportPlanNextDay(pdmReportPlanNextDay);
+    }
+
+    /**
+     * 批量删除明日工作计划
+     *
+     * @param ids 需要删除的明日工作计划主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportPlanNextDayByIds(Long[] ids)
+    {
+        return pdmReportPlanNextDayMapper.deletePdmReportPlanNextDayByIds(ids);
+    }
+
+    /**
+     * 删除明日工作计划信息
+     *
+     * @param id 明日工作计划主键
+     * @return 结果
+     */
+    @Override
+    public int deletePdmReportPlanNextDayById(Long id)
+    {
+        return pdmReportPlanNextDayMapper.deletePdmReportPlanNextDayById(id);
+    }
+}

+ 107 - 0
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportAppointmentDayMapper.xml

@@ -0,0 +1,107 @@
+<?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.powerdistribution.mapper.PdmReportAppointmentDayMapper">
+
+    <resultMap type="PdmReportAppointmentDay" id="PdmReportAppointmentDayResult">
+        <result property="id"    column="id"    />
+        <result property="company"    column="company"    />
+        <result property="reportDate"    column="report_date"    />
+        <result property="bossSum"    column="boss_sum"    />
+        <result property="manageSum"    column="manage_sum"    />
+        <result property="absentSum"    column="absent_sum"    />
+        <result property="absentDetail"    column="absent_detail"    />
+        <result property="absentBadSum"    column="absent_bad_sum"    />
+        <result property="absentBadDetail"    column="absent_bad_detail"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+    </resultMap>
+
+    <sql id="selectPdmReportAppointmentDayVo">
+        select id, company, report_date, boss_sum, manage_sum, absent_sum, absent_detail, absent_bad_sum, absent_bad_detail, create_by, create_time, update_by, update_time from pdm_report_appointment_day
+    </sql>
+
+    <select id="selectPdmReportAppointmentDayList" parameterType="PdmReportAppointmentDay" resultMap="PdmReportAppointmentDayResult">
+        <include refid="selectPdmReportAppointmentDayVo"/>
+        <where>
+            <if test="company != null  and company != ''"> and company = #{company}</if>
+            <if test="reportDate != null  and reportDate != ''"> and report_date = #{reportDate}</if>
+            <if test="bossSum != null "> and boss_sum = #{bossSum}</if>
+            <if test="manageSum != null "> and manage_sum = #{manageSum}</if>
+            <if test="absentSum != null "> and absent_sum = #{absentSum}</if>
+            <if test="absentDetail != null  and absentDetail != ''"> and absent_detail = #{absentDetail}</if>
+            <if test="absentBadSum != null "> and absent_bad_sum = #{absentBadSum}</if>
+            <if test="absentBadDetail != null  and absentBadDetail != ''"> and absent_bad_detail = #{absentBadDetail}</if>
+        </where>
+    </select>
+
+    <select id="selectPdmReportAppointmentDayById" parameterType="Long" resultMap="PdmReportAppointmentDayResult">
+        <include refid="selectPdmReportAppointmentDayVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertPdmReportAppointmentDay" parameterType="PdmReportAppointmentDay" useGeneratedKeys="true" keyProperty="id">
+        insert into pdm_report_appointment_day
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="company != null">company,</if>
+            <if test="reportDate != null">report_date,</if>
+            <if test="bossSum != null">boss_sum,</if>
+            <if test="manageSum != null">manage_sum,</if>
+            <if test="absentSum != null">absent_sum,</if>
+            <if test="absentDetail != null">absent_detail,</if>
+            <if test="absentBadSum != null">absent_bad_sum,</if>
+            <if test="absentBadDetail != null">absent_bad_detail,</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>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="company != null">#{company},</if>
+            <if test="reportDate != null">#{reportDate},</if>
+            <if test="bossSum != null">#{bossSum},</if>
+            <if test="manageSum != null">#{manageSum},</if>
+            <if test="absentSum != null">#{absentSum},</if>
+            <if test="absentDetail != null">#{absentDetail},</if>
+            <if test="absentBadSum != null">#{absentBadSum},</if>
+            <if test="absentBadDetail != null">#{absentBadDetail},</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>
+         </trim>
+    </insert>
+
+    <update id="updatePdmReportAppointmentDay" parameterType="PdmReportAppointmentDay">
+        update pdm_report_appointment_day
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="company != null">company = #{company},</if>
+            <if test="reportDate != null">report_date = #{reportDate},</if>
+            <if test="bossSum != null">boss_sum = #{bossSum},</if>
+            <if test="manageSum != null">manage_sum = #{manageSum},</if>
+            <if test="absentSum != null">absent_sum = #{absentSum},</if>
+            <if test="absentDetail != null">absent_detail = #{absentDetail},</if>
+            <if test="absentBadSum != null">absent_bad_sum = #{absentBadSum},</if>
+            <if test="absentBadDetail != null">absent_bad_detail = #{absentBadDetail},</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>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deletePdmReportAppointmentDayById" parameterType="Long">
+        delete from pdm_report_appointment_day where id = #{id}
+    </delete>
+
+    <delete id="deletePdmReportAppointmentDayByIds" parameterType="String">
+        delete from pdm_report_appointment_day where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>

+ 112 - 0
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportIllegalDayMapper.xml

@@ -0,0 +1,112 @@
+<?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.powerdistribution.mapper.PdmReportIllegalDayMapper">
+
+    <resultMap type="PdmReportIllegalDay" id="PdmReportIllegalDayResult">
+        <result property="id"    column="id"    />
+        <result property="company"    column="company"    />
+        <result property="reportDate"    column="report_date"    />
+        <result property="provinceNum1"    column="province_num1"    />
+        <result property="provinceNum2"    column="province_num2"    />
+        <result property="cityNum1"    column="city_num1"    />
+        <result property="cityNum2"    column="city_num2"    />
+        <result property="countyNum1"    column="county_num1"    />
+        <result property="countyNum2"    column="county_num2"    />
+        <result property="checkNum"    column="check_num"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+    </resultMap>
+
+    <sql id="selectPdmReportIllegalDayVo">
+        select id, company, report_date, province_num1, province_num2, city_num1, city_num2, county_num1, county_num2, check_num, create_by, create_time, update_by, update_time from pdm_report_illegal_day
+    </sql>
+
+    <select id="selectPdmReportIllegalDayList" parameterType="PdmReportIllegalDay" resultMap="PdmReportIllegalDayResult">
+        <include refid="selectPdmReportIllegalDayVo"/>
+        <where>
+            <if test="company != null  and company != ''"> and company = #{company}</if>
+            <if test="reportDate != null  and reportDate != ''"> and report_date = #{reportDate}</if>
+            <if test="provinceNum1 != null "> and province_num1 = #{provinceNum1}</if>
+            <if test="provinceNum2 != null "> and province_num2 = #{provinceNum2}</if>
+            <if test="cityNum1 != null "> and city_num1 = #{cityNum1}</if>
+            <if test="cityNum2 != null "> and city_num2 = #{cityNum2}</if>
+            <if test="countyNum1 != null "> and county_num1 = #{countyNum1}</if>
+            <if test="countyNum2 != null "> and county_num2 = #{countyNum2}</if>
+            <if test="checkNum != null "> and check_num = #{checkNum}</if>
+        </where>
+    </select>
+
+    <select id="selectPdmReportIllegalDayById" parameterType="Long" resultMap="PdmReportIllegalDayResult">
+        <include refid="selectPdmReportIllegalDayVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertPdmReportIllegalDay" parameterType="PdmReportIllegalDay" useGeneratedKeys="true" keyProperty="id">
+        insert into pdm_report_illegal_day
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="company != null">company,</if>
+            <if test="reportDate != null">report_date,</if>
+            <if test="provinceNum1 != null">province_num1,</if>
+            <if test="provinceNum2 != null">province_num2,</if>
+            <if test="cityNum1 != null">city_num1,</if>
+            <if test="cityNum2 != null">city_num2,</if>
+            <if test="countyNum1 != null">county_num1,</if>
+            <if test="countyNum2 != null">county_num2,</if>
+            <if test="checkNum != null">check_num,</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>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="company != null">#{company},</if>
+            <if test="reportDate != null">#{reportDate},</if>
+            <if test="provinceNum1 != null">#{provinceNum1},</if>
+            <if test="provinceNum2 != null">#{provinceNum2},</if>
+            <if test="cityNum1 != null">#{cityNum1},</if>
+            <if test="cityNum2 != null">#{cityNum2},</if>
+            <if test="countyNum1 != null">#{countyNum1},</if>
+            <if test="countyNum2 != null">#{countyNum2},</if>
+            <if test="checkNum != null">#{checkNum},</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>
+         </trim>
+    </insert>
+
+    <update id="updatePdmReportIllegalDay" parameterType="PdmReportIllegalDay">
+        update pdm_report_illegal_day
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="company != null">company = #{company},</if>
+            <if test="reportDate != null">report_date = #{reportDate},</if>
+            <if test="provinceNum1 != null">province_num1 = #{provinceNum1},</if>
+            <if test="provinceNum2 != null">province_num2 = #{provinceNum2},</if>
+            <if test="cityNum1 != null">city_num1 = #{cityNum1},</if>
+            <if test="cityNum2 != null">city_num2 = #{cityNum2},</if>
+            <if test="countyNum1 != null">county_num1 = #{countyNum1},</if>
+            <if test="countyNum2 != null">county_num2 = #{countyNum2},</if>
+            <if test="checkNum != null">check_num = #{checkNum},</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>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deletePdmReportIllegalDayById" parameterType="Long">
+        delete from pdm_report_illegal_day where id = #{id}
+    </delete>
+
+    <delete id="deletePdmReportIllegalDayByIds" parameterType="String">
+        delete from pdm_report_illegal_day where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>

+ 117 - 0
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportPlanDayMapper.xml

@@ -0,0 +1,117 @@
+<?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.powerdistribution.mapper.PdmReportPlanDayMapper">
+
+    <resultMap type="PdmReportPlanDay" id="PdmReportPlanDayResult">
+        <result property="id"    column="id"    />
+        <result property="company"    column="company"    />
+        <result property="reportDate"    column="report_date"    />
+        <result property="total"    column="total"    />
+        <result property="weekSum"    column="week_sum"    />
+        <result property="weekCancelSum"    column="week_cancel_sum"    />
+        <result property="weekRatio"    column="week_ratio"    />
+        <result property="temporarySum"    column="temporary_sum"    />
+        <result property="temporaryCancelSum"    column="temporary_cancel_sum"    />
+        <result property="temporaryRatio"    column="temporary_ratio"    />
+        <result property="temporaryPlanRatio"    column="temporary_plan_ratio"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+    </resultMap>
+
+    <sql id="selectPdmReportPlanDayVo">
+        select id, company, report_date, total, week_sum, week_cancel_sum, week_ratio, temporary_sum, temporary_cancel_sum, temporary_ratio, temporary_plan_ratio, create_by, create_time, update_by, update_time from pdm_report_plan_day
+    </sql>
+
+    <select id="selectPdmReportPlanDayList" parameterType="PdmReportPlanDay" resultMap="PdmReportPlanDayResult">
+        <include refid="selectPdmReportPlanDayVo"/>
+        <where>
+            <if test="company != null  and company != ''"> and company = #{company}</if>
+            <if test="reportDate != null  and reportDate != ''"> and report_date = #{reportDate}</if>
+            <if test="total != null "> and total = #{total}</if>
+            <if test="weekSum != null "> and week_sum = #{weekSum}</if>
+            <if test="weekCancelSum != null "> and week_cancel_sum = #{weekCancelSum}</if>
+            <if test="weekRatio != null  and weekRatio != ''"> and week_ratio = #{weekRatio}</if>
+            <if test="temporarySum != null "> and temporary_sum = #{temporarySum}</if>
+            <if test="temporaryCancelSum != null "> and temporary_cancel_sum = #{temporaryCancelSum}</if>
+            <if test="temporaryRatio != null  and temporaryRatio != ''"> and temporary_ratio = #{temporaryRatio}</if>
+            <if test="temporaryPlanRatio != null  and temporaryPlanRatio != ''"> and temporary_plan_ratio = #{temporaryPlanRatio}</if>
+        </where>
+    </select>
+
+    <select id="selectPdmReportPlanDayById" parameterType="Long" resultMap="PdmReportPlanDayResult">
+        <include refid="selectPdmReportPlanDayVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertPdmReportPlanDay" parameterType="PdmReportPlanDay" useGeneratedKeys="true" keyProperty="id">
+        insert into pdm_report_plan_day
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="company != null">company,</if>
+            <if test="reportDate != null">report_date,</if>
+            <if test="total != null">total,</if>
+            <if test="weekSum != null">week_sum,</if>
+            <if test="weekCancelSum != null">week_cancel_sum,</if>
+            <if test="weekRatio != null">week_ratio,</if>
+            <if test="temporarySum != null">temporary_sum,</if>
+            <if test="temporaryCancelSum != null">temporary_cancel_sum,</if>
+            <if test="temporaryRatio != null">temporary_ratio,</if>
+            <if test="temporaryPlanRatio != null">temporary_plan_ratio,</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>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="company != null">#{company},</if>
+            <if test="reportDate != null">#{reportDate},</if>
+            <if test="total != null">#{total},</if>
+            <if test="weekSum != null">#{weekSum},</if>
+            <if test="weekCancelSum != null">#{weekCancelSum},</if>
+            <if test="weekRatio != null">#{weekRatio},</if>
+            <if test="temporarySum != null">#{temporarySum},</if>
+            <if test="temporaryCancelSum != null">#{temporaryCancelSum},</if>
+            <if test="temporaryRatio != null">#{temporaryRatio},</if>
+            <if test="temporaryPlanRatio != null">#{temporaryPlanRatio},</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>
+         </trim>
+    </insert>
+
+    <update id="updatePdmReportPlanDay" parameterType="PdmReportPlanDay">
+        update pdm_report_plan_day
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="company != null">company = #{company},</if>
+            <if test="reportDate != null">report_date = #{reportDate},</if>
+            <if test="total != null">total = #{total},</if>
+            <if test="weekSum != null">week_sum = #{weekSum},</if>
+            <if test="weekCancelSum != null">week_cancel_sum = #{weekCancelSum},</if>
+            <if test="weekRatio != null">week_ratio = #{weekRatio},</if>
+            <if test="temporarySum != null">temporary_sum = #{temporarySum},</if>
+            <if test="temporaryCancelSum != null">temporary_cancel_sum = #{temporaryCancelSum},</if>
+            <if test="temporaryRatio != null">temporary_ratio = #{temporaryRatio},</if>
+            <if test="temporaryPlanRatio != null">temporary_plan_ratio = #{temporaryPlanRatio},</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>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deletePdmReportPlanDayById" parameterType="Long">
+        delete from pdm_report_plan_day where id = #{id}
+    </delete>
+
+    <delete id="deletePdmReportPlanDayByIds" parameterType="String">
+        delete from pdm_report_plan_day where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>

+ 137 - 0
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportPlanNextDayMapper.xml

@@ -0,0 +1,137 @@
+<?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.powerdistribution.mapper.PdmReportPlanNextDayMapper">
+
+    <resultMap type="PdmReportPlanNextDay" id="PdmReportPlanNextDayResult">
+        <result property="id"    column="id"    />
+        <result property="company"    column="company"    />
+        <result property="reportDate"    column="report_date"    />
+        <result property="workTotal"    column="work_total"    />
+        <result property="workType1Sum"    column="work_type1_sum"    />
+        <result property="workType2Sum"    column="work_type2_sum"    />
+        <result property="workType3Sum"    column="work_type3_sum"    />
+        <result property="workType4Sum"    column="work_type4_sum"    />
+        <result property="workType5Sum"    column="work_type5_sum"    />
+        <result property="temporaryPlanSum"    column="temporary_plan_sum"    />
+        <result property="elePlanSum"    column="ele_plan_sum"    />
+        <result property="planLeve3"    column="plan_leve3"    />
+        <result property="planLeve4"    column="plan_leve4"    />
+        <result property="planLeve5"    column="plan_leve5"    />
+        <result property="checkDetail"    column="check_detail"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+    </resultMap>
+
+    <sql id="selectPdmReportPlanNextDayVo">
+        select id, company, report_date, work_total, work_type1_sum, work_type2_sum, work_type3_sum, work_type4_sum, work_type5_sum, temporary_plan_sum, ele_plan_sum, plan_leve3, plan_leve4, plan_leve5, check_detail, create_by, create_time, update_by, update_time from pdm_report_plan_next_day
+    </sql>
+
+    <select id="selectPdmReportPlanNextDayList" parameterType="PdmReportPlanNextDay" resultMap="PdmReportPlanNextDayResult">
+        <include refid="selectPdmReportPlanNextDayVo"/>
+        <where>
+            <if test="company != null  and company != ''"> and company = #{company}</if>
+            <if test="reportDate != null  and reportDate != ''"> and report_date = #{reportDate}</if>
+            <if test="workTotal != null "> and work_total = #{workTotal}</if>
+            <if test="workType1Sum != null "> and work_type1_sum = #{workType1Sum}</if>
+            <if test="workType2Sum != null "> and work_type2_sum = #{workType2Sum}</if>
+            <if test="workType3Sum != null "> and work_type3_sum = #{workType3Sum}</if>
+            <if test="workType4Sum != null "> and work_type4_sum = #{workType4Sum}</if>
+            <if test="workType5Sum != null "> and work_type5_sum = #{workType5Sum}</if>
+            <if test="temporaryPlanSum != null "> and temporary_plan_sum = #{temporaryPlanSum}</if>
+            <if test="elePlanSum != null "> and ele_plan_sum = #{elePlanSum}</if>
+            <if test="planLeve3 != null  and planLeve3 != ''"> and plan_leve3 = #{planLeve3}</if>
+            <if test="planLeve4 != null  and planLeve4 != ''"> and plan_leve4 = #{planLeve4}</if>
+            <if test="planLeve5 != null  and planLeve5 != ''"> and plan_leve5 = #{planLeve5}</if>
+            <if test="checkDetail != null  and checkDetail != ''"> and check_detail = #{checkDetail}</if>
+        </where>
+    </select>
+
+    <select id="selectPdmReportPlanNextDayById" parameterType="Long" resultMap="PdmReportPlanNextDayResult">
+        <include refid="selectPdmReportPlanNextDayVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertPdmReportPlanNextDay" parameterType="PdmReportPlanNextDay" useGeneratedKeys="true" keyProperty="id">
+        insert into pdm_report_plan_next_day
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="company != null">company,</if>
+            <if test="reportDate != null">report_date,</if>
+            <if test="workTotal != null">work_total,</if>
+            <if test="workType1Sum != null">work_type1_sum,</if>
+            <if test="workType2Sum != null">work_type2_sum,</if>
+            <if test="workType3Sum != null">work_type3_sum,</if>
+            <if test="workType4Sum != null">work_type4_sum,</if>
+            <if test="workType5Sum != null">work_type5_sum,</if>
+            <if test="temporaryPlanSum != null">temporary_plan_sum,</if>
+            <if test="elePlanSum != null">ele_plan_sum,</if>
+            <if test="planLeve3 != null">plan_leve3,</if>
+            <if test="planLeve4 != null">plan_leve4,</if>
+            <if test="planLeve5 != null">plan_leve5,</if>
+            <if test="checkDetail != null">check_detail,</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>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="company != null">#{company},</if>
+            <if test="reportDate != null">#{reportDate},</if>
+            <if test="workTotal != null">#{workTotal},</if>
+            <if test="workType1Sum != null">#{workType1Sum},</if>
+            <if test="workType2Sum != null">#{workType2Sum},</if>
+            <if test="workType3Sum != null">#{workType3Sum},</if>
+            <if test="workType4Sum != null">#{workType4Sum},</if>
+            <if test="workType5Sum != null">#{workType5Sum},</if>
+            <if test="temporaryPlanSum != null">#{temporaryPlanSum},</if>
+            <if test="elePlanSum != null">#{elePlanSum},</if>
+            <if test="planLeve3 != null">#{planLeve3},</if>
+            <if test="planLeve4 != null">#{planLeve4},</if>
+            <if test="planLeve5 != null">#{planLeve5},</if>
+            <if test="checkDetail != null">#{checkDetail},</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>
+         </trim>
+    </insert>
+
+    <update id="updatePdmReportPlanNextDay" parameterType="PdmReportPlanNextDay">
+        update pdm_report_plan_next_day
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="company != null">company = #{company},</if>
+            <if test="reportDate != null">report_date = #{reportDate},</if>
+            <if test="workTotal != null">work_total = #{workTotal},</if>
+            <if test="workType1Sum != null">work_type1_sum = #{workType1Sum},</if>
+            <if test="workType2Sum != null">work_type2_sum = #{workType2Sum},</if>
+            <if test="workType3Sum != null">work_type3_sum = #{workType3Sum},</if>
+            <if test="workType4Sum != null">work_type4_sum = #{workType4Sum},</if>
+            <if test="workType5Sum != null">work_type5_sum = #{workType5Sum},</if>
+            <if test="temporaryPlanSum != null">temporary_plan_sum = #{temporaryPlanSum},</if>
+            <if test="elePlanSum != null">ele_plan_sum = #{elePlanSum},</if>
+            <if test="planLeve3 != null">plan_leve3 = #{planLeve3},</if>
+            <if test="planLeve4 != null">plan_leve4 = #{planLeve4},</if>
+            <if test="planLeve5 != null">plan_leve5 = #{planLeve5},</if>
+            <if test="checkDetail != null">check_detail = #{checkDetail},</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>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deletePdmReportPlanNextDayById" parameterType="Long">
+        delete from pdm_report_plan_next_day where id = #{id}
+    </delete>
+
+    <delete id="deletePdmReportPlanNextDayByIds" parameterType="String">
+        delete from pdm_report_plan_next_day where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>