ソースを参照

鲍工对应的数据库表的 初始化增删改查操作

王苗苗 6 ヶ月 前
コミット
e20f710b39
36 ファイル変更3445 行追加0 行削除
  1. 90 0
      src/main/java/com/xlht/xlhtproject/controller/TShuju1Controller.java
  2. 90 0
      src/main/java/com/xlht/xlhtproject/controller/TTbDuController.java
  3. 90 0
      src/main/java/com/xlht/xlhtproject/controller/TTbXieController.java
  4. 90 0
      src/main/java/com/xlht/xlhtproject/controller/ZAssayController.java
  5. 91 0
      src/main/java/com/xlht/xlhtproject/controller/ZAssayFaultController.java
  6. 91 0
      src/main/java/com/xlht/xlhtproject/controller/ZAssayResultController.java
  7. 159 0
      src/main/java/com/xlht/xlhtproject/domain/TShuju1.java
  8. 68 0
      src/main/java/com/xlht/xlhtproject/domain/TTbDu.java
  9. 67 0
      src/main/java/com/xlht/xlhtproject/domain/TTbXie.java
  10. 106 0
      src/main/java/com/xlht/xlhtproject/domain/ZAssay.java
  11. 98 0
      src/main/java/com/xlht/xlhtproject/domain/ZAssayFault.java
  12. 152 0
      src/main/java/com/xlht/xlhtproject/domain/ZAssayResult.java
  13. 61 0
      src/main/java/com/xlht/xlhtproject/mapper/TShuju1Mapper.java
  14. 61 0
      src/main/java/com/xlht/xlhtproject/mapper/TTbDuMapper.java
  15. 61 0
      src/main/java/com/xlht/xlhtproject/mapper/TTbXieMapper.java
  16. 61 0
      src/main/java/com/xlht/xlhtproject/mapper/ZAssayFaultMapper.java
  17. 61 0
      src/main/java/com/xlht/xlhtproject/mapper/ZAssayMapper.java
  18. 61 0
      src/main/java/com/xlht/xlhtproject/mapper/ZAssayResultMapper.java
  19. 61 0
      src/main/java/com/xlht/xlhtproject/service/ITShuju1Service.java
  20. 61 0
      src/main/java/com/xlht/xlhtproject/service/ITTbDuService.java
  21. 61 0
      src/main/java/com/xlht/xlhtproject/service/ITTbXieService.java
  22. 61 0
      src/main/java/com/xlht/xlhtproject/service/IZAssayFaultService.java
  23. 61 0
      src/main/java/com/xlht/xlhtproject/service/IZAssayResultService.java
  24. 61 0
      src/main/java/com/xlht/xlhtproject/service/IZAssayService.java
  25. 93 0
      src/main/java/com/xlht/xlhtproject/service/impl/TShuju1ServiceImpl.java
  26. 93 0
      src/main/java/com/xlht/xlhtproject/service/impl/TTbDuServiceImpl.java
  27. 93 0
      src/main/java/com/xlht/xlhtproject/service/impl/TTbXieServiceImpl.java
  28. 97 0
      src/main/java/com/xlht/xlhtproject/service/impl/ZAssayFaultServiceImpl.java
  29. 97 0
      src/main/java/com/xlht/xlhtproject/service/impl/ZAssayResultServiceImpl.java
  30. 97 0
      src/main/java/com/xlht/xlhtproject/service/impl/ZAssayServiceImpl.java
  31. 233 0
      src/main/resources/mapper/TShuju1Mapper.xml
  32. 83 0
      src/main/resources/mapper/TTbDuMapper.xml
  33. 83 0
      src/main/resources/mapper/TTbXieMapper.xml
  34. 149 0
      src/main/resources/mapper/ZAssayFaultMapper.xml
  35. 164 0
      src/main/resources/mapper/ZAssayMapper.xml
  36. 239 0
      src/main/resources/mapper/ZAssayResultMapper.xml

+ 90 - 0
src/main/java/com/xlht/xlhtproject/controller/TShuju1Controller.java

@@ -0,0 +1,90 @@
+package com.xlht.xlhtproject.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xlht.xlhtproject.respParse.bean.AjaxResult;
+import com.xlht.xlhtproject.respParse.page.TableDataInfo;
+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.xlht.xlhtproject.domain.TShuju1;
+import com.xlht.xlhtproject.service.ITShuju1Service;
+
+/**
+ * 入库数据_5分钟间隔Controller
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@RestController
+@RequestMapping("/business/shuJu1")
+public class TShuju1Controller extends BaseController
+{
+    @Autowired
+    private ITShuju1Service tShuju1Service;
+
+    /**
+     * 查询入库数据_5分钟间隔列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(TShuju1 tShuju1)
+    {
+        startPage();
+        List<TShuju1> list = tShuju1Service.selectTShuju1List(tShuju1);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出入库数据_5分钟间隔列表
+     */
+    /*@PostMapping("/export")
+    public void export(HttpServletResponse response, TShuju1 tShuju1)
+    {
+        List<TShuju1> list = tShuju1Service.selectTShuju1List(tShuju1);
+        ExcelUtil<TShuju1> util = new ExcelUtil<TShuju1>(TShuju1.class);
+        util.exportExcel(response, list, "入库数据_5分钟间隔数据");
+    }*/
+
+    /**
+     * 获取入库数据_5分钟间隔详细信息
+     */
+    @GetMapping(value = "/{ID}")
+    public AjaxResult getInfo(@PathVariable("ID") Long ID)
+    {
+        return success(tShuju1Service.selectTShuju1ByID(ID));
+    }
+
+    /**
+     * 新增入库数据_5分钟间隔
+     */
+    @PostMapping
+    public AjaxResult add(@RequestBody TShuju1 tShuju1)
+    {
+        return toAjax(tShuju1Service.insertTShuju1(tShuju1));
+    }
+
+    /**
+     * 修改入库数据_5分钟间隔
+     */
+    @PutMapping
+    public AjaxResult edit(@RequestBody TShuju1 tShuju1)
+    {
+        return toAjax(tShuju1Service.updateTShuju1(tShuju1));
+    }
+
+    /**
+     * 删除入库数据_5分钟间隔
+     */
+	@DeleteMapping("/{IDs}")
+    public AjaxResult remove(@PathVariable Long[] IDs)
+    {
+        return toAjax(tShuju1Service.deleteTShuju1ByIDs(IDs));
+    }
+}

+ 90 - 0
src/main/java/com/xlht/xlhtproject/controller/TTbDuController.java

@@ -0,0 +1,90 @@
+package com.xlht.xlhtproject.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xlht.xlhtproject.respParse.bean.AjaxResult;
+import com.xlht.xlhtproject.respParse.page.TableDataInfo;
+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.xlht.xlhtproject.domain.TTbDu;
+import com.xlht.xlhtproject.service.ITTbDuService;
+
+/**
+ * 同步数据组态读Controller
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@RestController
+@RequestMapping("/business/du")
+public class TTbDuController extends BaseController
+{
+    @Autowired
+    private ITTbDuService tTbDuService;
+
+    /**
+     * 查询同步数据组态读列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(TTbDu tTbDu)
+    {
+        startPage();
+        List<TTbDu> list = tTbDuService.selectTTbDuList(tTbDu);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出同步数据组态读列表
+     */
+    /*@PostMapping("/export")
+    public void export(HttpServletResponse response, TTbDu tTbDu)
+    {
+        List<TTbDu> list = tTbDuService.selectTTbDuList(tTbDu);
+        ExcelUtil<TTbDu> util = new ExcelUtil<TTbDu>(TTbDu.class);
+        util.exportExcel(response, list, "同步数据组态读数据");
+    }*/
+
+    /**
+     * 获取同步数据组态读详细信息
+     */
+    @GetMapping(value = "/{ID}")
+    public AjaxResult getInfo(@PathVariable("ID") Long ID)
+    {
+        return success(tTbDuService.selectTTbDuByID(ID));
+    }
+
+    /**
+     * 新增同步数据组态读
+     */
+    @PostMapping
+    public AjaxResult add(@RequestBody TTbDu tTbDu)
+    {
+        return toAjax(tTbDuService.insertTTbDu(tTbDu));
+    }
+
+    /**
+     * 修改同步数据组态读
+     */
+    @PutMapping
+    public AjaxResult edit(@RequestBody TTbDu tTbDu)
+    {
+        return toAjax(tTbDuService.updateTTbDu(tTbDu));
+    }
+
+    /**
+     * 删除同步数据组态读
+     */
+	@DeleteMapping("/{IDs}")
+    public AjaxResult remove(@PathVariable Long[] IDs)
+    {
+        return toAjax(tTbDuService.deleteTTbDuByIDs(IDs));
+    }
+}

+ 90 - 0
src/main/java/com/xlht/xlhtproject/controller/TTbXieController.java

@@ -0,0 +1,90 @@
+package com.xlht.xlhtproject.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xlht.xlhtproject.respParse.bean.AjaxResult;
+import com.xlht.xlhtproject.respParse.page.TableDataInfo;
+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.xlht.xlhtproject.domain.TTbXie;
+import com.xlht.xlhtproject.service.ITTbXieService;
+
+/**
+ * 同步数据_组态_写数据Controller
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@RestController
+@RequestMapping("/business/xie")
+public class TTbXieController extends BaseController
+{
+    @Autowired
+    private ITTbXieService tTbXieService;
+
+    /**
+     * 查询同步数据_组态_写数据列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(TTbXie tTbXie)
+    {
+        startPage();
+        List<TTbXie> list = tTbXieService.selectTTbXieList(tTbXie);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出同步数据_组态_写数据列表
+     */
+    /*@PostMapping("/export")
+    public void export(HttpServletResponse response, TTbXie tTbXie)
+    {
+        List<TTbXie> list = tTbXieService.selectTTbXieList(tTbXie);
+        ExcelUtil<TTbXie> util = new ExcelUtil<TTbXie>(TTbXie.class);
+        util.exportExcel(response, list, "同步数据_组态_写数据数据");
+    }*/
+
+    /**
+     * 获取同步数据_组态_写数据详细信息
+     */
+    @GetMapping(value = "/{ID}")
+    public AjaxResult getInfo(@PathVariable("ID") Long ID)
+    {
+        return success(tTbXieService.selectTTbXieByID(ID));
+    }
+
+    /**
+     * 新增同步数据_组态_写数据
+     */
+    @PostMapping
+    public AjaxResult add(@RequestBody TTbXie tTbXie)
+    {
+        return toAjax(tTbXieService.insertTTbXie(tTbXie));
+    }
+
+    /**
+     * 修改同步数据_组态_写数据
+     */
+    @PutMapping
+    public AjaxResult edit(@RequestBody TTbXie tTbXie)
+    {
+        return toAjax(tTbXieService.updateTTbXie(tTbXie));
+    }
+
+    /**
+     * 删除同步数据_组态_写数据
+     */
+	@DeleteMapping("/{IDs}")
+    public AjaxResult remove(@PathVariable Long[] IDs)
+    {
+        return toAjax(tTbXieService.deleteTTbXieByIDs(IDs));
+    }
+}

+ 90 - 0
src/main/java/com/xlht/xlhtproject/controller/ZAssayController.java

@@ -0,0 +1,90 @@
+package com.xlht.xlhtproject.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xlht.xlhtproject.respParse.bean.AjaxResult;
+import com.xlht.xlhtproject.respParse.page.TableDataInfo;
+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.xlht.xlhtproject.domain.ZAssay;
+import com.xlht.xlhtproject.service.IZAssayService;
+
+/**
+ * 化验项目信息Controller
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@RestController
+@RequestMapping("/business/assay")
+public class ZAssayController extends BaseController
+{
+    @Autowired
+    private IZAssayService zAssayService;
+
+    /**
+     * 查询化验项目信息列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(ZAssay zAssay)
+    {
+        startPage();
+        List<ZAssay> list = zAssayService.selectZAssayList(zAssay);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出化验项目信息列表
+     */
+   /*@PostMapping("/export")
+    public void export(HttpServletResponse response, ZAssay zAssay)
+    {
+        List<ZAssay> list = zAssayService.selectZAssayList(zAssay);
+        ExcelUtil<ZAssay> util = new ExcelUtil<ZAssay>(ZAssay.class);
+        util.exportExcel(response, list, "化验项目信息数据");
+    }*/
+
+    /**
+     * 获取化验项目信息详细信息
+     */
+    @GetMapping(value = "/{assayId}")
+    public AjaxResult getInfo(@PathVariable("assayId") Long assayId)
+    {
+        return success(zAssayService.selectZAssayByAssayId(assayId));
+    }
+
+    /**
+     * 新增化验项目信息
+     */
+    @PostMapping
+    public AjaxResult add(@RequestBody ZAssay zAssay)
+    {
+        return toAjax(zAssayService.insertZAssay(zAssay));
+    }
+
+    /**
+     * 修改化验项目信息
+     */
+    @PutMapping
+    public AjaxResult edit(@RequestBody ZAssay zAssay)
+    {
+        return toAjax(zAssayService.updateZAssay(zAssay));
+    }
+
+    /**
+     * 删除化验项目信息
+     */
+	@DeleteMapping("/{assayIds}")
+    public AjaxResult remove(@PathVariable Long[] assayIds)
+    {
+        return toAjax(zAssayService.deleteZAssayByAssayIds(assayIds));
+    }
+}

+ 91 - 0
src/main/java/com/xlht/xlhtproject/controller/ZAssayFaultController.java

@@ -0,0 +1,91 @@
+package com.xlht.xlhtproject.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xlht.xlhtproject.respParse.bean.AjaxResult;
+import com.xlht.xlhtproject.respParse.page.TableDataInfo;
+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.xlht.xlhtproject.domain.ZAssayFault;
+import com.xlht.xlhtproject.service.IZAssayFaultService;
+
+
+/**
+ * 设备故障信息Controller
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@RestController
+@RequestMapping("/business/fault")
+public class ZAssayFaultController extends BaseController
+{
+    @Autowired
+    private IZAssayFaultService zAssayFaultService;
+
+    /**
+     * 查询设备故障信息列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(ZAssayFault zAssayFault)
+    {
+        startPage();
+        List<ZAssayFault> list = zAssayFaultService.selectZAssayFaultList(zAssayFault);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出设备故障信息列表
+     */
+    /*@PostMapping("/export")
+    public void export(HttpServletResponse response, ZAssayFault zAssayFault)
+    {
+        List<ZAssayFault> list = zAssayFaultService.selectZAssayFaultList(zAssayFault);
+        ExcelUtil<ZAssayFault> util = new ExcelUtil<ZAssayFault>(ZAssayFault.class);
+        util.exportExcel(response, list, "设备故障信息数据");
+    }*/
+
+    /**
+     * 获取设备故障信息详细信息
+     */
+    @GetMapping(value = "/{faultId}")
+    public AjaxResult getInfo(@PathVariable("faultId") Long faultId)
+    {
+        return success(zAssayFaultService.selectZAssayFaultByFaultId(faultId));
+    }
+
+    /**
+     * 新增设备故障信息
+     */
+    @PostMapping
+    public AjaxResult add(@RequestBody ZAssayFault zAssayFault)
+    {
+        return toAjax(zAssayFaultService.insertZAssayFault(zAssayFault));
+    }
+
+    /**
+     * 修改设备故障信息
+     */
+    @PutMapping
+    public AjaxResult edit(@RequestBody ZAssayFault zAssayFault)
+    {
+        return toAjax(zAssayFaultService.updateZAssayFault(zAssayFault));
+    }
+
+    /**
+     * 删除设备故障信息
+     */
+	@DeleteMapping("/{faultIds}")
+    public AjaxResult remove(@PathVariable Long[] faultIds)
+    {
+        return toAjax(zAssayFaultService.deleteZAssayFaultByFaultIds(faultIds));
+    }
+}

+ 91 - 0
src/main/java/com/xlht/xlhtproject/controller/ZAssayResultController.java

@@ -0,0 +1,91 @@
+package com.xlht.xlhtproject.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xlht.xlhtproject.respParse.bean.AjaxResult;
+import com.xlht.xlhtproject.respParse.page.TableDataInfo;
+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.xlht.xlhtproject.domain.ZAssayResult;
+import com.xlht.xlhtproject.service.IZAssayResultService;
+
+
+/**
+ * 化验结果明细Controller
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@RestController
+@RequestMapping("/business/result")
+public class ZAssayResultController extends BaseController
+{
+    @Autowired
+    private IZAssayResultService zAssayResultService;
+
+    /**
+     * 查询化验结果明细列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(ZAssayResult zAssayResult)
+    {
+        startPage();
+        List<ZAssayResult> list = zAssayResultService.selectZAssayResultList(zAssayResult);
+        return getDataTable(list);
+    }
+
+   /* *//**
+     * 导出化验结果明细列表
+     *//*
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, ZAssayResult zAssayResult)
+    {
+        List<ZAssayResult> list = zAssayResultService.selectZAssayResultList(zAssayResult);
+        ExcelUtil<ZAssayResult> util = new ExcelUtil<ZAssayResult>(ZAssayResult.class);
+        util.exportExcel(response, list, "化验结果明细数据");
+    }*/
+
+    /**
+     * 获取化验结果明细详细信息
+     */
+    @GetMapping(value = "/{resultId}")
+    public AjaxResult getInfo(@PathVariable("resultId") Long resultId)
+    {
+        return success(zAssayResultService.selectZAssayResultByResultId(resultId));
+    }
+
+    /**
+     * 新增化验结果明细
+     */
+    @PostMapping
+    public AjaxResult add(@RequestBody ZAssayResult zAssayResult)
+    {
+        return toAjax(zAssayResultService.insertZAssayResult(zAssayResult));
+    }
+
+    /**
+     * 修改化验结果明细
+     */
+    @PutMapping
+    public AjaxResult edit(@RequestBody ZAssayResult zAssayResult)
+    {
+        return toAjax(zAssayResultService.updateZAssayResult(zAssayResult));
+    }
+
+    /**
+     * 删除化验结果明细
+     */
+	@DeleteMapping("/{resultIds}")
+    public AjaxResult remove(@PathVariable Long[] resultIds)
+    {
+        return toAjax(zAssayResultService.deleteZAssayResultByResultIds(resultIds));
+    }
+}

+ 159 - 0
src/main/java/com/xlht/xlhtproject/domain/TShuju1.java

@@ -0,0 +1,159 @@
+package com.xlht.xlhtproject.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.Date;
+
+/**
+ * 入库数据_5分钟间隔对象 T_SHUJU_1
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class TShuju1
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 自动序号 */
+    private Long ID;
+
+    /** 进水总流量 */
+    private Long scJsZll;
+
+    /** 进水COD*/
+    private Long scJsCod;
+
+    /** 进水总氮 */
+    private Long scJsZongdan;
+
+    /** 进水氨氮 */
+    private Long scJsAndan;
+
+    /** 进水总磷 */
+    private Long scJsZonglin;
+
+    /** 出水COD */
+    private Long scCsCod;
+
+    /** 出水总氮 */
+    private Long scCsZongdan;
+
+    /** 出水氨氮 */
+    private Long scCsAndan;
+
+    /** 出水总磷 */
+    private Long scCsZonglin;
+
+    /** 出水总流量 */
+    private Long scCsZll;
+
+    /** 1池缺氧氨氮 */
+    private Long jqr1QyAndan;
+
+    /** 1池缺氧氨氮-化验时间 */
+    private String jqr1QyAndanTime;
+
+    /** 1池缺氧硝氮 */
+    private Long jqr1QyXiaodan;
+
+    /** 1池缺氧硝氮-化验时间 */
+    private String jqr1QyXiaodanTime;
+
+    /** 1池好氧氨氮 */
+    private Long jqr1HyAndan;
+
+    /** 1池好氧氨氮-化验时间 */
+    private String jqr1HyAndanTime;
+
+    /** 1池好氧硝氮 */
+    private Long jqr1HyXiaodan;
+
+    /** 1池好氧硝氮-化验时间 */
+    private String jqr1HyXiaodanTime;
+
+    /** 2池缺氧氨氮 */
+    private Long jqr2QyAndan;
+
+    /** 2池缺氧氨氮-化验时间 */
+    private String jqr2QyAndanTime;
+
+    /** 2池缺氧硝氮 */
+    private Long jqr2QyXiaodan;
+
+    /** 2池缺氧硝氮-化验时间 */
+    private String jqr2QyXiaodanTime;
+
+    /** 2池好氧氨氮 */
+    private Long jqr2HyAndan;
+
+    /** 2池好氧氨氮-化验时间 */
+    private String jqr2HyAndanTime;
+
+    /** 2池好样硝氮 */
+    private Long jqr2HyXiaodan;
+
+    /** 2池好氧硝氮-化验时间 */
+    private String jqr2HyXiaodanTime;
+
+    /** 生物池进水COD */
+    private Long jqrSwcCod;
+
+    /** 生物池进水COD-化验时间 */
+    private String jqrSwcCodTime;
+
+    /** 入库时间 */
+    private String TIME;
+
+    /** 1池好氧正磷 */
+    private Long jqr1HyZhenglin;
+
+    /** 1池好氧正磷-化验时间 */
+    private String jqr1HyZhenglinTime;
+
+    /** 2池好氧正磷 */
+    private Long jqr2HyZhenglin;
+
+    /** 2池好氧正磷-化验时间 */
+    private String jqr2HyZhenglinTime;
+
+    /** 生物池进水正磷 */
+    private Long jqrSwcZhenglin;
+
+    /** 生物池进水正磷-化验时间 */
+    private String jqrSwcZhenglinTime;
+
+
+    /** 创建者 */
+    private String createBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /** 更新者 */
+    private String updateBy;
+
+    /** 更新时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /** 备注 */
+    private String remark;
+
+    //请求参数
+
+    /**  开始时间 */
+    private String timeBegin;
+
+    /** 截止时间 */
+    private String timeEnd;
+
+}

+ 68 - 0
src/main/java/com/xlht/xlhtproject/domain/TTbDu.java

@@ -0,0 +1,68 @@
+package com.xlht.xlhtproject.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.Date;
+
+
+/**
+ * 同步数据组态读对象 T_tb_du
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class TTbDu
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 住建唯一ID */
+    private Long ID;
+
+    /** 1池投加流量 */
+    private Long c1TjLl;
+
+    /** 1池投加流量_更新时间 */
+    private String c1TjLlTime;
+
+    /** 2池投加流量 */
+    private Long c2TjLl;
+
+    /** 2池投加流量_更新时间 */
+    private String c2TjLlTime;
+
+    /** 是否允许投放(0否  1是) */
+    private Long ACTIVE;
+
+    /** 创建者 */
+    private String createBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /** 更新者 */
+    private String updateBy;
+
+    /** 更新时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /** 备注 */
+    private String remark;
+
+    //请求参数
+
+    /**  开始时间 */
+    private String timeBegin;
+
+    /** 截止时间 */
+    private String timeEnd;
+}

+ 67 - 0
src/main/java/com/xlht/xlhtproject/domain/TTbXie.java

@@ -0,0 +1,67 @@
+package com.xlht.xlhtproject.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.Date;
+
+/**
+ * 同步数据_组态_写数据对象 T_tb_xie
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class TTbXie
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 主键唯一ID */
+    private Long ID;
+
+    /** 机器人化验状态 */
+    private Long jqrZhuantai;
+
+    /** 机器人化验状态 */
+    private Long jqrBaojing;
+
+    /** 机器人化验ID */
+    private String jqrId;
+
+    /** 流程ID */
+    private String jqrLcId;
+
+    /** 当前流程步进 */
+    private Long jqrLcBj;
+
+    /** 创建者 */
+    private String createBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /** 更新者 */
+    private String updateBy;
+
+    /** 更新时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /** 备注 */
+    private String remark;
+
+    //请求参数
+
+    /**  开始时间 */
+    private String timeBegin;
+
+    /** 截止时间 */
+    private String timeEnd;
+}

+ 106 - 0
src/main/java/com/xlht/xlhtproject/domain/ZAssay.java

@@ -0,0 +1,106 @@
+package com.xlht.xlhtproject.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.Date;
+
+/**
+ * 化验项目信息对象 z_assay
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class ZAssay
+{
+    private static final long serialVersionUID = 1L;
+
+    /** id */
+    private Long assayId;
+
+    /** 化验唯一编号 */
+    private String assayNo;
+
+    /** 设备编号 */
+    private String deviceNo;
+
+    /** 化验类型 */
+    private String assayType;
+
+    /** 化验实时大流程 */
+    private String assayBigprocess;
+
+    /** 化验实时小流程 */
+    private String assaySmallprocess;
+
+    /** 化验开始时间 */
+    private String beginTime;
+
+    /** 化验结束时间 */
+    private String endTime;
+
+    /** 化验日期 */
+    private String assayDate;
+
+    /** 化验人 */
+    private String assayBy;
+
+    /** 化验版本 */
+    private String version;
+
+    /** 流程名 */
+    private String stepName;
+
+    /** 总步进 */
+    private String stepTotal;
+
+    /** 当前步进 */
+    private String stepNow;
+
+    /** 步进信息1 */
+    private String stepInfo1;
+
+    /** 步进信息2 */
+    private String stepInfo2;
+
+    /** 步进信息3 */
+    private String stepInfo3;
+
+    /** 化验状态 */
+    private String assayStatus;
+
+    /** 化验方式(0-自动化验,1-手动化验) */
+    private String assayMethod;
+
+    /** 创建者 */
+    private String createBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /** 更新者 */
+    private String updateBy;
+
+    /** 更新时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /** 备注 */
+    private String remark;
+
+    //请求参数
+
+    /**  开始时间 */
+    private String timeBegin;
+
+    /** 截止时间 */
+    private String timeEnd;
+}

+ 98 - 0
src/main/java/com/xlht/xlhtproject/domain/ZAssayFault.java

@@ -0,0 +1,98 @@
+package com.xlht.xlhtproject.domain;
+
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.Date;
+
+/**
+ * 设备故障信息对象 z_assay_fault
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class ZAssayFault
+{
+    private static final long serialVersionUID = 1L;
+
+    /** id */
+    private Long faultId;
+
+    /** 化验唯一编号 */
+    private String assayNo;
+
+    /** 设备编号 */
+    private String deviceNo;
+
+    /** 故障时间 */
+    private String faultTime;
+
+    /** 故障代码 */
+    private String faultCode;
+
+    /** 化验大流程 */
+    private String assayBigprocess;
+
+    /** 化验小流程 */
+    private String assaySmallprocess;
+
+    /** 试管信息 */
+    private String testTubeInfo;
+
+    /** 故障状态(0:已解决;1:故障中) */
+    private String faultStatus;
+
+    /** 化验版本 */
+    private String version;
+
+    /** 流程名 */
+    private String stepName;
+
+    /** 总步进 */
+    private String stepTotal;
+
+    /** 当前步进 */
+    private String stepNow;
+
+    /** 步进信息1 */
+    private String stepInfo1;
+
+    /** 步进信息2 */
+    private String stepInfo2;
+
+    /** 步进信息3 */
+    private String stepInfo3;
+
+    /** 创建者 */
+    private String createBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /** 更新者 */
+    private String updateBy;
+
+    /** 更新时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /** 备注 */
+    private String remark;
+
+    //请求参数
+
+    /**  开始时间 */
+    private String timeBegin;
+
+    /** 截止时间 */
+    private String timeEnd;
+}

+ 152 - 0
src/main/java/com/xlht/xlhtproject/domain/ZAssayResult.java

@@ -0,0 +1,152 @@
+package com.xlht.xlhtproject.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.Date;
+
+
+/**
+ * 化验结果明细对象 z_assay_result
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class ZAssayResult
+{
+    private static final long serialVersionUID = 1L;
+
+    /** id */
+    private Long resultId;
+
+    /** 化验唯一编号 */
+    private String assayNo;
+
+    /** 结果编号 */
+    private String resultNo;
+
+    /** 样品编号 */
+    private String sampleNo;
+
+    /** 样品体积 */
+    private Long sampleVolume;
+
+    /** 化验设备编号 */
+    private String deviceNo;
+
+    /** 化验项目 */
+    private String assayItem;
+
+    /** 化验浓度值 */
+    private Long resultConcentration;
+
+    /** 化验ABS值(吸光度) */
+    private Long resultAbs;
+
+    /** 结果日期 */
+    private String resultDate;
+
+    /** 结果时间 */
+    private String resultTime;
+
+    /** 曲线k0 */
+    private Long curveK0;
+
+    /** 曲线k1 */
+    private Long curveK1;
+
+    /** 曲线唯一id */
+    private Long curveId;
+
+    /** $column.columnComment */
+    private Long j1901S01;
+
+    /** $column.columnComment */
+    private Long j1901D01;
+
+    /** $column.columnComment */
+    private Long j1901R01;
+
+    /** $column.columnComment */
+    private Long j1901S1;
+
+    /** $column.columnComment */
+    private Long j1901D1;
+
+    /** $column.columnComment */
+    private Long j1901R1;
+
+    /** $column.columnComment */
+    private Long j1901S02;
+
+    /** $column.columnComment */
+    private Long j1901D02;
+
+    /** $column.columnComment */
+    private Long j1901R02;
+
+    /** $column.columnComment */
+    private Long j1901S2;
+
+    /** $column.columnComment */
+    private Long j1901D2;
+
+    /** $column.columnComment */
+    private Long j1901R2;
+
+    /** 化验分类 */
+    private String assayType;
+
+    /** 样品位 */
+    private Long samplePost;
+
+    /** 化验温度 */
+    private Long resultWendu;
+
+    /** 化验湿度 */
+    private Long resultShidu;
+
+    /** 原始浓度值 */
+    private Long originalConcentration;
+
+    /** 曲线编号 */
+    private String curveNo;
+
+    /** (0:未读,1:已读) */
+    private String readFlag;
+
+    /** 同步状态-1未同步,2已同步 */
+    private String tongbuZt;
+
+    /** 创建者 */
+    private String createBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /** 更新者 */
+    private String updateBy;
+
+    /** 更新时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /** 备注 */
+    private String remark;
+
+    //请求参数
+
+    /**  开始时间 */
+    private String timeBegin;
+
+    /** 截止时间 */
+    private String timeEnd;
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/mapper/TShuju1Mapper.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.mapper;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.TShuju1;
+
+/**
+ * 入库数据_5分钟间隔Mapper接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface TShuju1Mapper 
+{
+    /**
+     * 查询入库数据_5分钟间隔
+     * 
+     * @param ID 入库数据_5分钟间隔主键
+     * @return 入库数据_5分钟间隔
+     */
+    public TShuju1 selectTShuju1ByID(Long ID);
+
+    /**
+     * 查询入库数据_5分钟间隔列表
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 入库数据_5分钟间隔集合
+     */
+    public List<TShuju1> selectTShuju1List(TShuju1 tShuju1);
+
+    /**
+     * 新增入库数据_5分钟间隔
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 结果
+     */
+    public int insertTShuju1(TShuju1 tShuju1);
+
+    /**
+     * 修改入库数据_5分钟间隔
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 结果
+     */
+    public int updateTShuju1(TShuju1 tShuju1);
+
+    /**
+     * 删除入库数据_5分钟间隔
+     * 
+     * @param ID 入库数据_5分钟间隔主键
+     * @return 结果
+     */
+    public int deleteTShuju1ByID(Long ID);
+
+    /**
+     * 批量删除入库数据_5分钟间隔
+     * 
+     * @param IDs 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteTShuju1ByIDs(Long[] IDs);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/mapper/TTbDuMapper.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.mapper;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.TTbDu;
+
+/**
+ * 同步数据组态读Mapper接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface TTbDuMapper 
+{
+    /**
+     * 查询同步数据组态读
+     * 
+     * @param ID 同步数据组态读主键
+     * @return 同步数据组态读
+     */
+    public TTbDu selectTTbDuByID(Long ID);
+
+    /**
+     * 查询同步数据组态读列表
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 同步数据组态读集合
+     */
+    public List<TTbDu> selectTTbDuList(TTbDu tTbDu);
+
+    /**
+     * 新增同步数据组态读
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 结果
+     */
+    public int insertTTbDu(TTbDu tTbDu);
+
+    /**
+     * 修改同步数据组态读
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 结果
+     */
+    public int updateTTbDu(TTbDu tTbDu);
+
+    /**
+     * 删除同步数据组态读
+     * 
+     * @param ID 同步数据组态读主键
+     * @return 结果
+     */
+    public int deleteTTbDuByID(Long ID);
+
+    /**
+     * 批量删除同步数据组态读
+     * 
+     * @param IDs 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteTTbDuByIDs(Long[] IDs);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/mapper/TTbXieMapper.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.mapper;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.TTbXie;
+
+/**
+ * 同步数据_组态_写数据Mapper接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface TTbXieMapper 
+{
+    /**
+     * 查询同步数据_组态_写数据
+     * 
+     * @param ID 同步数据_组态_写数据主键
+     * @return 同步数据_组态_写数据
+     */
+    public TTbXie selectTTbXieByID(Long ID);
+
+    /**
+     * 查询同步数据_组态_写数据列表
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 同步数据_组态_写数据集合
+     */
+    public List<TTbXie> selectTTbXieList(TTbXie tTbXie);
+
+    /**
+     * 新增同步数据_组态_写数据
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 结果
+     */
+    public int insertTTbXie(TTbXie tTbXie);
+
+    /**
+     * 修改同步数据_组态_写数据
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 结果
+     */
+    public int updateTTbXie(TTbXie tTbXie);
+
+    /**
+     * 删除同步数据_组态_写数据
+     * 
+     * @param ID 同步数据_组态_写数据主键
+     * @return 结果
+     */
+    public int deleteTTbXieByID(Long ID);
+
+    /**
+     * 批量删除同步数据_组态_写数据
+     * 
+     * @param IDs 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteTTbXieByIDs(Long[] IDs);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/mapper/ZAssayFaultMapper.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.mapper;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.ZAssayFault;
+
+/**
+ * 设备故障信息Mapper接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface ZAssayFaultMapper 
+{
+    /**
+     * 查询设备故障信息
+     * 
+     * @param faultId 设备故障信息主键
+     * @return 设备故障信息
+     */
+    public ZAssayFault selectZAssayFaultByFaultId(Long faultId);
+
+    /**
+     * 查询设备故障信息列表
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 设备故障信息集合
+     */
+    public List<ZAssayFault> selectZAssayFaultList(ZAssayFault zAssayFault);
+
+    /**
+     * 新增设备故障信息
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 结果
+     */
+    public int insertZAssayFault(ZAssayFault zAssayFault);
+
+    /**
+     * 修改设备故障信息
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 结果
+     */
+    public int updateZAssayFault(ZAssayFault zAssayFault);
+
+    /**
+     * 删除设备故障信息
+     * 
+     * @param faultId 设备故障信息主键
+     * @return 结果
+     */
+    public int deleteZAssayFaultByFaultId(Long faultId);
+
+    /**
+     * 批量删除设备故障信息
+     * 
+     * @param faultIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteZAssayFaultByFaultIds(Long[] faultIds);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/mapper/ZAssayMapper.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.mapper;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.ZAssay;
+
+/**
+ * 化验项目信息Mapper接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface ZAssayMapper 
+{
+    /**
+     * 查询化验项目信息
+     * 
+     * @param assayId 化验项目信息主键
+     * @return 化验项目信息
+     */
+    public ZAssay selectZAssayByAssayId(Long assayId);
+
+    /**
+     * 查询化验项目信息列表
+     * 
+     * @param zAssay 化验项目信息
+     * @return 化验项目信息集合
+     */
+    public List<ZAssay> selectZAssayList(ZAssay zAssay);
+
+    /**
+     * 新增化验项目信息
+     * 
+     * @param zAssay 化验项目信息
+     * @return 结果
+     */
+    public int insertZAssay(ZAssay zAssay);
+
+    /**
+     * 修改化验项目信息
+     * 
+     * @param zAssay 化验项目信息
+     * @return 结果
+     */
+    public int updateZAssay(ZAssay zAssay);
+
+    /**
+     * 删除化验项目信息
+     * 
+     * @param assayId 化验项目信息主键
+     * @return 结果
+     */
+    public int deleteZAssayByAssayId(Long assayId);
+
+    /**
+     * 批量删除化验项目信息
+     * 
+     * @param assayIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteZAssayByAssayIds(Long[] assayIds);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/mapper/ZAssayResultMapper.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.mapper;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.ZAssayResult;
+
+/**
+ * 化验结果明细Mapper接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface ZAssayResultMapper 
+{
+    /**
+     * 查询化验结果明细
+     * 
+     * @param resultId 化验结果明细主键
+     * @return 化验结果明细
+     */
+    public ZAssayResult selectZAssayResultByResultId(Long resultId);
+
+    /**
+     * 查询化验结果明细列表
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 化验结果明细集合
+     */
+    public List<ZAssayResult> selectZAssayResultList(ZAssayResult zAssayResult);
+
+    /**
+     * 新增化验结果明细
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 结果
+     */
+    public int insertZAssayResult(ZAssayResult zAssayResult);
+
+    /**
+     * 修改化验结果明细
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 结果
+     */
+    public int updateZAssayResult(ZAssayResult zAssayResult);
+
+    /**
+     * 删除化验结果明细
+     * 
+     * @param resultId 化验结果明细主键
+     * @return 结果
+     */
+    public int deleteZAssayResultByResultId(Long resultId);
+
+    /**
+     * 批量删除化验结果明细
+     * 
+     * @param resultIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteZAssayResultByResultIds(Long[] resultIds);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/service/ITShuju1Service.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.service;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.TShuju1;
+
+/**
+ * 入库数据_5分钟间隔Service接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface ITShuju1Service 
+{
+    /**
+     * 查询入库数据_5分钟间隔
+     * 
+     * @param ID 入库数据_5分钟间隔主键
+     * @return 入库数据_5分钟间隔
+     */
+    public TShuju1 selectTShuju1ByID(Long ID);
+
+    /**
+     * 查询入库数据_5分钟间隔列表
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 入库数据_5分钟间隔集合
+     */
+    public List<TShuju1> selectTShuju1List(TShuju1 tShuju1);
+
+    /**
+     * 新增入库数据_5分钟间隔
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 结果
+     */
+    public int insertTShuju1(TShuju1 tShuju1);
+
+    /**
+     * 修改入库数据_5分钟间隔
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 结果
+     */
+    public int updateTShuju1(TShuju1 tShuju1);
+
+    /**
+     * 批量删除入库数据_5分钟间隔
+     * 
+     * @param IDs 需要删除的入库数据_5分钟间隔主键集合
+     * @return 结果
+     */
+    public int deleteTShuju1ByIDs(Long[] IDs);
+
+    /**
+     * 删除入库数据_5分钟间隔信息
+     * 
+     * @param ID 入库数据_5分钟间隔主键
+     * @return 结果
+     */
+    public int deleteTShuju1ByID(Long ID);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/service/ITTbDuService.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.service;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.TTbDu;
+
+/**
+ * 同步数据组态读Service接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface ITTbDuService 
+{
+    /**
+     * 查询同步数据组态读
+     * 
+     * @param ID 同步数据组态读主键
+     * @return 同步数据组态读
+     */
+    public TTbDu selectTTbDuByID(Long ID);
+
+    /**
+     * 查询同步数据组态读列表
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 同步数据组态读集合
+     */
+    public List<TTbDu> selectTTbDuList(TTbDu tTbDu);
+
+    /**
+     * 新增同步数据组态读
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 结果
+     */
+    public int insertTTbDu(TTbDu tTbDu);
+
+    /**
+     * 修改同步数据组态读
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 结果
+     */
+    public int updateTTbDu(TTbDu tTbDu);
+
+    /**
+     * 批量删除同步数据组态读
+     * 
+     * @param IDs 需要删除的同步数据组态读主键集合
+     * @return 结果
+     */
+    public int deleteTTbDuByIDs(Long[] IDs);
+
+    /**
+     * 删除同步数据组态读信息
+     * 
+     * @param ID 同步数据组态读主键
+     * @return 结果
+     */
+    public int deleteTTbDuByID(Long ID);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/service/ITTbXieService.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.service;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.TTbXie;
+
+/**
+ * 同步数据_组态_写数据Service接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface ITTbXieService 
+{
+    /**
+     * 查询同步数据_组态_写数据
+     * 
+     * @param ID 同步数据_组态_写数据主键
+     * @return 同步数据_组态_写数据
+     */
+    public TTbXie selectTTbXieByID(Long ID);
+
+    /**
+     * 查询同步数据_组态_写数据列表
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 同步数据_组态_写数据集合
+     */
+    public List<TTbXie> selectTTbXieList(TTbXie tTbXie);
+
+    /**
+     * 新增同步数据_组态_写数据
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 结果
+     */
+    public int insertTTbXie(TTbXie tTbXie);
+
+    /**
+     * 修改同步数据_组态_写数据
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 结果
+     */
+    public int updateTTbXie(TTbXie tTbXie);
+
+    /**
+     * 批量删除同步数据_组态_写数据
+     * 
+     * @param IDs 需要删除的同步数据_组态_写数据主键集合
+     * @return 结果
+     */
+    public int deleteTTbXieByIDs(Long[] IDs);
+
+    /**
+     * 删除同步数据_组态_写数据信息
+     * 
+     * @param ID 同步数据_组态_写数据主键
+     * @return 结果
+     */
+    public int deleteTTbXieByID(Long ID);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/service/IZAssayFaultService.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.service;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.ZAssayFault;
+
+/**
+ * 设备故障信息Service接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface IZAssayFaultService 
+{
+    /**
+     * 查询设备故障信息
+     * 
+     * @param faultId 设备故障信息主键
+     * @return 设备故障信息
+     */
+    public ZAssayFault selectZAssayFaultByFaultId(Long faultId);
+
+    /**
+     * 查询设备故障信息列表
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 设备故障信息集合
+     */
+    public List<ZAssayFault> selectZAssayFaultList(ZAssayFault zAssayFault);
+
+    /**
+     * 新增设备故障信息
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 结果
+     */
+    public int insertZAssayFault(ZAssayFault zAssayFault);
+
+    /**
+     * 修改设备故障信息
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 结果
+     */
+    public int updateZAssayFault(ZAssayFault zAssayFault);
+
+    /**
+     * 批量删除设备故障信息
+     * 
+     * @param faultIds 需要删除的设备故障信息主键集合
+     * @return 结果
+     */
+    public int deleteZAssayFaultByFaultIds(Long[] faultIds);
+
+    /**
+     * 删除设备故障信息信息
+     * 
+     * @param faultId 设备故障信息主键
+     * @return 结果
+     */
+    public int deleteZAssayFaultByFaultId(Long faultId);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/service/IZAssayResultService.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.service;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.ZAssayResult;
+
+/**
+ * 化验结果明细Service接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface IZAssayResultService 
+{
+    /**
+     * 查询化验结果明细
+     * 
+     * @param resultId 化验结果明细主键
+     * @return 化验结果明细
+     */
+    public ZAssayResult selectZAssayResultByResultId(Long resultId);
+
+    /**
+     * 查询化验结果明细列表
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 化验结果明细集合
+     */
+    public List<ZAssayResult> selectZAssayResultList(ZAssayResult zAssayResult);
+
+    /**
+     * 新增化验结果明细
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 结果
+     */
+    public int insertZAssayResult(ZAssayResult zAssayResult);
+
+    /**
+     * 修改化验结果明细
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 结果
+     */
+    public int updateZAssayResult(ZAssayResult zAssayResult);
+
+    /**
+     * 批量删除化验结果明细
+     * 
+     * @param resultIds 需要删除的化验结果明细主键集合
+     * @return 结果
+     */
+    public int deleteZAssayResultByResultIds(Long[] resultIds);
+
+    /**
+     * 删除化验结果明细信息
+     * 
+     * @param resultId 化验结果明细主键
+     * @return 结果
+     */
+    public int deleteZAssayResultByResultId(Long resultId);
+}

+ 61 - 0
src/main/java/com/xlht/xlhtproject/service/IZAssayService.java

@@ -0,0 +1,61 @@
+package com.xlht.xlhtproject.service;
+
+import java.util.List;
+import com.xlht.xlhtproject.domain.ZAssay;
+
+/**
+ * 化验项目信息Service接口
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+public interface IZAssayService 
+{
+    /**
+     * 查询化验项目信息
+     * 
+     * @param assayId 化验项目信息主键
+     * @return 化验项目信息
+     */
+    public ZAssay selectZAssayByAssayId(Long assayId);
+
+    /**
+     * 查询化验项目信息列表
+     * 
+     * @param zAssay 化验项目信息
+     * @return 化验项目信息集合
+     */
+    public List<ZAssay> selectZAssayList(ZAssay zAssay);
+
+    /**
+     * 新增化验项目信息
+     * 
+     * @param zAssay 化验项目信息
+     * @return 结果
+     */
+    public int insertZAssay(ZAssay zAssay);
+
+    /**
+     * 修改化验项目信息
+     * 
+     * @param zAssay 化验项目信息
+     * @return 结果
+     */
+    public int updateZAssay(ZAssay zAssay);
+
+    /**
+     * 批量删除化验项目信息
+     * 
+     * @param assayIds 需要删除的化验项目信息主键集合
+     * @return 结果
+     */
+    public int deleteZAssayByAssayIds(Long[] assayIds);
+
+    /**
+     * 删除化验项目信息信息
+     * 
+     * @param assayId 化验项目信息主键
+     * @return 结果
+     */
+    public int deleteZAssayByAssayId(Long assayId);
+}

+ 93 - 0
src/main/java/com/xlht/xlhtproject/service/impl/TShuju1ServiceImpl.java

@@ -0,0 +1,93 @@
+package com.xlht.xlhtproject.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xlht.xlhtproject.mapper.TShuju1Mapper;
+import com.xlht.xlhtproject.domain.TShuju1;
+import com.xlht.xlhtproject.service.ITShuju1Service;
+
+/**
+ * 入库数据_5分钟间隔Service业务层处理
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Service
+public class TShuju1ServiceImpl implements ITShuju1Service 
+{
+    @Autowired
+    private TShuju1Mapper tShuju1Mapper;
+
+    /**
+     * 查询入库数据_5分钟间隔
+     * 
+     * @param ID 入库数据_5分钟间隔主键
+     * @return 入库数据_5分钟间隔
+     */
+    @Override
+    public TShuju1 selectTShuju1ByID(Long ID)
+    {
+        return tShuju1Mapper.selectTShuju1ByID(ID);
+    }
+
+    /**
+     * 查询入库数据_5分钟间隔列表
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 入库数据_5分钟间隔
+     */
+    @Override
+    public List<TShuju1> selectTShuju1List(TShuju1 tShuju1)
+    {
+        return tShuju1Mapper.selectTShuju1List(tShuju1);
+    }
+
+    /**
+     * 新增入库数据_5分钟间隔
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 结果
+     */
+    @Override
+    public int insertTShuju1(TShuju1 tShuju1)
+    {
+        return tShuju1Mapper.insertTShuju1(tShuju1);
+    }
+
+    /**
+     * 修改入库数据_5分钟间隔
+     * 
+     * @param tShuju1 入库数据_5分钟间隔
+     * @return 结果
+     */
+    @Override
+    public int updateTShuju1(TShuju1 tShuju1)
+    {
+        return tShuju1Mapper.updateTShuju1(tShuju1);
+    }
+
+    /**
+     * 批量删除入库数据_5分钟间隔
+     * 
+     * @param IDs 需要删除的入库数据_5分钟间隔主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTShuju1ByIDs(Long[] IDs)
+    {
+        return tShuju1Mapper.deleteTShuju1ByIDs(IDs);
+    }
+
+    /**
+     * 删除入库数据_5分钟间隔信息
+     * 
+     * @param ID 入库数据_5分钟间隔主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTShuju1ByID(Long ID)
+    {
+        return tShuju1Mapper.deleteTShuju1ByID(ID);
+    }
+}

+ 93 - 0
src/main/java/com/xlht/xlhtproject/service/impl/TTbDuServiceImpl.java

@@ -0,0 +1,93 @@
+package com.xlht.xlhtproject.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xlht.xlhtproject.mapper.TTbDuMapper;
+import com.xlht.xlhtproject.domain.TTbDu;
+import com.xlht.xlhtproject.service.ITTbDuService;
+
+/**
+ * 同步数据组态读Service业务层处理
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Service
+public class TTbDuServiceImpl implements ITTbDuService 
+{
+    @Autowired
+    private TTbDuMapper tTbDuMapper;
+
+    /**
+     * 查询同步数据组态读
+     * 
+     * @param ID 同步数据组态读主键
+     * @return 同步数据组态读
+     */
+    @Override
+    public TTbDu selectTTbDuByID(Long ID)
+    {
+        return tTbDuMapper.selectTTbDuByID(ID);
+    }
+
+    /**
+     * 查询同步数据组态读列表
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 同步数据组态读
+     */
+    @Override
+    public List<TTbDu> selectTTbDuList(TTbDu tTbDu)
+    {
+        return tTbDuMapper.selectTTbDuList(tTbDu);
+    }
+
+    /**
+     * 新增同步数据组态读
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 结果
+     */
+    @Override
+    public int insertTTbDu(TTbDu tTbDu)
+    {
+        return tTbDuMapper.insertTTbDu(tTbDu);
+    }
+
+    /**
+     * 修改同步数据组态读
+     * 
+     * @param tTbDu 同步数据组态读
+     * @return 结果
+     */
+    @Override
+    public int updateTTbDu(TTbDu tTbDu)
+    {
+        return tTbDuMapper.updateTTbDu(tTbDu);
+    }
+
+    /**
+     * 批量删除同步数据组态读
+     * 
+     * @param IDs 需要删除的同步数据组态读主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTTbDuByIDs(Long[] IDs)
+    {
+        return tTbDuMapper.deleteTTbDuByIDs(IDs);
+    }
+
+    /**
+     * 删除同步数据组态读信息
+     * 
+     * @param ID 同步数据组态读主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTTbDuByID(Long ID)
+    {
+        return tTbDuMapper.deleteTTbDuByID(ID);
+    }
+}

+ 93 - 0
src/main/java/com/xlht/xlhtproject/service/impl/TTbXieServiceImpl.java

@@ -0,0 +1,93 @@
+package com.xlht.xlhtproject.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xlht.xlhtproject.mapper.TTbXieMapper;
+import com.xlht.xlhtproject.domain.TTbXie;
+import com.xlht.xlhtproject.service.ITTbXieService;
+
+/**
+ * 同步数据_组态_写数据Service业务层处理
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Service
+public class TTbXieServiceImpl implements ITTbXieService 
+{
+    @Autowired
+    private TTbXieMapper tTbXieMapper;
+
+    /**
+     * 查询同步数据_组态_写数据
+     * 
+     * @param ID 同步数据_组态_写数据主键
+     * @return 同步数据_组态_写数据
+     */
+    @Override
+    public TTbXie selectTTbXieByID(Long ID)
+    {
+        return tTbXieMapper.selectTTbXieByID(ID);
+    }
+
+    /**
+     * 查询同步数据_组态_写数据列表
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 同步数据_组态_写数据
+     */
+    @Override
+    public List<TTbXie> selectTTbXieList(TTbXie tTbXie)
+    {
+        return tTbXieMapper.selectTTbXieList(tTbXie);
+    }
+
+    /**
+     * 新增同步数据_组态_写数据
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 结果
+     */
+    @Override
+    public int insertTTbXie(TTbXie tTbXie)
+    {
+        return tTbXieMapper.insertTTbXie(tTbXie);
+    }
+
+    /**
+     * 修改同步数据_组态_写数据
+     * 
+     * @param tTbXie 同步数据_组态_写数据
+     * @return 结果
+     */
+    @Override
+    public int updateTTbXie(TTbXie tTbXie)
+    {
+        return tTbXieMapper.updateTTbXie(tTbXie);
+    }
+
+    /**
+     * 批量删除同步数据_组态_写数据
+     * 
+     * @param IDs 需要删除的同步数据_组态_写数据主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTTbXieByIDs(Long[] IDs)
+    {
+        return tTbXieMapper.deleteTTbXieByIDs(IDs);
+    }
+
+    /**
+     * 删除同步数据_组态_写数据信息
+     * 
+     * @param ID 同步数据_组态_写数据主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTTbXieByID(Long ID)
+    {
+        return tTbXieMapper.deleteTTbXieByID(ID);
+    }
+}

+ 97 - 0
src/main/java/com/xlht/xlhtproject/service/impl/ZAssayFaultServiceImpl.java

@@ -0,0 +1,97 @@
+package com.xlht.xlhtproject.service.impl;
+
+import java.util.List;
+
+import com.xlht.xlhtproject.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xlht.xlhtproject.mapper.ZAssayFaultMapper;
+import com.xlht.xlhtproject.domain.ZAssayFault;
+import com.xlht.xlhtproject.service.IZAssayFaultService;
+
+/**
+ * 设备故障信息Service业务层处理
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Service
+public class ZAssayFaultServiceImpl implements IZAssayFaultService 
+{
+    @Autowired
+    private ZAssayFaultMapper zAssayFaultMapper;
+
+    /**
+     * 查询设备故障信息
+     * 
+     * @param faultId 设备故障信息主键
+     * @return 设备故障信息
+     */
+    @Override
+    public ZAssayFault selectZAssayFaultByFaultId(Long faultId)
+    {
+        return zAssayFaultMapper.selectZAssayFaultByFaultId(faultId);
+    }
+
+    /**
+     * 查询设备故障信息列表
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 设备故障信息
+     */
+    @Override
+    public List<ZAssayFault> selectZAssayFaultList(ZAssayFault zAssayFault)
+    {
+        return zAssayFaultMapper.selectZAssayFaultList(zAssayFault);
+    }
+
+    /**
+     * 新增设备故障信息
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 结果
+     */
+    @Override
+    public int insertZAssayFault(ZAssayFault zAssayFault)
+    {
+        zAssayFault.setCreateTime(DateUtils.getNowDate());
+        return zAssayFaultMapper.insertZAssayFault(zAssayFault);
+    }
+
+    /**
+     * 修改设备故障信息
+     * 
+     * @param zAssayFault 设备故障信息
+     * @return 结果
+     */
+    @Override
+    public int updateZAssayFault(ZAssayFault zAssayFault)
+    {
+        zAssayFault.setUpdateTime(DateUtils.getNowDate());
+        return zAssayFaultMapper.updateZAssayFault(zAssayFault);
+    }
+
+    /**
+     * 批量删除设备故障信息
+     * 
+     * @param faultIds 需要删除的设备故障信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteZAssayFaultByFaultIds(Long[] faultIds)
+    {
+        return zAssayFaultMapper.deleteZAssayFaultByFaultIds(faultIds);
+    }
+
+    /**
+     * 删除设备故障信息信息
+     * 
+     * @param faultId 设备故障信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteZAssayFaultByFaultId(Long faultId)
+    {
+        return zAssayFaultMapper.deleteZAssayFaultByFaultId(faultId);
+    }
+}

+ 97 - 0
src/main/java/com/xlht/xlhtproject/service/impl/ZAssayResultServiceImpl.java

@@ -0,0 +1,97 @@
+package com.xlht.xlhtproject.service.impl;
+
+import java.util.List;
+
+import com.xlht.xlhtproject.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xlht.xlhtproject.mapper.ZAssayResultMapper;
+import com.xlht.xlhtproject.domain.ZAssayResult;
+import com.xlht.xlhtproject.service.IZAssayResultService;
+
+/**
+ * 化验结果明细Service业务层处理
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Service
+public class ZAssayResultServiceImpl implements IZAssayResultService 
+{
+    @Autowired
+    private ZAssayResultMapper zAssayResultMapper;
+
+    /**
+     * 查询化验结果明细
+     * 
+     * @param resultId 化验结果明细主键
+     * @return 化验结果明细
+     */
+    @Override
+    public ZAssayResult selectZAssayResultByResultId(Long resultId)
+    {
+        return zAssayResultMapper.selectZAssayResultByResultId(resultId);
+    }
+
+    /**
+     * 查询化验结果明细列表
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 化验结果明细
+     */
+    @Override
+    public List<ZAssayResult> selectZAssayResultList(ZAssayResult zAssayResult)
+    {
+        return zAssayResultMapper.selectZAssayResultList(zAssayResult);
+    }
+
+    /**
+     * 新增化验结果明细
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 结果
+     */
+    @Override
+    public int insertZAssayResult(ZAssayResult zAssayResult)
+    {
+        zAssayResult.setCreateTime(DateUtils.getNowDate());
+        return zAssayResultMapper.insertZAssayResult(zAssayResult);
+    }
+
+    /**
+     * 修改化验结果明细
+     * 
+     * @param zAssayResult 化验结果明细
+     * @return 结果
+     */
+    @Override
+    public int updateZAssayResult(ZAssayResult zAssayResult)
+    {
+        zAssayResult.setUpdateTime(DateUtils.getNowDate());
+        return zAssayResultMapper.updateZAssayResult(zAssayResult);
+    }
+
+    /**
+     * 批量删除化验结果明细
+     * 
+     * @param resultIds 需要删除的化验结果明细主键
+     * @return 结果
+     */
+    @Override
+    public int deleteZAssayResultByResultIds(Long[] resultIds)
+    {
+        return zAssayResultMapper.deleteZAssayResultByResultIds(resultIds);
+    }
+
+    /**
+     * 删除化验结果明细信息
+     * 
+     * @param resultId 化验结果明细主键
+     * @return 结果
+     */
+    @Override
+    public int deleteZAssayResultByResultId(Long resultId)
+    {
+        return zAssayResultMapper.deleteZAssayResultByResultId(resultId);
+    }
+}

+ 97 - 0
src/main/java/com/xlht/xlhtproject/service/impl/ZAssayServiceImpl.java

@@ -0,0 +1,97 @@
+package com.xlht.xlhtproject.service.impl;
+
+import java.util.List;
+
+import com.xlht.xlhtproject.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xlht.xlhtproject.mapper.ZAssayMapper;
+import com.xlht.xlhtproject.domain.ZAssay;
+import com.xlht.xlhtproject.service.IZAssayService;
+
+/**
+ * 化验项目信息Service业务层处理
+ * 
+ * @author slibra
+ * @date 2024-09-19
+ */
+@Service
+public class ZAssayServiceImpl implements IZAssayService 
+{
+    @Autowired
+    private ZAssayMapper zAssayMapper;
+
+    /**
+     * 查询化验项目信息
+     * 
+     * @param assayId 化验项目信息主键
+     * @return 化验项目信息
+     */
+    @Override
+    public ZAssay selectZAssayByAssayId(Long assayId)
+    {
+        return zAssayMapper.selectZAssayByAssayId(assayId);
+    }
+
+    /**
+     * 查询化验项目信息列表
+     * 
+     * @param zAssay 化验项目信息
+     * @return 化验项目信息
+     */
+    @Override
+    public List<ZAssay> selectZAssayList(ZAssay zAssay)
+    {
+        return zAssayMapper.selectZAssayList(zAssay);
+    }
+
+    /**
+     * 新增化验项目信息
+     * 
+     * @param zAssay 化验项目信息
+     * @return 结果
+     */
+    @Override
+    public int insertZAssay(ZAssay zAssay)
+    {
+        zAssay.setCreateTime(DateUtils.getNowDate());
+        return zAssayMapper.insertZAssay(zAssay);
+    }
+
+    /**
+     * 修改化验项目信息
+     * 
+     * @param zAssay 化验项目信息
+     * @return 结果
+     */
+    @Override
+    public int updateZAssay(ZAssay zAssay)
+    {
+        zAssay.setUpdateTime(DateUtils.getNowDate());
+        return zAssayMapper.updateZAssay(zAssay);
+    }
+
+    /**
+     * 批量删除化验项目信息
+     * 
+     * @param assayIds 需要删除的化验项目信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteZAssayByAssayIds(Long[] assayIds)
+    {
+        return zAssayMapper.deleteZAssayByAssayIds(assayIds);
+    }
+
+    /**
+     * 删除化验项目信息信息
+     * 
+     * @param assayId 化验项目信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteZAssayByAssayId(Long assayId)
+    {
+        return zAssayMapper.deleteZAssayByAssayId(assayId);
+    }
+}

+ 233 - 0
src/main/resources/mapper/TShuju1Mapper.xml

@@ -0,0 +1,233 @@
+<?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.xlht.xlhtproject.mapper.TShuju1Mapper">
+    
+    <resultMap type="TShuju1" id="TShuju1Result">
+        <result property="ID"    column="ID"    />
+        <result property="scJsZll"    column="SC_JS_ZLL"    />
+        <result property="scJsCod"    column="SC_JS_COD"    />
+        <result property="scJsZongdan"    column="SC_JS_ZONGDAN"    />
+        <result property="scJsAndan"    column="SC_JS_ANDAN"    />
+        <result property="scJsZonglin"    column="SC_JS_ZONGLIN"    />
+        <result property="scCsCod"    column="SC_CS_COD"    />
+        <result property="scCsZongdan"    column="SC_CS_ZONGDAN"    />
+        <result property="scCsAndan"    column="SC_CS_ANDAN"    />
+        <result property="scCsZonglin"    column="SC_CS_ZONGLIN"    />
+        <result property="scCsZll"    column="SC_CS_ZLL"    />
+        <result property="jqr1QyAndan"    column="JQR_1_QY_ANDAN"    />
+        <result property="jqr1QyAndanTime"    column="JQR_1_QY_ANDAN_TIME"    />
+        <result property="jqr1QyXiaodan"    column="JQR_1_QY_XIAODAN"    />
+        <result property="jqr1QyXiaodanTime"    column="JQR_1_QY_XIAODAN_TIME"    />
+        <result property="jqr1HyAndan"    column="JQR_1_HY_ANDAN"    />
+        <result property="jqr1HyAndanTime"    column="JQR_1_HY_ANDAN_TIME"    />
+        <result property="jqr1HyXiaodan"    column="JQR_1_HY_XIAODAN"    />
+        <result property="jqr1HyXiaodanTime"    column="JQR_1_HY_XIAODAN_TIME"    />
+        <result property="jqr2QyAndan"    column="JQR_2_QY_ANDAN"    />
+        <result property="jqr2QyAndanTime"    column="JQR_2_QY_ANDAN_TIME"    />
+        <result property="jqr2QyXiaodan"    column="JQR_2_QY_XIAODAN"    />
+        <result property="jqr2QyXiaodanTime"    column="JQR_2_QY_XIAODAN_TIME"    />
+        <result property="jqr2HyAndan"    column="JQR_2_HY_ANDAN"    />
+        <result property="jqr2HyAndanTime"    column="JQR_2_HY_ANDAN_TIME"    />
+        <result property="jqr2HyXiaodan"    column="JQR_2_HY_XIAODAN"    />
+        <result property="jqr2HyXiaodanTime"    column="JQR_2_HY_XIAODAN_TIME"    />
+        <result property="jqrSwcCod"    column="JQR_SWC_COD"    />
+        <result property="jqrSwcCodTime"    column="JQR_SWC_COD_TIME"    />
+        <result property="TIME"    column="TIME"    />
+        <result property="jqr1HyZhenglin"    column="JQR_1_HY_ZHENGLIN"    />
+        <result property="jqr1HyZhenglinTime"    column="JQR_1_HY_ZHENGLIN_TIME"    />
+        <result property="jqr2HyZhenglin"    column="JQR_2_HY_ZHENGLIN"    />
+        <result property="jqr2HyZhenglinTime"    column="JQR_2_HY_ZHENGLIN_TIME"    />
+        <result property="jqrSwcZhenglin"    column="JQR_SWC_ZHENGLIN"    />
+        <result property="jqrSwcZhenglinTime"    column="JQR_SWC_ZHENGLIN_TIME"    />
+    </resultMap>
+
+    <sql id="selectTShuju1Vo">
+        select ID, SC_JS_ZLL, SC_JS_COD, SC_JS_ZONGDAN, SC_JS_ANDAN, SC_JS_ZONGLIN, SC_CS_COD, SC_CS_ZONGDAN, SC_CS_ANDAN, SC_CS_ZONGLIN, SC_CS_ZLL, JQR_1_QY_ANDAN, JQR_1_QY_ANDAN_TIME, JQR_1_QY_XIAODAN, JQR_1_QY_XIAODAN_TIME, JQR_1_HY_ANDAN, JQR_1_HY_ANDAN_TIME, JQR_1_HY_XIAODAN, JQR_1_HY_XIAODAN_TIME, JQR_2_QY_ANDAN, JQR_2_QY_ANDAN_TIME, JQR_2_QY_XIAODAN, JQR_2_QY_XIAODAN_TIME, JQR_2_HY_ANDAN, JQR_2_HY_ANDAN_TIME, JQR_2_HY_XIAODAN, JQR_2_HY_XIAODAN_TIME, JQR_SWC_COD, JQR_SWC_COD_TIME, TIME, JQR_1_HY_ZHENGLIN, JQR_1_HY_ZHENGLIN_TIME, JQR_2_HY_ZHENGLIN, JQR_2_HY_ZHENGLIN_TIME, JQR_SWC_ZHENGLIN, JQR_SWC_ZHENGLIN_TIME from T_SHUJU_1
+    </sql>
+
+    <select id="selectTShuju1List" parameterType="TShuju1" resultMap="TShuju1Result">
+        <include refid="selectTShuju1Vo"/>
+        <where>
+            1 = 1
+            <if test="scJsZll != null "> and SC_JS_ZLL = #{scJsZll}</if>
+            <if test="scJsCod != null "> and SC_JS_COD = #{scJsCod}</if>
+            <if test="scJsZongdan != null "> and SC_JS_ZONGDAN = #{scJsZongdan}</if>
+            <if test="scJsAndan != null "> and SC_JS_ANDAN = #{scJsAndan}</if>
+            <if test="scJsZonglin != null "> and SC_JS_ZONGLIN = #{scJsZonglin}</if>
+            <if test="scCsCod != null "> and SC_CS_COD = #{scCsCod}</if>
+            <if test="scCsZongdan != null "> and SC_CS_ZONGDAN = #{scCsZongdan}</if>
+            <if test="scCsAndan != null "> and SC_CS_ANDAN = #{scCsAndan}</if>
+            <if test="scCsZonglin != null "> and SC_CS_ZONGLIN = #{scCsZonglin}</if>
+            <if test="scCsZll != null "> and SC_CS_ZLL = #{scCsZll}</if>
+            <if test="jqr1QyAndan != null "> and JQR_1_QY_ANDAN = #{jqr1QyAndan}</if>
+            <if test="jqr1QyAndanTime != null  and jqr1QyAndanTime != ''"> and JQR_1_QY_ANDAN_TIME = #{jqr1QyAndanTime}</if>
+            <if test="jqr1QyXiaodan != null "> and JQR_1_QY_XIAODAN = #{jqr1QyXiaodan}</if>
+            <if test="jqr1QyXiaodanTime != null  and jqr1QyXiaodanTime != ''"> and JQR_1_QY_XIAODAN_TIME = #{jqr1QyXiaodanTime}</if>
+            <if test="jqr1HyAndan != null "> and JQR_1_HY_ANDAN = #{jqr1HyAndan}</if>
+            <if test="jqr1HyAndanTime != null  and jqr1HyAndanTime != ''"> and JQR_1_HY_ANDAN_TIME = #{jqr1HyAndanTime}</if>
+            <if test="jqr1HyXiaodan != null "> and JQR_1_HY_XIAODAN = #{jqr1HyXiaodan}</if>
+            <if test="jqr1HyXiaodanTime != null  and jqr1HyXiaodanTime != ''"> and JQR_1_HY_XIAODAN_TIME = #{jqr1HyXiaodanTime}</if>
+            <if test="jqr2QyAndan != null "> and JQR_2_QY_ANDAN = #{jqr2QyAndan}</if>
+            <if test="jqr2QyAndanTime != null  and jqr2QyAndanTime != ''"> and JQR_2_QY_ANDAN_TIME = #{jqr2QyAndanTime}</if>
+            <if test="jqr2QyXiaodan != null "> and JQR_2_QY_XIAODAN = #{jqr2QyXiaodan}</if>
+            <if test="jqr2QyXiaodanTime != null  and jqr2QyXiaodanTime != ''"> and JQR_2_QY_XIAODAN_TIME = #{jqr2QyXiaodanTime}</if>
+            <if test="jqr2HyAndan != null "> and JQR_2_HY_ANDAN = #{jqr2HyAndan}</if>
+            <if test="jqr2HyAndanTime != null  and jqr2HyAndanTime != ''"> and JQR_2_HY_ANDAN_TIME = #{jqr2HyAndanTime}</if>
+            <if test="jqr2HyXiaodan != null "> and JQR_2_HY_XIAODAN = #{jqr2HyXiaodan}</if>
+            <if test="jqr2HyXiaodanTime != null  and jqr2HyXiaodanTime != ''"> and JQR_2_HY_XIAODAN_TIME = #{jqr2HyXiaodanTime}</if>
+            <if test="jqrSwcCod != null "> and JQR_SWC_COD = #{jqrSwcCod}</if>
+            <if test="jqrSwcCodTime != null  and jqrSwcCodTime != ''"> and JQR_SWC_COD_TIME = #{jqrSwcCodTime}</if>
+            <if test="TIME != null  and TIME != ''"> and TIME = #{TIME}</if>
+            <if test="jqr1HyZhenglin != null "> and JQR_1_HY_ZHENGLIN = #{jqr1HyZhenglin}</if>
+            <if test="jqr1HyZhenglinTime != null  and jqr1HyZhenglinTime != ''"> and JQR_1_HY_ZHENGLIN_TIME = #{jqr1HyZhenglinTime}</if>
+            <if test="jqr2HyZhenglin != null "> and JQR_2_HY_ZHENGLIN = #{jqr2HyZhenglin}</if>
+            <if test="jqr2HyZhenglinTime != null  and jqr2HyZhenglinTime != ''"> and JQR_2_HY_ZHENGLIN_TIME = #{jqr2HyZhenglinTime}</if>
+            <if test="jqrSwcZhenglin != null "> and JQR_SWC_ZHENGLIN = #{jqrSwcZhenglin}</if>
+            <if test="jqrSwcZhenglinTime != null  and jqrSwcZhenglinTime != ''"> and JQR_SWC_ZHENGLIN_TIME = #{jqrSwcZhenglinTime}</if>
+        </where>
+        and del_flag = 0 order by id desc
+    </select>
+    
+    <select id="selectTShuju1ByID" parameterType="Long" resultMap="TShuju1Result">
+        <include refid="selectTShuju1Vo"/>
+        where ID = #{ID} and del_flag = 0
+    </select>
+        
+    <insert id="insertTShuju1" parameterType="TShuju1">
+        insert into T_SHUJU_1
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="ID != null">ID,</if>
+            <if test="scJsZll != null">SC_JS_ZLL,</if>
+            <if test="scJsCod != null">SC_JS_COD,</if>
+            <if test="scJsZongdan != null">SC_JS_ZONGDAN,</if>
+            <if test="scJsAndan != null">SC_JS_ANDAN,</if>
+            <if test="scJsZonglin != null">SC_JS_ZONGLIN,</if>
+            <if test="scCsCod != null">SC_CS_COD,</if>
+            <if test="scCsZongdan != null">SC_CS_ZONGDAN,</if>
+            <if test="scCsAndan != null">SC_CS_ANDAN,</if>
+            <if test="scCsZonglin != null">SC_CS_ZONGLIN,</if>
+            <if test="scCsZll != null">SC_CS_ZLL,</if>
+            <if test="jqr1QyAndan != null">JQR_1_QY_ANDAN,</if>
+            <if test="jqr1QyAndanTime != null">JQR_1_QY_ANDAN_TIME,</if>
+            <if test="jqr1QyXiaodan != null">JQR_1_QY_XIAODAN,</if>
+            <if test="jqr1QyXiaodanTime != null">JQR_1_QY_XIAODAN_TIME,</if>
+            <if test="jqr1HyAndan != null">JQR_1_HY_ANDAN,</if>
+            <if test="jqr1HyAndanTime != null">JQR_1_HY_ANDAN_TIME,</if>
+            <if test="jqr1HyXiaodan != null">JQR_1_HY_XIAODAN,</if>
+            <if test="jqr1HyXiaodanTime != null">JQR_1_HY_XIAODAN_TIME,</if>
+            <if test="jqr2QyAndan != null">JQR_2_QY_ANDAN,</if>
+            <if test="jqr2QyAndanTime != null">JQR_2_QY_ANDAN_TIME,</if>
+            <if test="jqr2QyXiaodan != null">JQR_2_QY_XIAODAN,</if>
+            <if test="jqr2QyXiaodanTime != null">JQR_2_QY_XIAODAN_TIME,</if>
+            <if test="jqr2HyAndan != null">JQR_2_HY_ANDAN,</if>
+            <if test="jqr2HyAndanTime != null">JQR_2_HY_ANDAN_TIME,</if>
+            <if test="jqr2HyXiaodan != null">JQR_2_HY_XIAODAN,</if>
+            <if test="jqr2HyXiaodanTime != null">JQR_2_HY_XIAODAN_TIME,</if>
+            <if test="jqrSwcCod != null">JQR_SWC_COD,</if>
+            <if test="jqrSwcCodTime != null">JQR_SWC_COD_TIME,</if>
+            <if test="TIME != null">TIME,</if>
+            <if test="jqr1HyZhenglin != null">JQR_1_HY_ZHENGLIN,</if>
+            <if test="jqr1HyZhenglinTime != null">JQR_1_HY_ZHENGLIN_TIME,</if>
+            <if test="jqr2HyZhenglin != null">JQR_2_HY_ZHENGLIN,</if>
+            <if test="jqr2HyZhenglinTime != null">JQR_2_HY_ZHENGLIN_TIME,</if>
+            <if test="jqrSwcZhenglin != null">JQR_SWC_ZHENGLIN,</if>
+            <if test="jqrSwcZhenglinTime != null">JQR_SWC_ZHENGLIN_TIME,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="ID != null">#{ID},</if>
+            <if test="scJsZll != null">#{scJsZll},</if>
+            <if test="scJsCod != null">#{scJsCod},</if>
+            <if test="scJsZongdan != null">#{scJsZongdan},</if>
+            <if test="scJsAndan != null">#{scJsAndan},</if>
+            <if test="scJsZonglin != null">#{scJsZonglin},</if>
+            <if test="scCsCod != null">#{scCsCod},</if>
+            <if test="scCsZongdan != null">#{scCsZongdan},</if>
+            <if test="scCsAndan != null">#{scCsAndan},</if>
+            <if test="scCsZonglin != null">#{scCsZonglin},</if>
+            <if test="scCsZll != null">#{scCsZll},</if>
+            <if test="jqr1QyAndan != null">#{jqr1QyAndan},</if>
+            <if test="jqr1QyAndanTime != null">#{jqr1QyAndanTime},</if>
+            <if test="jqr1QyXiaodan != null">#{jqr1QyXiaodan},</if>
+            <if test="jqr1QyXiaodanTime != null">#{jqr1QyXiaodanTime},</if>
+            <if test="jqr1HyAndan != null">#{jqr1HyAndan},</if>
+            <if test="jqr1HyAndanTime != null">#{jqr1HyAndanTime},</if>
+            <if test="jqr1HyXiaodan != null">#{jqr1HyXiaodan},</if>
+            <if test="jqr1HyXiaodanTime != null">#{jqr1HyXiaodanTime},</if>
+            <if test="jqr2QyAndan != null">#{jqr2QyAndan},</if>
+            <if test="jqr2QyAndanTime != null">#{jqr2QyAndanTime},</if>
+            <if test="jqr2QyXiaodan != null">#{jqr2QyXiaodan},</if>
+            <if test="jqr2QyXiaodanTime != null">#{jqr2QyXiaodanTime},</if>
+            <if test="jqr2HyAndan != null">#{jqr2HyAndan},</if>
+            <if test="jqr2HyAndanTime != null">#{jqr2HyAndanTime},</if>
+            <if test="jqr2HyXiaodan != null">#{jqr2HyXiaodan},</if>
+            <if test="jqr2HyXiaodanTime != null">#{jqr2HyXiaodanTime},</if>
+            <if test="jqrSwcCod != null">#{jqrSwcCod},</if>
+            <if test="jqrSwcCodTime != null">#{jqrSwcCodTime},</if>
+            <if test="TIME != null">#{TIME},</if>
+            <if test="jqr1HyZhenglin != null">#{jqr1HyZhenglin},</if>
+            <if test="jqr1HyZhenglinTime != null">#{jqr1HyZhenglinTime},</if>
+            <if test="jqr2HyZhenglin != null">#{jqr2HyZhenglin},</if>
+            <if test="jqr2HyZhenglinTime != null">#{jqr2HyZhenglinTime},</if>
+            <if test="jqrSwcZhenglin != null">#{jqrSwcZhenglin},</if>
+            <if test="jqrSwcZhenglinTime != null">#{jqrSwcZhenglinTime},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTShuju1" parameterType="TShuju1">
+        update T_SHUJU_1
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="scJsZll != null">SC_JS_ZLL = #{scJsZll},</if>
+            <if test="scJsCod != null">SC_JS_COD = #{scJsCod},</if>
+            <if test="scJsZongdan != null">SC_JS_ZONGDAN = #{scJsZongdan},</if>
+            <if test="scJsAndan != null">SC_JS_ANDAN = #{scJsAndan},</if>
+            <if test="scJsZonglin != null">SC_JS_ZONGLIN = #{scJsZonglin},</if>
+            <if test="scCsCod != null">SC_CS_COD = #{scCsCod},</if>
+            <if test="scCsZongdan != null">SC_CS_ZONGDAN = #{scCsZongdan},</if>
+            <if test="scCsAndan != null">SC_CS_ANDAN = #{scCsAndan},</if>
+            <if test="scCsZonglin != null">SC_CS_ZONGLIN = #{scCsZonglin},</if>
+            <if test="scCsZll != null">SC_CS_ZLL = #{scCsZll},</if>
+            <if test="jqr1QyAndan != null">JQR_1_QY_ANDAN = #{jqr1QyAndan},</if>
+            <if test="jqr1QyAndanTime != null">JQR_1_QY_ANDAN_TIME = #{jqr1QyAndanTime},</if>
+            <if test="jqr1QyXiaodan != null">JQR_1_QY_XIAODAN = #{jqr1QyXiaodan},</if>
+            <if test="jqr1QyXiaodanTime != null">JQR_1_QY_XIAODAN_TIME = #{jqr1QyXiaodanTime},</if>
+            <if test="jqr1HyAndan != null">JQR_1_HY_ANDAN = #{jqr1HyAndan},</if>
+            <if test="jqr1HyAndanTime != null">JQR_1_HY_ANDAN_TIME = #{jqr1HyAndanTime},</if>
+            <if test="jqr1HyXiaodan != null">JQR_1_HY_XIAODAN = #{jqr1HyXiaodan},</if>
+            <if test="jqr1HyXiaodanTime != null">JQR_1_HY_XIAODAN_TIME = #{jqr1HyXiaodanTime},</if>
+            <if test="jqr2QyAndan != null">JQR_2_QY_ANDAN = #{jqr2QyAndan},</if>
+            <if test="jqr2QyAndanTime != null">JQR_2_QY_ANDAN_TIME = #{jqr2QyAndanTime},</if>
+            <if test="jqr2QyXiaodan != null">JQR_2_QY_XIAODAN = #{jqr2QyXiaodan},</if>
+            <if test="jqr2QyXiaodanTime != null">JQR_2_QY_XIAODAN_TIME = #{jqr2QyXiaodanTime},</if>
+            <if test="jqr2HyAndan != null">JQR_2_HY_ANDAN = #{jqr2HyAndan},</if>
+            <if test="jqr2HyAndanTime != null">JQR_2_HY_ANDAN_TIME = #{jqr2HyAndanTime},</if>
+            <if test="jqr2HyXiaodan != null">JQR_2_HY_XIAODAN = #{jqr2HyXiaodan},</if>
+            <if test="jqr2HyXiaodanTime != null">JQR_2_HY_XIAODAN_TIME = #{jqr2HyXiaodanTime},</if>
+            <if test="jqrSwcCod != null">JQR_SWC_COD = #{jqrSwcCod},</if>
+            <if test="jqrSwcCodTime != null">JQR_SWC_COD_TIME = #{jqrSwcCodTime},</if>
+            <if test="TIME != null">TIME = #{TIME},</if>
+            <if test="jqr1HyZhenglin != null">JQR_1_HY_ZHENGLIN = #{jqr1HyZhenglin},</if>
+            <if test="jqr1HyZhenglinTime != null">JQR_1_HY_ZHENGLIN_TIME = #{jqr1HyZhenglinTime},</if>
+            <if test="jqr2HyZhenglin != null">JQR_2_HY_ZHENGLIN = #{jqr2HyZhenglin},</if>
+            <if test="jqr2HyZhenglinTime != null">JQR_2_HY_ZHENGLIN_TIME = #{jqr2HyZhenglinTime},</if>
+            <if test="jqrSwcZhenglin != null">JQR_SWC_ZHENGLIN = #{jqrSwcZhenglin},</if>
+            <if test="jqrSwcZhenglinTime != null">JQR_SWC_ZHENGLIN_TIME = #{jqrSwcZhenglinTime},</if>
+        </trim>
+        ,revision = revision + 1
+        where ID = #{ID}
+    </update>
+
+    
+
+    <delete id="deleteTShuju1ByID" parameterType="Long">
+        update T_SHUJU_1 set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID = #{ID}
+    </delete>
+
+    <delete id="deleteTShuju1ByIDs" parameterType="String">
+        update T_SHUJU_1 set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID in
+        <foreach item="ID" collection="array" open="(" separator="," close=")">
+            #{ID}
+        </foreach>
+    </delete>
+</mapper>

+ 83 - 0
src/main/resources/mapper/TTbDuMapper.xml

@@ -0,0 +1,83 @@
+<?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.xlht.xlhtproject.mapper.TTbDuMapper">
+    
+    <resultMap type="TTbDu" id="TTbDuResult">
+        <result property="ID"    column="ID"    />
+        <result property="c1TjLl"    column="C1_TJ_LL"    />
+        <result property="c1TjLlTime"    column="C1_TJ_LL_TIME"    />
+        <result property="c2TjLl"    column="C2_TJ_LL"    />
+        <result property="c2TjLlTime"    column="C2_TJ_LL_TIME"    />
+        <result property="ACTIVE"    column="ACTIVE"    />
+    </resultMap>
+
+    <sql id="selectTTbDuVo">
+        select ID, C1_TJ_LL, C1_TJ_LL_TIME, C2_TJ_LL, C2_TJ_LL_TIME, ACTIVE from T_tb_du
+    </sql>
+
+    <select id="selectTTbDuList" parameterType="TTbDu" resultMap="TTbDuResult">
+        <include refid="selectTTbDuVo"/>
+        <where>
+            1 = 1
+            <if test="c1TjLl != null "> and C1_TJ_LL = #{c1TjLl}</if>
+            <if test="c1TjLlTime != null  and c1TjLlTime != ''"> and C1_TJ_LL_TIME = #{c1TjLlTime}</if>
+            <if test="c2TjLl != null "> and C2_TJ_LL = #{c2TjLl}</if>
+            <if test="c2TjLlTime != null  and c2TjLlTime != ''"> and C2_TJ_LL_TIME = #{c2TjLlTime}</if>
+            <if test="ACTIVE != null "> and ACTIVE = #{ACTIVE}</if>
+        </where>
+        and del_flag = 0 order by id desc
+    </select>
+    
+    <select id="selectTTbDuByID" parameterType="Long" resultMap="TTbDuResult">
+        <include refid="selectTTbDuVo"/>
+        where ID = #{ID} and del_flag = 0
+    </select>
+        
+    <insert id="insertTTbDu" parameterType="TTbDu">
+        insert into T_tb_du
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="ID != null">ID,</if>
+            <if test="c1TjLl != null">C1_TJ_LL,</if>
+            <if test="c1TjLlTime != null">C1_TJ_LL_TIME,</if>
+            <if test="c2TjLl != null">C2_TJ_LL,</if>
+            <if test="c2TjLlTime != null">C2_TJ_LL_TIME,</if>
+            <if test="ACTIVE != null">ACTIVE,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="ID != null">#{ID},</if>
+            <if test="c1TjLl != null">#{c1TjLl},</if>
+            <if test="c1TjLlTime != null">#{c1TjLlTime},</if>
+            <if test="c2TjLl != null">#{c2TjLl},</if>
+            <if test="c2TjLlTime != null">#{c2TjLlTime},</if>
+            <if test="ACTIVE != null">#{ACTIVE},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTTbDu" parameterType="TTbDu">
+        update T_tb_du
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="c1TjLl != null">C1_TJ_LL = #{c1TjLl},</if>
+            <if test="c1TjLlTime != null">C1_TJ_LL_TIME = #{c1TjLlTime},</if>
+            <if test="c2TjLl != null">C2_TJ_LL = #{c2TjLl},</if>
+            <if test="c2TjLlTime != null">C2_TJ_LL_TIME = #{c2TjLlTime},</if>
+            <if test="ACTIVE != null">ACTIVE = #{ACTIVE},</if>
+        </trim>
+        ,revision = revision + 1
+        where ID = #{ID}
+    </update>
+
+    
+
+    <delete id="deleteTTbDuByID" parameterType="Long">
+        update T_tb_du set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID = #{ID}
+    </delete>
+
+    <delete id="deleteTTbDuByIDs" parameterType="String">
+        update T_tb_du set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID in
+        <foreach item="ID" collection="array" open="(" separator="," close=")">
+            #{ID}
+        </foreach>
+    </delete>
+</mapper>

+ 83 - 0
src/main/resources/mapper/TTbXieMapper.xml

@@ -0,0 +1,83 @@
+<?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.xlht.xlhtproject.mapper.TTbXieMapper">
+    
+    <resultMap type="TTbXie" id="TTbXieResult">
+        <result property="ID"    column="ID"    />
+        <result property="jqrZhuantai"    column="jqr_zhuantai"    />
+        <result property="jqrBaojing"    column="jqr_baojing"    />
+        <result property="jqrId"    column="jqr_ID"    />
+        <result property="jqrLcId"    column="jqr_lc_ID"    />
+        <result property="jqrLcBj"    column="jqr_lc_bj"    />
+    </resultMap>
+
+    <sql id="selectTTbXieVo">
+        select ID, jqr_zhuantai, jqr_baojing, jqr_ID, jqr_lc_ID, jqr_lc_bj from T_tb_xie
+    </sql>
+
+    <select id="selectTTbXieList" parameterType="TTbXie" resultMap="TTbXieResult">
+        <include refid="selectTTbXieVo"/>
+        <where>
+            1 = 1
+            <if test="jqrZhuantai != null "> and jqr_zhuantai = #{jqrZhuantai}</if>
+            <if test="jqrBaojing != null "> and jqr_baojing = #{jqrBaojing}</if>
+            <if test="jqrId != null  and jqrId != ''"> and jqr_ID = #{jqrId}</if>
+            <if test="jqrLcId != null  and jqrLcId != ''"> and jqr_lc_ID = #{jqrLcId}</if>
+            <if test="jqrLcBj != null "> and jqr_lc_bj = #{jqrLcBj}</if>
+        </where>
+        and del_flag = 0 order by id desc
+    </select>
+    
+    <select id="selectTTbXieByID" parameterType="Long" resultMap="TTbXieResult">
+        <include refid="selectTTbXieVo"/>
+        where ID = #{ID} and del_flag = 0
+    </select>
+        
+    <insert id="insertTTbXie" parameterType="TTbXie">
+        insert into T_tb_xie
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="ID != null">ID,</if>
+            <if test="jqrZhuantai != null">jqr_zhuantai,</if>
+            <if test="jqrBaojing != null">jqr_baojing,</if>
+            <if test="jqrId != null">jqr_ID,</if>
+            <if test="jqrLcId != null">jqr_lc_ID,</if>
+            <if test="jqrLcBj != null">jqr_lc_bj,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="ID != null">#{ID},</if>
+            <if test="jqrZhuantai != null">#{jqrZhuantai},</if>
+            <if test="jqrBaojing != null">#{jqrBaojing},</if>
+            <if test="jqrId != null">#{jqrId},</if>
+            <if test="jqrLcId != null">#{jqrLcId},</if>
+            <if test="jqrLcBj != null">#{jqrLcBj},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTTbXie" parameterType="TTbXie">
+        update T_tb_xie
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="jqrZhuantai != null">jqr_zhuantai = #{jqrZhuantai},</if>
+            <if test="jqrBaojing != null">jqr_baojing = #{jqrBaojing},</if>
+            <if test="jqrId != null">jqr_ID = #{jqrId},</if>
+            <if test="jqrLcId != null">jqr_lc_ID = #{jqrLcId},</if>
+            <if test="jqrLcBj != null">jqr_lc_bj = #{jqrLcBj},</if>
+        </trim>
+        ,revision = revision + 1
+        where ID = #{ID}
+    </update>
+
+    
+
+    <delete id="deleteTTbXieByID" parameterType="Long">
+        update T_tb_xie set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID = #{ID}
+    </delete>
+
+    <delete id="deleteTTbXieByIDs" parameterType="String">
+        update T_tb_xie set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID in
+        <foreach item="ID" collection="array" open="(" separator="," close=")">
+            #{ID}
+        </foreach>
+    </delete>
+</mapper>

+ 149 - 0
src/main/resources/mapper/ZAssayFaultMapper.xml

@@ -0,0 +1,149 @@
+<?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.xlht.xlhtproject.mapper.ZAssayFaultMapper">
+    
+    <resultMap type="ZAssayFault" id="ZAssayFaultResult">
+        <result property="faultId"    column="fault_id"    />
+        <result property="assayNo"    column="assay_no"    />
+        <result property="deviceNo"    column="device_no"    />
+        <result property="faultTime"    column="fault_time"    />
+        <result property="faultCode"    column="fault_code"    />
+        <result property="assayBigprocess"    column="assay_bigprocess"    />
+        <result property="assaySmallprocess"    column="assay_smallprocess"    />
+        <result property="testTubeInfo"    column="test_tube_info"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="faultStatus"    column="fault_status"    />
+        <result property="version"    column="version"    />
+        <result property="stepName"    column="step_name"    />
+        <result property="stepTotal"    column="step_total"    />
+        <result property="stepNow"    column="step_now"    />
+        <result property="stepInfo1"    column="step_info1"    />
+        <result property="stepInfo2"    column="step_info2"    />
+        <result property="stepInfo3"    column="step_info3"    />
+    </resultMap>
+
+    <sql id="selectZAssayFaultVo">
+        select fault_id, assay_no, device_no, fault_time, fault_code, assay_bigprocess, assay_smallprocess, test_tube_info, create_by, create_time, update_by, update_time, fault_status, version, step_name, step_total, step_now, step_info1, step_info2, step_info3 from z_assay_fault
+    </sql>
+
+    <select id="selectZAssayFaultList" parameterType="ZAssayFault" resultMap="ZAssayFaultResult">
+        <include refid="selectZAssayFaultVo"/>
+        <where>
+            1 = 1
+            <if test="assayNo != null  and assayNo != ''"> and assay_no = #{assayNo}</if>
+            <if test="deviceNo != null  and deviceNo != ''"> and device_no = #{deviceNo}</if>
+            <if test="faultTime != null  and faultTime != ''"> and fault_time = #{faultTime}</if>
+            <if test="faultCode != null  and faultCode != ''"> and fault_code = #{faultCode}</if>
+            <if test="assayBigprocess != null  and assayBigprocess != ''"> and assay_bigprocess = #{assayBigprocess}</if>
+            <if test="assaySmallprocess != null  and assaySmallprocess != ''"> and assay_smallprocess = #{assaySmallprocess}</if>
+            <if test="testTubeInfo != null  and testTubeInfo != ''"> and test_tube_info = #{testTubeInfo}</if>
+            <if test="faultStatus != null  and faultStatus != ''"> and fault_status = #{faultStatus}</if>
+            <if test="version != null  and version != ''"> and version = #{version}</if>
+            <if test="stepName != null  and stepName != ''"> and step_name like concat('%', #{stepName}, '%')</if>
+            <if test="stepTotal != null  and stepTotal != ''"> and step_total = #{stepTotal}</if>
+            <if test="stepNow != null  and stepNow != ''"> and step_now = #{stepNow}</if>
+            <if test="stepInfo1 != null  and stepInfo1 != ''"> and step_info1 = #{stepInfo1}</if>
+            <if test="stepInfo2 != null  and stepInfo2 != ''"> and step_info2 = #{stepInfo2}</if>
+            <if test="stepInfo3 != null  and stepInfo3 != ''"> and step_info3 = #{stepInfo3}</if>
+        </where>
+        and del_flag = 0 order by id desc
+    </select>
+    
+    <select id="selectZAssayFaultByFaultId" parameterType="Long" resultMap="ZAssayFaultResult">
+        <include refid="selectZAssayFaultVo"/>
+        where fault_id = #{faultId} and del_flag = 0
+    </select>
+        
+    <insert id="insertZAssayFault" parameterType="ZAssayFault">
+        insert into z_assay_fault
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="faultId != null">fault_id,</if>
+            <if test="assayNo != null">assay_no,</if>
+            <if test="deviceNo != null">device_no,</if>
+            <if test="faultTime != null">fault_time,</if>
+            <if test="faultCode != null">fault_code,</if>
+            <if test="assayBigprocess != null">assay_bigprocess,</if>
+            <if test="assaySmallprocess != null">assay_smallprocess,</if>
+            <if test="testTubeInfo != null">test_tube_info,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="faultStatus != null">fault_status,</if>
+            <if test="version != null">version,</if>
+            <if test="stepName != null">step_name,</if>
+            <if test="stepTotal != null">step_total,</if>
+            <if test="stepNow != null">step_now,</if>
+            <if test="stepInfo1 != null">step_info1,</if>
+            <if test="stepInfo2 != null">step_info2,</if>
+            <if test="stepInfo3 != null">step_info3,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="faultId != null">#{faultId},</if>
+            <if test="assayNo != null">#{assayNo},</if>
+            <if test="deviceNo != null">#{deviceNo},</if>
+            <if test="faultTime != null">#{faultTime},</if>
+            <if test="faultCode != null">#{faultCode},</if>
+            <if test="assayBigprocess != null">#{assayBigprocess},</if>
+            <if test="assaySmallprocess != null">#{assaySmallprocess},</if>
+            <if test="testTubeInfo != null">#{testTubeInfo},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="faultStatus != null">#{faultStatus},</if>
+            <if test="version != null">#{version},</if>
+            <if test="stepName != null">#{stepName},</if>
+            <if test="stepTotal != null">#{stepTotal},</if>
+            <if test="stepNow != null">#{stepNow},</if>
+            <if test="stepInfo1 != null">#{stepInfo1},</if>
+            <if test="stepInfo2 != null">#{stepInfo2},</if>
+            <if test="stepInfo3 != null">#{stepInfo3},</if>
+         </trim>
+    </insert>
+
+    <update id="updateZAssayFault" parameterType="ZAssayFault">
+        update z_assay_fault
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="assayNo != null">assay_no = #{assayNo},</if>
+            <if test="deviceNo != null">device_no = #{deviceNo},</if>
+            <if test="faultTime != null">fault_time = #{faultTime},</if>
+            <if test="faultCode != null">fault_code = #{faultCode},</if>
+            <if test="assayBigprocess != null">assay_bigprocess = #{assayBigprocess},</if>
+            <if test="assaySmallprocess != null">assay_smallprocess = #{assaySmallprocess},</if>
+            <if test="testTubeInfo != null">test_tube_info = #{testTubeInfo},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="faultStatus != null">fault_status = #{faultStatus},</if>
+            <if test="version != null">version = #{version},</if>
+            <if test="stepName != null">step_name = #{stepName},</if>
+            <if test="stepTotal != null">step_total = #{stepTotal},</if>
+            <if test="stepNow != null">step_now = #{stepNow},</if>
+            <if test="stepInfo1 != null">step_info1 = #{stepInfo1},</if>
+            <if test="stepInfo2 != null">step_info2 = #{stepInfo2},</if>
+            <if test="stepInfo3 != null">step_info3 = #{stepInfo3},</if>
+        </trim>
+        ,revision = revision + 1
+        where fault_id = #{faultId}
+    </update>
+
+    
+
+    <delete id="deleteZAssayFaultByFaultId" parameterType="Long">
+        update z_assay_fault set del_flag = 2,revision = revision + 1 where del_flag = 0 and fault_id = #{faultId}
+    </delete>
+
+    <delete id="deleteZAssayFaultByFaultIds" parameterType="String">
+        update z_assay_fault set del_flag = 2,revision = revision + 1 where del_flag = 0 and fault_id in
+        <foreach item="faultId" collection="array" open="(" separator="," close=")">
+            #{faultId}
+        </foreach>
+    </delete>
+</mapper>

+ 164 - 0
src/main/resources/mapper/ZAssayMapper.xml

@@ -0,0 +1,164 @@
+<?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.xlht.xlhtproject.mapper.ZAssayMapper">
+    
+    <resultMap type="ZAssay" id="ZAssayResult">
+        <result property="assayId"    column="assay_id"    />
+        <result property="assayNo"    column="assay_no"    />
+        <result property="deviceNo"    column="device_no"    />
+        <result property="assayType"    column="assay_type"    />
+        <result property="assayBigprocess"    column="assay_bigprocess"    />
+        <result property="assaySmallprocess"    column="assay_smallprocess"    />
+        <result property="beginTime"    column="begin_time"    />
+        <result property="endTime"    column="end_time"    />
+        <result property="assayDate"    column="assay_date"    />
+        <result property="assayBy"    column="assay_by"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="version"    column="version"    />
+        <result property="stepName"    column="step_name"    />
+        <result property="stepTotal"    column="step_total"    />
+        <result property="stepNow"    column="step_now"    />
+        <result property="stepInfo1"    column="step_info1"    />
+        <result property="stepInfo2"    column="step_info2"    />
+        <result property="stepInfo3"    column="step_info3"    />
+        <result property="assayStatus"    column="assay_status"    />
+        <result property="assayMethod"    column="assay_method"    />
+    </resultMap>
+
+    <sql id="selectZAssayVo">
+        select assay_id, assay_no, device_no, assay_type, assay_bigprocess, assay_smallprocess, begin_time, end_time, assay_date, assay_by, create_by, create_time, update_by, update_time, version, step_name, step_total, step_now, step_info1, step_info2, step_info3, assay_status, assay_method from z_assay
+    </sql>
+
+    <select id="selectZAssayList" parameterType="ZAssay" resultMap="ZAssayResult">
+        <include refid="selectZAssayVo"/>
+        <where>
+            1 = 1
+            <if test="assayNo != null  and assayNo != ''"> and assay_no = #{assayNo}</if>
+            <if test="deviceNo != null  and deviceNo != ''"> and device_no = #{deviceNo}</if>
+            <if test="assayType != null  and assayType != ''"> and assay_type = #{assayType}</if>
+            <if test="assayBigprocess != null  and assayBigprocess != ''"> and assay_bigprocess = #{assayBigprocess}</if>
+            <if test="assaySmallprocess != null  and assaySmallprocess != ''"> and assay_smallprocess = #{assaySmallprocess}</if>
+            <if test="beginTime != null  and beginTime != ''"> and begin_time = #{beginTime}</if>
+            <if test="endTime != null  and endTime != ''"> and end_time = #{endTime}</if>
+            <if test="assayDate != null  and assayDate != ''"> and assay_date = #{assayDate}</if>
+            <if test="assayBy != null  and assayBy != ''"> and assay_by = #{assayBy}</if>
+            <if test="version != null  and version != ''"> and version = #{version}</if>
+            <if test="stepName != null  and stepName != ''"> and step_name like concat('%', #{stepName}, '%')</if>
+            <if test="stepTotal != null  and stepTotal != ''"> and step_total = #{stepTotal}</if>
+            <if test="stepNow != null  and stepNow != ''"> and step_now = #{stepNow}</if>
+            <if test="stepInfo1 != null  and stepInfo1 != ''"> and step_info1 = #{stepInfo1}</if>
+            <if test="stepInfo2 != null  and stepInfo2 != ''"> and step_info2 = #{stepInfo2}</if>
+            <if test="stepInfo3 != null  and stepInfo3 != ''"> and step_info3 = #{stepInfo3}</if>
+            <if test="assayStatus != null  and assayStatus != ''"> and assay_status = #{assayStatus}</if>
+            <if test="assayMethod != null  and assayMethod != ''"> and assay_method = #{assayMethod}</if>
+        </where>
+        and del_flag = 0 order by id desc
+    </select>
+    
+    <select id="selectZAssayByAssayId" parameterType="Long" resultMap="ZAssayResult">
+        <include refid="selectZAssayVo"/>
+        where assay_id = #{assayId} and del_flag = 0
+    </select>
+        
+    <insert id="insertZAssay" parameterType="ZAssay">
+        insert into z_assay
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="assayId != null">assay_id,</if>
+            <if test="assayNo != null">assay_no,</if>
+            <if test="deviceNo != null">device_no,</if>
+            <if test="assayType != null">assay_type,</if>
+            <if test="assayBigprocess != null">assay_bigprocess,</if>
+            <if test="assaySmallprocess != null">assay_smallprocess,</if>
+            <if test="beginTime != null">begin_time,</if>
+            <if test="endTime != null">end_time,</if>
+            <if test="assayDate != null">assay_date,</if>
+            <if test="assayBy != null">assay_by,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="version != null">version,</if>
+            <if test="stepName != null">step_name,</if>
+            <if test="stepTotal != null">step_total,</if>
+            <if test="stepNow != null">step_now,</if>
+            <if test="stepInfo1 != null">step_info1,</if>
+            <if test="stepInfo2 != null">step_info2,</if>
+            <if test="stepInfo3 != null">step_info3,</if>
+            <if test="assayStatus != null">assay_status,</if>
+            <if test="assayMethod != null">assay_method,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="assayId != null">#{assayId},</if>
+            <if test="assayNo != null">#{assayNo},</if>
+            <if test="deviceNo != null">#{deviceNo},</if>
+            <if test="assayType != null">#{assayType},</if>
+            <if test="assayBigprocess != null">#{assayBigprocess},</if>
+            <if test="assaySmallprocess != null">#{assaySmallprocess},</if>
+            <if test="beginTime != null">#{beginTime},</if>
+            <if test="endTime != null">#{endTime},</if>
+            <if test="assayDate != null">#{assayDate},</if>
+            <if test="assayBy != null">#{assayBy},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="version != null">#{version},</if>
+            <if test="stepName != null">#{stepName},</if>
+            <if test="stepTotal != null">#{stepTotal},</if>
+            <if test="stepNow != null">#{stepNow},</if>
+            <if test="stepInfo1 != null">#{stepInfo1},</if>
+            <if test="stepInfo2 != null">#{stepInfo2},</if>
+            <if test="stepInfo3 != null">#{stepInfo3},</if>
+            <if test="assayStatus != null">#{assayStatus},</if>
+            <if test="assayMethod != null">#{assayMethod},</if>
+         </trim>
+    </insert>
+
+    <update id="updateZAssay" parameterType="ZAssay">
+        update z_assay
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="assayNo != null">assay_no = #{assayNo},</if>
+            <if test="deviceNo != null">device_no = #{deviceNo},</if>
+            <if test="assayType != null">assay_type = #{assayType},</if>
+            <if test="assayBigprocess != null">assay_bigprocess = #{assayBigprocess},</if>
+            <if test="assaySmallprocess != null">assay_smallprocess = #{assaySmallprocess},</if>
+            <if test="beginTime != null">begin_time = #{beginTime},</if>
+            <if test="endTime != null">end_time = #{endTime},</if>
+            <if test="assayDate != null">assay_date = #{assayDate},</if>
+            <if test="assayBy != null">assay_by = #{assayBy},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="version != null">version = #{version},</if>
+            <if test="stepName != null">step_name = #{stepName},</if>
+            <if test="stepTotal != null">step_total = #{stepTotal},</if>
+            <if test="stepNow != null">step_now = #{stepNow},</if>
+            <if test="stepInfo1 != null">step_info1 = #{stepInfo1},</if>
+            <if test="stepInfo2 != null">step_info2 = #{stepInfo2},</if>
+            <if test="stepInfo3 != null">step_info3 = #{stepInfo3},</if>
+            <if test="assayStatus != null">assay_status = #{assayStatus},</if>
+            <if test="assayMethod != null">assay_method = #{assayMethod},</if>
+        </trim>
+        ,revision = revision + 1
+        where assay_id = #{assayId}
+    </update>
+
+    
+
+    <delete id="deleteZAssayByAssayId" parameterType="Long">
+        update z_assay set del_flag = 2,revision = revision + 1 where del_flag = 0 and assay_id = #{assayId}
+    </delete>
+
+    <delete id="deleteZAssayByAssayIds" parameterType="String">
+        update z_assay set del_flag = 2,revision = revision + 1 where del_flag = 0 and assay_id in
+        <foreach item="assayId" collection="array" open="(" separator="," close=")">
+            #{assayId}
+        </foreach>
+    </delete>
+</mapper>

+ 239 - 0
src/main/resources/mapper/ZAssayResultMapper.xml

@@ -0,0 +1,239 @@
+<?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.xlht.xlhtproject.mapper.ZAssayResultMapper">
+    
+    <resultMap type="ZAssayResult" id="ZAssayResultResult">
+        <result property="resultId"    column="result_id"    />
+        <result property="assayNo"    column="assay_no"    />
+        <result property="resultNo"    column="result_no"    />
+        <result property="sampleNo"    column="sample_no"    />
+        <result property="sampleVolume"    column="sample_volume"    />
+        <result property="deviceNo"    column="device_no"    />
+        <result property="assayItem"    column="assay_item"    />
+        <result property="resultConcentration"    column="result_concentration"    />
+        <result property="resultAbs"    column="result_abs"    />
+        <result property="resultDate"    column="result_date"    />
+        <result property="resultTime"    column="result_time"    />
+        <result property="curveK0"    column="curve_k0"    />
+        <result property="curveK1"    column="curve_k1"    />
+        <result property="curveId"    column="curve_id"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="j1901S01"    column="j_1901_s0_1"    />
+        <result property="j1901D01"    column="j_1901_d0_1"    />
+        <result property="j1901R01"    column="j_1901_R0_1"    />
+        <result property="j1901S1"    column="j_1901_s_1"    />
+        <result property="j1901D1"    column="j_1901_d_1"    />
+        <result property="j1901R1"    column="j_1901_r_1"    />
+        <result property="j1901S02"    column="j_1901_s0_2"    />
+        <result property="j1901D02"    column="j_1901_d0_2"    />
+        <result property="j1901R02"    column="j_1901_r0_2"    />
+        <result property="j1901S2"    column="j_1901_s_2"    />
+        <result property="j1901D2"    column="j_1901_d_2"    />
+        <result property="j1901R2"    column="j_1901_r_2"    />
+        <result property="assayType"    column="assay_type"    />
+        <result property="samplePost"    column="sample_post"    />
+        <result property="resultWendu"    column="result_wendu"    />
+        <result property="resultShidu"    column="result_shidu"    />
+        <result property="originalConcentration"    column="original_concentration"    />
+        <result property="curveNo"    column="curve_no"    />
+        <result property="readFlag"    column="read_flag"    />
+        <result property="tongbuZt"    column="tongbu_zt"    />
+    </resultMap>
+
+    <sql id="selectZAssayResultVo">
+        select result_id, assay_no, result_no, sample_no, sample_volume, device_no, assay_item, result_concentration, result_abs, result_date, result_time, curve_k0, curve_k1, curve_id, create_by, create_time, update_by, update_time, j_1901_s0_1, j_1901_d0_1, j_1901_R0_1, j_1901_s_1, j_1901_d_1, j_1901_r_1, j_1901_s0_2, j_1901_d0_2, j_1901_r0_2, j_1901_s_2, j_1901_d_2, j_1901_r_2, assay_type, sample_post, result_wendu, result_shidu, original_concentration, curve_no, read_flag, tongbu_zt from z_assay_result
+    </sql>
+
+    <select id="selectZAssayResultList" parameterType="ZAssayResult" resultMap="ZAssayResultResult">
+        <include refid="selectZAssayResultVo"/>
+        <where>
+            1 = 1
+            <if test="assayNo != null  and assayNo != ''"> and assay_no = #{assayNo}</if>
+            <if test="resultNo != null  and resultNo != ''"> and result_no = #{resultNo}</if>
+            <if test="sampleNo != null  and sampleNo != ''"> and sample_no = #{sampleNo}</if>
+            <if test="sampleVolume != null "> and sample_volume = #{sampleVolume}</if>
+            <if test="deviceNo != null  and deviceNo != ''"> and device_no = #{deviceNo}</if>
+            <if test="assayItem != null  and assayItem != ''"> and assay_item = #{assayItem}</if>
+            <if test="resultConcentration != null "> and result_concentration = #{resultConcentration}</if>
+            <if test="resultAbs != null "> and result_abs = #{resultAbs}</if>
+            <if test="resultDate != null  and resultDate != ''"> and result_date = #{resultDate}</if>
+            <if test="resultTime != null  and resultTime != ''"> and result_time = #{resultTime}</if>
+            <if test="curveK0 != null "> and curve_k0 = #{curveK0}</if>
+            <if test="curveK1 != null "> and curve_k1 = #{curveK1}</if>
+            <if test="curveId != null "> and curve_id = #{curveId}</if>
+            <if test="j1901S01 != null "> and j_1901_s0_1 = #{j1901S01}</if>
+            <if test="j1901D01 != null "> and j_1901_d0_1 = #{j1901D01}</if>
+            <if test="j1901R01 != null "> and j_1901_R0_1 = #{j1901R01}</if>
+            <if test="j1901S1 != null "> and j_1901_s_1 = #{j1901S1}</if>
+            <if test="j1901D1 != null "> and j_1901_d_1 = #{j1901D1}</if>
+            <if test="j1901R1 != null "> and j_1901_r_1 = #{j1901R1}</if>
+            <if test="j1901S02 != null "> and j_1901_s0_2 = #{j1901S02}</if>
+            <if test="j1901D02 != null "> and j_1901_d0_2 = #{j1901D02}</if>
+            <if test="j1901R02 != null "> and j_1901_r0_2 = #{j1901R02}</if>
+            <if test="j1901S2 != null "> and j_1901_s_2 = #{j1901S2}</if>
+            <if test="j1901D2 != null "> and j_1901_d_2 = #{j1901D2}</if>
+            <if test="j1901R2 != null "> and j_1901_r_2 = #{j1901R2}</if>
+            <if test="assayType != null  and assayType != ''"> and assay_type = #{assayType}</if>
+            <if test="samplePost != null "> and sample_post = #{samplePost}</if>
+            <if test="resultWendu != null "> and result_wendu = #{resultWendu}</if>
+            <if test="resultShidu != null "> and result_shidu = #{resultShidu}</if>
+            <if test="originalConcentration != null "> and original_concentration = #{originalConcentration}</if>
+            <if test="curveNo != null  and curveNo != ''"> and curve_no = #{curveNo}</if>
+            <if test="readFlag != null  and readFlag != ''"> and read_flag = #{readFlag}</if>
+            <if test="tongbuZt != null  and tongbuZt != ''"> and tongbu_zt = #{tongbuZt}</if>
+        </where>
+        and del_flag = 0 order by id desc
+    </select>
+    
+    <select id="selectZAssayResultByResultId" parameterType="Long" resultMap="ZAssayResultResult">
+        <include refid="selectZAssayResultVo"/>
+        where result_id = #{resultId} and del_flag = 0
+    </select>
+        
+    <insert id="insertZAssayResult" parameterType="ZAssayResult">
+        insert into z_assay_result
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="resultId != null">result_id,</if>
+            <if test="assayNo != null">assay_no,</if>
+            <if test="resultNo != null">result_no,</if>
+            <if test="sampleNo != null">sample_no,</if>
+            <if test="sampleVolume != null">sample_volume,</if>
+            <if test="deviceNo != null">device_no,</if>
+            <if test="assayItem != null">assay_item,</if>
+            <if test="resultConcentration != null">result_concentration,</if>
+            <if test="resultAbs != null">result_abs,</if>
+            <if test="resultDate != null">result_date,</if>
+            <if test="resultTime != null">result_time,</if>
+            <if test="curveK0 != null">curve_k0,</if>
+            <if test="curveK1 != null">curve_k1,</if>
+            <if test="curveId != null">curve_id,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="j1901S01 != null">j_1901_s0_1,</if>
+            <if test="j1901D01 != null">j_1901_d0_1,</if>
+            <if test="j1901R01 != null">j_1901_R0_1,</if>
+            <if test="j1901S1 != null">j_1901_s_1,</if>
+            <if test="j1901D1 != null">j_1901_d_1,</if>
+            <if test="j1901R1 != null">j_1901_r_1,</if>
+            <if test="j1901S02 != null">j_1901_s0_2,</if>
+            <if test="j1901D02 != null">j_1901_d0_2,</if>
+            <if test="j1901R02 != null">j_1901_r0_2,</if>
+            <if test="j1901S2 != null">j_1901_s_2,</if>
+            <if test="j1901D2 != null">j_1901_d_2,</if>
+            <if test="j1901R2 != null">j_1901_r_2,</if>
+            <if test="assayType != null">assay_type,</if>
+            <if test="samplePost != null">sample_post,</if>
+            <if test="resultWendu != null">result_wendu,</if>
+            <if test="resultShidu != null">result_shidu,</if>
+            <if test="originalConcentration != null">original_concentration,</if>
+            <if test="curveNo != null">curve_no,</if>
+            <if test="readFlag != null">read_flag,</if>
+            <if test="tongbuZt != null">tongbu_zt,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="resultId != null">#{resultId},</if>
+            <if test="assayNo != null">#{assayNo},</if>
+            <if test="resultNo != null">#{resultNo},</if>
+            <if test="sampleNo != null">#{sampleNo},</if>
+            <if test="sampleVolume != null">#{sampleVolume},</if>
+            <if test="deviceNo != null">#{deviceNo},</if>
+            <if test="assayItem != null">#{assayItem},</if>
+            <if test="resultConcentration != null">#{resultConcentration},</if>
+            <if test="resultAbs != null">#{resultAbs},</if>
+            <if test="resultDate != null">#{resultDate},</if>
+            <if test="resultTime != null">#{resultTime},</if>
+            <if test="curveK0 != null">#{curveK0},</if>
+            <if test="curveK1 != null">#{curveK1},</if>
+            <if test="curveId != null">#{curveId},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="j1901S01 != null">#{j1901S01},</if>
+            <if test="j1901D01 != null">#{j1901D01},</if>
+            <if test="j1901R01 != null">#{j1901R01},</if>
+            <if test="j1901S1 != null">#{j1901S1},</if>
+            <if test="j1901D1 != null">#{j1901D1},</if>
+            <if test="j1901R1 != null">#{j1901R1},</if>
+            <if test="j1901S02 != null">#{j1901S02},</if>
+            <if test="j1901D02 != null">#{j1901D02},</if>
+            <if test="j1901R02 != null">#{j1901R02},</if>
+            <if test="j1901S2 != null">#{j1901S2},</if>
+            <if test="j1901D2 != null">#{j1901D2},</if>
+            <if test="j1901R2 != null">#{j1901R2},</if>
+            <if test="assayType != null">#{assayType},</if>
+            <if test="samplePost != null">#{samplePost},</if>
+            <if test="resultWendu != null">#{resultWendu},</if>
+            <if test="resultShidu != null">#{resultShidu},</if>
+            <if test="originalConcentration != null">#{originalConcentration},</if>
+            <if test="curveNo != null">#{curveNo},</if>
+            <if test="readFlag != null">#{readFlag},</if>
+            <if test="tongbuZt != null">#{tongbuZt},</if>
+         </trim>
+    </insert>
+
+    <update id="updateZAssayResult" parameterType="ZAssayResult">
+        update z_assay_result
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="assayNo != null">assay_no = #{assayNo},</if>
+            <if test="resultNo != null">result_no = #{resultNo},</if>
+            <if test="sampleNo != null">sample_no = #{sampleNo},</if>
+            <if test="sampleVolume != null">sample_volume = #{sampleVolume},</if>
+            <if test="deviceNo != null">device_no = #{deviceNo},</if>
+            <if test="assayItem != null">assay_item = #{assayItem},</if>
+            <if test="resultConcentration != null">result_concentration = #{resultConcentration},</if>
+            <if test="resultAbs != null">result_abs = #{resultAbs},</if>
+            <if test="resultDate != null">result_date = #{resultDate},</if>
+            <if test="resultTime != null">result_time = #{resultTime},</if>
+            <if test="curveK0 != null">curve_k0 = #{curveK0},</if>
+            <if test="curveK1 != null">curve_k1 = #{curveK1},</if>
+            <if test="curveId != null">curve_id = #{curveId},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="j1901S01 != null">j_1901_s0_1 = #{j1901S01},</if>
+            <if test="j1901D01 != null">j_1901_d0_1 = #{j1901D01},</if>
+            <if test="j1901R01 != null">j_1901_R0_1 = #{j1901R01},</if>
+            <if test="j1901S1 != null">j_1901_s_1 = #{j1901S1},</if>
+            <if test="j1901D1 != null">j_1901_d_1 = #{j1901D1},</if>
+            <if test="j1901R1 != null">j_1901_r_1 = #{j1901R1},</if>
+            <if test="j1901S02 != null">j_1901_s0_2 = #{j1901S02},</if>
+            <if test="j1901D02 != null">j_1901_d0_2 = #{j1901D02},</if>
+            <if test="j1901R02 != null">j_1901_r0_2 = #{j1901R02},</if>
+            <if test="j1901S2 != null">j_1901_s_2 = #{j1901S2},</if>
+            <if test="j1901D2 != null">j_1901_d_2 = #{j1901D2},</if>
+            <if test="j1901R2 != null">j_1901_r_2 = #{j1901R2},</if>
+            <if test="assayType != null">assay_type = #{assayType},</if>
+            <if test="samplePost != null">sample_post = #{samplePost},</if>
+            <if test="resultWendu != null">result_wendu = #{resultWendu},</if>
+            <if test="resultShidu != null">result_shidu = #{resultShidu},</if>
+            <if test="originalConcentration != null">original_concentration = #{originalConcentration},</if>
+            <if test="curveNo != null">curve_no = #{curveNo},</if>
+            <if test="readFlag != null">read_flag = #{readFlag},</if>
+            <if test="tongbuZt != null">tongbu_zt = #{tongbuZt},</if>
+        </trim>
+        ,revision = revision + 1
+        where result_id = #{resultId}
+    </update>
+
+    
+
+    <delete id="deleteZAssayResultByResultId" parameterType="Long">
+        update z_assay_result set del_flag = 2,revision = revision + 1 where del_flag = 0 and result_id = #{resultId}
+    </delete>
+
+    <delete id="deleteZAssayResultByResultIds" parameterType="String">
+        update z_assay_result set del_flag = 2,revision = revision + 1 where del_flag = 0 and result_id in
+        <foreach item="resultId" collection="array" open="(" separator="," close=")">
+            #{resultId}
+        </foreach>
+    </delete>
+</mapper>