From 9b4d7fdbad22916159d59e2b61d6b957d66d7a8a Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Fri, 26 Sep 2025 11:03:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor(service):=E9=87=8D=E6=9E=84PdiSetup?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E4=B8=8E=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?-=20=E7=BB=A7=E6=89=BFIService=E6=8E=A5=E5=8F=A3=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8MyBatis-Plus=E5=A2=9E=E5=BC=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=20-=20=E7=BB=9F=E4=B8=80=E6=96=B9=E6=B3=95=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E8=A7=84=E8=8C=83=EF=BC=8C=E5=A6=82selectPdiSetupByID?= =?UTF-8?q?=E6=94=B9=E4=B8=BAselectPdiSetupByid=20-=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=B1=BB=E5=9E=8B=E4=B8=BABoolean=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E5=8D=87=E7=B1=BB=E5=9E=8B=E5=AE=89=E5=85=A8=E6=80=A7?= =?UTF-8?q?=20-=20=E6=9B=B4=E6=96=B0Mapper=E6=8E=A5=E5=8F=A3=E7=BB=A7?= =?UTF-8?q?=E6=89=BFBaseMapper=EF=BC=8C=E7=AE=80=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=AE=BF=E9=97=AE=E5=B1=82=E5=AE=9E=E7=8E=B0=20-=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96Controller=E5=B1=82=EF=BC=8C=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E6=9D=83=E9=99=90=E6=B3=A8=E8=A7=A3=EF=BC=8C=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=8F=82=E6=95=B0=E5=A4=84=E7=90=86=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=20-=20=E8=B0=83=E6=95=B4=E5=AE=9E=E4=BD=93=E7=B1=BBPdiSetups?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0MyBatis-Plus=E6=B3=A8=E8=A7=A3?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20-=20=E6=9B=B4=E6=96=B0=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E7=AD=BE=E5=90=8D=E5=8F=8A=E5=8F=82=E6=95=B0=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E8=A7=84=E8=8C=83=20-=E4=BF=AE=E6=AD=A3SetupTension?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E4=B8=8E=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=EF=BC=8C=E7=BB=9F=E4=B8=80=E5=8F=82=E6=95=B0=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/PdiSetupController.java | 18 +- .../controller/SetupTensionController.java | 25 +- .../controller/SetupTlController.java | 29 +- .../SetupTmBendforceController.java | 25 +- .../controller/SetupTmMeshController.java | 27 +- .../SetupTmRollforceController.java | 29 +- .../com/fizz/business/domain/PdiSetups.java | 302 +++--------------- .../fizz/business/domain/SetupTension.java | 216 +++++++++++-- .../com/fizz/business/domain/SetupTl.java | 166 +++++++++- .../business/domain/SetupTmBendforce.java | 82 ++++- .../com/fizz/business/domain/SetupTmMesh.java | 164 +++++++++- .../business/domain/SetupTmRollforce.java | 176 +++++++++- .../fizz/business/mapper/PdiSetupMapper.java | 16 +- .../business/mapper/SetupTensionMapper.java | 17 +- .../fizz/business/mapper/SetupTlMapper.java | 9 +- .../mapper/SetupTmBendforceMapper.java | 15 +- .../business/mapper/SetupTmMeshMapper.java | 9 +- .../mapper/SetupTmRollforceMapper.java | 10 +- .../business/service/IPdiSetupService.java | 21 +- .../service/ISetupTensionService.java | 16 +- .../business/service/ISetupTlService.java | 8 +- .../service/ISetupTmBendforceService.java | 14 +- .../business/service/ISetupTmMeshService.java | 6 +- .../service/ISetupTmRollforceService.java | 6 +- .../service/impl/PdiSetupServiceImpl.java | 41 +-- .../service/impl/SetupTensionServiceImpl.java | 22 +- .../service/impl/SetupTlServiceImpl.java | 12 +- .../impl/SetupTmBendforceServiceImpl.java | 20 +- .../service/impl/SetupTmMeshServiceImpl.java | 10 +- .../impl/SetupTmRollforceServiceImpl.java | 10 +- .../main/resources/mapper/PdiSetupMapper.xml | 12 +- .../resources/mapper/SetupTensionMapper.xml | 142 -------- .../main/resources/mapper/SetupTlMapper.xml | 121 ------- .../mapper/SetupTmBendforceMapper.xml | 87 ----- .../resources/mapper/SetupTmMeshMapper.xml | 121 ------- .../mapper/SetupTmRollforceMapper.xml | 125 -------- 36 files changed, 979 insertions(+), 1150 deletions(-) delete mode 100644 business/src/main/resources/mapper/SetupTensionMapper.xml delete mode 100644 business/src/main/resources/mapper/SetupTlMapper.xml delete mode 100644 business/src/main/resources/mapper/SetupTmBendforceMapper.xml delete mode 100644 business/src/main/resources/mapper/SetupTmMeshMapper.xml delete mode 100644 business/src/main/resources/mapper/SetupTmRollforceMapper.xml diff --git a/business/src/main/java/com/fizz/business/controller/PdiSetupController.java b/business/src/main/java/com/fizz/business/controller/PdiSetupController.java index 63e44df..ab1203a 100644 --- a/business/src/main/java/com/fizz/business/controller/PdiSetupController.java +++ b/business/src/main/java/com/fizz/business/controller/PdiSetupController.java @@ -39,7 +39,6 @@ public class PdiSetupController extends BaseController /** * 查询生产计划的参数详情列表 */ - @PreAuthorize("@ss.hasPermi('business:setup:list')") @GetMapping("/list") public TableDataInfo list(PdiSetups pdiSetup) { @@ -51,7 +50,6 @@ public class PdiSetupController extends BaseController /** * 导出生产计划的参数详情列表 */ - @PreAuthorize("@ss.hasPermi('business:setup:export')") @Log(title = "生产计划的参数详情", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, PdiSetups pdiSetup) @@ -64,17 +62,15 @@ public class PdiSetupController extends BaseController /** * 获取生产计划的参数详情详细信息 */ - @PreAuthorize("@ss.hasPermi('business:setup:query')") - @GetMapping(value = "/{ID}") - public AjaxResult getInfo(@PathVariable("ID") Long ID) + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) { - return success(pdiSetupService.selectPdiSetupByID(ID)); + return success(pdiSetupService.selectPdiSetupByid(id)); } /** * 新增生产计划的参数详情 */ - @PreAuthorize("@ss.hasPermi('business:setup:add')") @Log(title = "生产计划的参数详情", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody PdiSetups pdiSetup) @@ -85,7 +81,6 @@ public class PdiSetupController extends BaseController /** * 修改生产计划的参数详情 */ - @PreAuthorize("@ss.hasPermi('business:setup:edit')") @Log(title = "生产计划的参数详情", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody PdiSetups pdiSetup) @@ -96,11 +91,10 @@ public class PdiSetupController extends BaseController /** * 删除生产计划的参数详情 */ - @PreAuthorize("@ss.hasPermi('business:setup:remove')") @Log(title = "生产计划的参数详情", businessType = BusinessType.DELETE) - @DeleteMapping("/{IDs}") - public AjaxResult remove(@PathVariable Long[] IDs) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) { - return toAjax(pdiSetupService.deletePdiSetupByIDs(IDs)); + return toAjax(pdiSetupService.deletePdiSetupByids(ids)); } } diff --git a/business/src/main/java/com/fizz/business/controller/SetupTensionController.java b/business/src/main/java/com/fizz/business/controller/SetupTensionController.java index 8a18431..1e49f26 100644 --- a/business/src/main/java/com/fizz/business/controller/SetupTensionController.java +++ b/business/src/main/java/com/fizz/business/controller/SetupTensionController.java @@ -4,14 +4,7 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -24,8 +17,8 @@ import com.ruoyi.common.core.page.TableDataInfo; /** * 全线张力Controller * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ @RestController @RequestMapping("/business/tension") @@ -60,10 +53,10 @@ public class SetupTensionController extends BaseController /** * 获取全线张力详细信息 */ - @GetMapping(value = "/{THICK}") - public AjaxResult getInfo(@PathVariable("THICK") Long THICK) + @GetMapping() + public AjaxResult getInfo(@RequestParam Long thick ,@RequestParam Long yieldStren) { - return success(setupTensionService.selectSetupTensionByTHICK(THICK)); + return success(setupTensionService.selectSetupTensionByThick(thick, yieldStren)); } /** @@ -90,9 +83,9 @@ public class SetupTensionController extends BaseController * 删除全线张力 */ @Log(title = "全线张力", businessType = BusinessType.DELETE) - @DeleteMapping("/{THICKs}") - public AjaxResult remove(@PathVariable Long[] THICKs) + @DeleteMapping() + public AjaxResult remove(@RequestParam Long[] thicks,@RequestParam Long[] yieldStrens) { - return toAjax(setupTensionService.deleteSetupTensionByTHICKs(THICKs)); + return toAjax(setupTensionService.deleteSetupTensionByThicks(thicks, yieldStrens)); } } diff --git a/business/src/main/java/com/fizz/business/controller/SetupTlController.java b/business/src/main/java/com/fizz/business/controller/SetupTlController.java index 5fdea78..c6b4d23 100644 --- a/business/src/main/java/com/fizz/business/controller/SetupTlController.java +++ b/business/src/main/java/com/fizz/business/controller/SetupTlController.java @@ -4,14 +4,7 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -24,8 +17,8 @@ import com.ruoyi.common.core.page.TableDataInfo; /** * 拉矫机参数Controller * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ @RestController @RequestMapping("/business/tl") @@ -60,10 +53,12 @@ public class SetupTlController extends BaseController /** * 获取拉矫机参数详细信息 */ - @GetMapping(value = "/{steelGrade}") - public AjaxResult getInfo(@PathVariable("steelGrade") String steelGrade) + @GetMapping() + public AjaxResult getInfo(@RequestParam String steelGrade, + @RequestParam Long yieldStren, + @RequestParam Long thick) { - return success(setupTlService.selectSetupTlBySteelGrade(steelGrade)); + return success(setupTlService.selectSetupTlBySteelGrade(steelGrade, yieldStren, thick)); } /** @@ -90,9 +85,11 @@ public class SetupTlController extends BaseController * 删除拉矫机参数 */ @Log(title = "拉矫机参数", businessType = BusinessType.DELETE) - @DeleteMapping("/{steelGrades}") - public AjaxResult remove(@PathVariable String[] steelGrades) + @DeleteMapping() + public AjaxResult remove(@RequestParam String[] steelGrades, + @RequestParam Long[] yieldStrens, + @RequestParam Long[] thicks) { - return toAjax(setupTlService.deleteSetupTlBySteelGrades(steelGrades)); + return toAjax(setupTlService.deleteSetupTlBySteelGrades(steelGrades, yieldStrens, thicks)); } } diff --git a/business/src/main/java/com/fizz/business/controller/SetupTmBendforceController.java b/business/src/main/java/com/fizz/business/controller/SetupTmBendforceController.java index c136d38..bae77c4 100644 --- a/business/src/main/java/com/fizz/business/controller/SetupTmBendforceController.java +++ b/business/src/main/java/com/fizz/business/controller/SetupTmBendforceController.java @@ -4,14 +4,7 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -25,7 +18,7 @@ import com.ruoyi.common.core.page.TableDataInfo; * 光整机弯辊力Controller * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ @RestController @RequestMapping("/business/bendforce") @@ -60,10 +53,11 @@ public class SetupTmBendforceController extends BaseController /** * 获取光整机弯辊力详细信息 */ - @GetMapping(value = "/{WIDTH}") - public AjaxResult getInfo(@PathVariable("WIDTH") Long WIDTH) + @GetMapping() + public AjaxResult getInfo(@RequestParam Long width, + @RequestParam Long rollForce) { - return success(setupTmBendforceService.selectSetupTmBendforceByWIDTH(WIDTH)); + return success(setupTmBendforceService.selectSetupTmBendforceByWidth(width,rollForce)); } /** @@ -90,9 +84,10 @@ public class SetupTmBendforceController extends BaseController * 删除光整机弯辊力 */ @Log(title = "光整机弯辊力", businessType = BusinessType.DELETE) - @DeleteMapping("/{WIDTHs}") - public AjaxResult remove(@PathVariable Long[] WIDTHs) + @DeleteMapping() + public AjaxResult remove(@RequestParam Long[] widths, + @RequestParam Long[] rollForces) { - return toAjax(setupTmBendforceService.deleteSetupTmBendforceByWIDTHs(WIDTHs)); + return toAjax(setupTmBendforceService.deleteSetupTmBendforceByWidths(widths,rollForces)); } } diff --git a/business/src/main/java/com/fizz/business/controller/SetupTmMeshController.java b/business/src/main/java/com/fizz/business/controller/SetupTmMeshController.java index 20176de..76983f9 100644 --- a/business/src/main/java/com/fizz/business/controller/SetupTmMeshController.java +++ b/business/src/main/java/com/fizz/business/controller/SetupTmMeshController.java @@ -4,14 +4,7 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -25,7 +18,7 @@ import com.ruoyi.common.core.page.TableDataInfo; * 光整机插入量Controller * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ @RestController @RequestMapping("/business/mesh") @@ -60,10 +53,12 @@ public class SetupTmMeshController extends BaseController /** * 获取光整机插入量详细信息 */ - @GetMapping(value = "/{steelGrade}") - public AjaxResult getInfo(@PathVariable("steelGrade") String steelGrade) + @GetMapping() + public AjaxResult getInfo(@RequestParam String steelGrade, + @RequestParam Long yieldStren, + @RequestParam Long thick) { - return success(setupTmMeshService.selectSetupTmMeshBySteelGrade(steelGrade)); + return success(setupTmMeshService.selectSetupTmMeshBySteelGrade(steelGrade, yieldStren, thick)); } /** @@ -90,9 +85,11 @@ public class SetupTmMeshController extends BaseController * 删除光整机插入量 */ @Log(title = "光整机插入量", businessType = BusinessType.DELETE) - @DeleteMapping("/{steelGrades}") - public AjaxResult remove(@PathVariable String[] steelGrades) + @DeleteMapping() + public AjaxResult remove( @RequestParam String[] steelGrades, + @RequestParam Long[] yieldStrens, + @RequestParam Long[] thicks) { - return toAjax(setupTmMeshService.deleteSetupTmMeshBySteelGrades(steelGrades)); + return toAjax(setupTmMeshService.deleteSetupTmMeshBySteelGrades(steelGrades, yieldStrens, thicks)); } } diff --git a/business/src/main/java/com/fizz/business/controller/SetupTmRollforceController.java b/business/src/main/java/com/fizz/business/controller/SetupTmRollforceController.java index 45e34cf..318d93c 100644 --- a/business/src/main/java/com/fizz/business/controller/SetupTmRollforceController.java +++ b/business/src/main/java/com/fizz/business/controller/SetupTmRollforceController.java @@ -4,14 +4,7 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -25,7 +18,7 @@ import com.ruoyi.common.core.page.TableDataInfo; * 光整机轧制力Controller * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ @RestController @RequestMapping("/business/rollforce") @@ -60,10 +53,13 @@ public class SetupTmRollforceController extends BaseController /** * 获取光整机轧制力详细信息 */ - @GetMapping(value = "/{steelGrade}") - public AjaxResult getInfo(@PathVariable("steelGrade") String steelGrade) + @GetMapping() + public AjaxResult getInfo(@RequestParam String steelGrade, + @RequestParam Long yieldStren, + @RequestParam Long thick, + @RequestParam Long elong) { - return success(setupTmRollforceService.selectSetupTmRollforceBySteelGrade(steelGrade)); + return success(setupTmRollforceService.selectSetupTmRollforceBySteelGrade(steelGrade, yieldStren, thick, elong)); } /** @@ -90,9 +86,12 @@ public class SetupTmRollforceController extends BaseController * 删除光整机轧制力 */ @Log(title = "光整机轧制力", businessType = BusinessType.DELETE) - @DeleteMapping("/{steelGrades}") - public AjaxResult remove(@PathVariable String[] steelGrades) + @DeleteMapping() + public AjaxResult remove(@RequestParam String[] steelGrades, + @RequestParam Long[] thicks, + @RequestParam Long[] yieldStrens, + @RequestParam Long[] elongs) { - return toAjax(setupTmRollforceService.deleteSetupTmRollforceBySteelGrades(steelGrades)); + return toAjax(setupTmRollforceService.deleteSetupTmRollforceBySteelGrades(steelGrades, thicks, yieldStrens, elongs)); } } diff --git a/business/src/main/java/com/fizz/business/domain/PdiSetups.java b/business/src/main/java/com/fizz/business/domain/PdiSetups.java index 2215afd..cc43376 100644 --- a/business/src/main/java/com/fizz/business/domain/PdiSetups.java +++ b/business/src/main/java/com/fizz/business/domain/PdiSetups.java @@ -1,5 +1,10 @@ package com.fizz.business.domain; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -7,369 +12,138 @@ import com.ruoyi.common.core.domain.BaseEntity; /** * 生产计划的参数详情对象 pdi_setup - * + * * @author Joshi * @date 2025-09-25 */ +@Data +@TableName("pdi_setup") public class PdiSetups extends BaseEntity { private static final long serialVersionUID = 1L; - /** $column.columnComment */ - private Long ID; + /** 主键ID */ + @TableId(value = "ID", type = IdType.AUTO) + private Long id; /** 钢卷号 */ @Excel(name = "钢卷号") - private String COILID; + @TableField("COILID") + private String coilid; /** 计划号 */ @Excel(name = "计划号") - private String PLANID; + @TableField("PLANID") + private String planid; /** 开卷机张力 */ @Excel(name = "开卷机张力") + @TableField("POR_TENSION") private Long porTension; /** 入口活套张力 */ @Excel(name = "入口活套张力") + @TableField("CEL_TENSION") private Long celTension; /** 清洗段张力 */ @Excel(name = "清洗段张力") + @TableField("CLEAN_TENSION") private Long cleanTension; /** 炉区张力 */ @Excel(name = "炉区张力") + @TableField("FUR_TENSION") private Long furTension; /** 冷却塔张力 */ @Excel(name = "冷却塔张力") + @TableField("TOWER_TENSION") private Long towerTension; /** 光整机不投张力 */ @Excel(name = "光整机不投张力") + @TableField("TM_NONE_TENSION") private Long tmNoneTension; /** 光整机入口张力 */ @Excel(name = "光整机入口张力") + @TableField("TM_ENTRY_TENSION") private Long tmEntryTension; /** 光整机出口张力 */ @Excel(name = "光整机出口张力") + @TableField("TM_EXIT_TENSION") private Long tmExitTension; /** 光整机轧制力 */ @Excel(name = "光整机轧制力") + @TableField("TM_ROLLFORCE") private Long tmRollforce; /** 光整机弯辊力 */ @Excel(name = "光整机弯辊力") + @TableField("TM_BENDFORCE") private Long tmBendforce; /** 光整机防皱辊插入量 */ @Excel(name = "光整机防皱辊插入量") + @TableField("TM_ACR_MESH") private Long tmAcrMesh; /** 光整机防颤辊插入量 */ @Excel(name = "光整机防颤辊插入量") + @TableField("TM_BR_MESH") private Long tmBrMesh; /** 拉矫机不投张力 */ @Excel(name = "拉矫机不投张力") + @TableField("TL_NONE_TENSION") private Long tlNoneTension; /** 拉矫机出口张力 */ @Excel(name = "拉矫机出口张力") + @TableField("TL_EXIT_TENSION") private Long tlExitTension; /** 拉矫机延伸率 */ @Excel(name = "拉矫机延伸率") + @TableField("TL_ELONG") private Long tlElong; /** 拉矫机矫直辊插入量1 */ @Excel(name = "拉矫机矫直辊插入量1") + @TableField("TL_LVL_MESH1") private Long tlLvlMesh1; /** 拉矫机矫直辊插入量2 */ @Excel(name = "拉矫机矫直辊插入量2") + @TableField("TL_LVL_MESH2") private Long tlLvlMesh2; /** 拉矫机防横弓插入量 */ @Excel(name = "拉矫机防横弓插入量") + @TableField("TL_ACB_MESH") private Long tlAcbMesh; /** 后处理张力 */ @Excel(name = "后处理张力") + @TableField("COAT_TENSION") private Long coatTension; /** 出口活套张力 */ @Excel(name = "出口活套张力") + @TableField("CXL_TENSION") private Long cxlTension; /** 卷取机张力 */ @Excel(name = "卷取机张力") + @TableField("TR_TENSION") private Long trTension; /** 类型,或可用于记录更改次数 */ @Excel(name = "类型,或可用于记录更改次数") - private Long TYPE; + @TableField("TYPE") + private Long type; - public void setID(Long ID) - { - this.ID = ID; - } - - public Long getID() - { - return ID; - } - public void setCOILID(String COILID) - { - this.COILID = COILID; - } - - public String getCOILID() - { - return COILID; - } - public void setPLANID(String PLANID) - { - this.PLANID = PLANID; - } - - public String getPLANID() - { - return PLANID; - } - public void setPorTension(Long porTension) - { - this.porTension = porTension; - } - - public Long getPorTension() - { - return porTension; - } - public void setCelTension(Long celTension) - { - this.celTension = celTension; - } - - public Long getCelTension() - { - return celTension; - } - public void setCleanTension(Long cleanTension) - { - this.cleanTension = cleanTension; - } - - public Long getCleanTension() - { - return cleanTension; - } - public void setFurTension(Long furTension) - { - this.furTension = furTension; - } - - public Long getFurTension() - { - return furTension; - } - public void setTowerTension(Long towerTension) - { - this.towerTension = towerTension; - } - - public Long getTowerTension() - { - return towerTension; - } - public void setTmNoneTension(Long tmNoneTension) - { - this.tmNoneTension = tmNoneTension; - } - - public Long getTmNoneTension() - { - return tmNoneTension; - } - public void setTmEntryTension(Long tmEntryTension) - { - this.tmEntryTension = tmEntryTension; - } - - public Long getTmEntryTension() - { - return tmEntryTension; - } - public void setTmExitTension(Long tmExitTension) - { - this.tmExitTension = tmExitTension; - } - - public Long getTmExitTension() - { - return tmExitTension; - } - public void setTmRollforce(Long tmRollforce) - { - this.tmRollforce = tmRollforce; - } - - public Long getTmRollforce() - { - return tmRollforce; - } - public void setTmBendforce(Long tmBendforce) - { - this.tmBendforce = tmBendforce; - } - - public Long getTmBendforce() - { - return tmBendforce; - } - public void setTmAcrMesh(Long tmAcrMesh) - { - this.tmAcrMesh = tmAcrMesh; - } - - public Long getTmAcrMesh() - { - return tmAcrMesh; - } - public void setTmBrMesh(Long tmBrMesh) - { - this.tmBrMesh = tmBrMesh; - } - - public Long getTmBrMesh() - { - return tmBrMesh; - } - public void setTlNoneTension(Long tlNoneTension) - { - this.tlNoneTension = tlNoneTension; - } - - public Long getTlNoneTension() - { - return tlNoneTension; - } - public void setTlExitTension(Long tlExitTension) - { - this.tlExitTension = tlExitTension; - } - - public Long getTlExitTension() - { - return tlExitTension; - } - public void setTlElong(Long tlElong) - { - this.tlElong = tlElong; - } - - public Long getTlElong() - { - return tlElong; - } - public void setTlLvlMesh1(Long tlLvlMesh1) - { - this.tlLvlMesh1 = tlLvlMesh1; - } - - public Long getTlLvlMesh1() - { - return tlLvlMesh1; - } - public void setTlLvlMesh2(Long tlLvlMesh2) - { - this.tlLvlMesh2 = tlLvlMesh2; - } - - public Long getTlLvlMesh2() - { - return tlLvlMesh2; - } - public void setTlAcbMesh(Long tlAcbMesh) - { - this.tlAcbMesh = tlAcbMesh; - } - - public Long getTlAcbMesh() - { - return tlAcbMesh; - } - public void setCoatTension(Long coatTension) - { - this.coatTension = coatTension; - } - - public Long getCoatTension() - { - return coatTension; - } - public void setCxlTension(Long cxlTension) - { - this.cxlTension = cxlTension; - } - - public Long getCxlTension() - { - return cxlTension; - } - public void setTrTension(Long trTension) - { - this.trTension = trTension; - } - - public Long getTrTension() - { - return trTension; - } - public void setTYPE(Long TYPE) - { - this.TYPE = TYPE; - } - - public Long getTYPE() - { - return TYPE; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("ID", getID()) - .append("COILID", getCOILID()) - .append("PLANID", getPLANID()) - .append("porTension", getPorTension()) - .append("celTension", getCelTension()) - .append("cleanTension", getCleanTension()) - .append("furTension", getFurTension()) - .append("towerTension", getTowerTension()) - .append("tmNoneTension", getTmNoneTension()) - .append("tmEntryTension", getTmEntryTension()) - .append("tmExitTension", getTmExitTension()) - .append("tmRollforce", getTmRollforce()) - .append("tmBendforce", getTmBendforce()) - .append("tmAcrMesh", getTmAcrMesh()) - .append("tmBrMesh", getTmBrMesh()) - .append("tlNoneTension", getTlNoneTension()) - .append("tlExitTension", getTlExitTension()) - .append("tlElong", getTlElong()) - .append("tlLvlMesh1", getTlLvlMesh1()) - .append("tlLvlMesh2", getTlLvlMesh2()) - .append("tlAcbMesh", getTlAcbMesh()) - .append("coatTension", getCoatTension()) - .append("cxlTension", getCxlTension()) - .append("trTension", getTrTension()) - .append("createTime", getCreateTime()) - .append("updateTime", getUpdateTime()) - .append("TYPE", getTYPE()) - .toString(); - } } diff --git a/business/src/main/java/com/fizz/business/domain/SetupTension.java b/business/src/main/java/com/fizz/business/domain/SetupTension.java index d61980a..c440d5d 100644 --- a/business/src/main/java/com/fizz/business/domain/SetupTension.java +++ b/business/src/main/java/com/fizz/business/domain/SetupTension.java @@ -1,6 +1,5 @@ package com.fizz.business.domain; -import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -9,78 +8,255 @@ import com.ruoyi.common.core.domain.BaseEntity; /** * 全线张力对象 setup_tension * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ -@Data public class SetupTension extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ - private Long THICK; + private Long thick; /** 强度 */ private Long yieldStren; /** 开卷机张力 */ @Excel(name = "开卷机张力") - private Long VALUE1; + private Long value1; /** 入口活套 */ @Excel(name = "入口活套") - private Long VALUE2; + private Long value2; /** 清洗段 */ @Excel(name = "清洗段") - private Long VALUE3; + private Long value3; /** 炉区张力 */ @Excel(name = "炉区张力") - private Long VALUE4; + private Long value4; /** 冷却塔 */ @Excel(name = "冷却塔") - private Long VALUE5; + private Long value5; /** 光整机-不投 */ @Excel(name = "光整机-不投") - private Long VALUE6; + private Long value6; /** 光整机入口 */ @Excel(name = "光整机入口") - private Long VALUE7; + private Long value7; /** 光整机出口 */ @Excel(name = "光整机出口") - private Long VALUE8; + private Long value8; /** 拉矫机-不投 */ @Excel(name = "拉矫机-不投") - private Long VALUE9; + private Long value9; /** 拉矫机出口 */ @Excel(name = "拉矫机出口") - private Long VALUE10; + private Long value10; /** 后处理 */ @Excel(name = "后处理") - private Long VALUE11; + private Long value11; /** 出口活套 */ @Excel(name = "出口活套") - private Long VALUE12; + private Long value12; /** 卷取机 */ @Excel(name = "卷取机") - private Long VALUE13; + private Long value13; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE14; + private Long value14; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE15; + private Long value15; + public void setThick(Long thick) + { + this.thick = thick; + } + + public Long getThick() + { + return thick; + } + public void setYieldStren(Long yieldStren) + { + this.yieldStren = yieldStren; + } + + public Long getYieldStren() + { + return yieldStren; + } + public void setValue1(Long value1) + { + this.value1 = value1; + } + + public Long getValue1() + { + return value1; + } + public void setValue2(Long value2) + { + this.value2 = value2; + } + + public Long getValue2() + { + return value2; + } + public void setValue3(Long value3) + { + this.value3 = value3; + } + + public Long getValue3() + { + return value3; + } + public void setValue4(Long value4) + { + this.value4 = value4; + } + + public Long getValue4() + { + return value4; + } + public void setValue5(Long value5) + { + this.value5 = value5; + } + + public Long getValue5() + { + return value5; + } + public void setValue6(Long value6) + { + this.value6 = value6; + } + + public Long getValue6() + { + return value6; + } + public void setValue7(Long value7) + { + this.value7 = value7; + } + + public Long getValue7() + { + return value7; + } + public void setValue8(Long value8) + { + this.value8 = value8; + } + + public Long getValue8() + { + return value8; + } + public void setValue9(Long value9) + { + this.value9 = value9; + } + + public Long getValue9() + { + return value9; + } + public void setValue10(Long value10) + { + this.value10 = value10; + } + + public Long getValue10() + { + return value10; + } + public void setValue11(Long value11) + { + this.value11 = value11; + } + + public Long getValue11() + { + return value11; + } + public void setValue12(Long value12) + { + this.value12 = value12; + } + + public Long getValue12() + { + return value12; + } + public void setValue13(Long value13) + { + this.value13 = value13; + } + + public Long getValue13() + { + return value13; + } + public void setValue14(Long value14) + { + this.value14 = value14; + } + + public Long getValue14() + { + return value14; + } + public void setValue15(Long value15) + { + this.value15 = value15; + } + + public Long getValue15() + { + return value15; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("thick", getThick()) + .append("yieldStren", getYieldStren()) + .append("value1", getValue1()) + .append("value2", getValue2()) + .append("value3", getValue3()) + .append("value4", getValue4()) + .append("value5", getValue5()) + .append("value6", getValue6()) + .append("value7", getValue7()) + .append("value8", getValue8()) + .append("value9", getValue9()) + .append("value10", getValue10()) + .append("value11", getValue11()) + .append("value12", getValue12()) + .append("value13", getValue13()) + .append("value14", getValue14()) + .append("value15", getValue15()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .toString(); + } } diff --git a/business/src/main/java/com/fizz/business/domain/SetupTl.java b/business/src/main/java/com/fizz/business/domain/SetupTl.java index f24bc30..a9d9e68 100644 --- a/business/src/main/java/com/fizz/business/domain/SetupTl.java +++ b/business/src/main/java/com/fizz/business/domain/SetupTl.java @@ -1,6 +1,5 @@ package com.fizz.business.domain; -import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -9,10 +8,9 @@ import com.ruoyi.common.core.domain.BaseEntity; /** * 拉矫机参数对象 setup_tl * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ -@Data public class SetupTl extends BaseEntity { private static final long serialVersionUID = 1L; @@ -24,46 +22,184 @@ public class SetupTl extends BaseEntity private Long yieldStren; /** $column.columnComment */ - private Long THICK; + private Long thick; /** 延伸率 */ @Excel(name = "延伸率") - private Long VALUE1; + private Long value1; /** 矫直辊插入量1 */ @Excel(name = "矫直辊插入量1") - private Long VALUE2; + private Long value2; /** 矫直辊插入量2 */ @Excel(name = "矫直辊插入量2") - private Long VALUE3; + private Long value3; /** 防横弓插入量 */ @Excel(name = "防横弓插入量") - private Long VALUE4; + private Long value4; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE5; + private Long value5; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE6; + private Long value6; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE7; + private Long value7; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE8; + private Long value8; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE9; + private Long value9; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE10; + private Long value10; + public void setSteelGrade(String steelGrade) + { + this.steelGrade = steelGrade; + } + + public String getSteelGrade() + { + return steelGrade; + } + public void setYieldStren(Long yieldStren) + { + this.yieldStren = yieldStren; + } + + public Long getYieldStren() + { + return yieldStren; + } + public void setThick(Long thick) + { + this.thick = thick; + } + + public Long getThick() + { + return thick; + } + public void setValue1(Long value1) + { + this.value1 = value1; + } + + public Long getValue1() + { + return value1; + } + public void setValue2(Long value2) + { + this.value2 = value2; + } + + public Long getValue2() + { + return value2; + } + public void setValue3(Long value3) + { + this.value3 = value3; + } + + public Long getValue3() + { + return value3; + } + public void setValue4(Long value4) + { + this.value4 = value4; + } + + public Long getValue4() + { + return value4; + } + public void setValue5(Long value5) + { + this.value5 = value5; + } + + public Long getValue5() + { + return value5; + } + public void setValue6(Long value6) + { + this.value6 = value6; + } + + public Long getValue6() + { + return value6; + } + public void setValue7(Long value7) + { + this.value7 = value7; + } + + public Long getValue7() + { + return value7; + } + public void setValue8(Long value8) + { + this.value8 = value8; + } + + public Long getValue8() + { + return value8; + } + public void setValue9(Long value9) + { + this.value9 = value9; + } + + public Long getValue9() + { + return value9; + } + public void setValue10(Long value10) + { + this.value10 = value10; + } + + public Long getValue10() + { + return value10; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("steelGrade", getSteelGrade()) + .append("yieldStren", getYieldStren()) + .append("thick", getThick()) + .append("value1", getValue1()) + .append("value2", getValue2()) + .append("value3", getValue3()) + .append("value4", getValue4()) + .append("value5", getValue5()) + .append("value6", getValue6()) + .append("value7", getValue7()) + .append("value8", getValue8()) + .append("value9", getValue9()) + .append("value10", getValue10()) + .append("updateTime", getUpdateTime()) + .append("createTime", getCreateTime()) + .toString(); + } } diff --git a/business/src/main/java/com/fizz/business/domain/SetupTmBendforce.java b/business/src/main/java/com/fizz/business/domain/SetupTmBendforce.java index 20f1ee7..2446848 100644 --- a/business/src/main/java/com/fizz/business/domain/SetupTmBendforce.java +++ b/business/src/main/java/com/fizz/business/domain/SetupTmBendforce.java @@ -1,6 +1,5 @@ package com.fizz.business.domain; -import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -10,33 +9,100 @@ import com.ruoyi.common.core.domain.BaseEntity; * 光整机弯辊力对象 setup_tm_bendforce * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ -@Data public class SetupTmBendforce extends BaseEntity { private static final long serialVersionUID = 1L; /** 宽度 */ - private Long WIDTH; + private Long width; /** 轧制力 */ private Long rollForce; /** 弯辊力 */ @Excel(name = "弯辊力") - private Long VALUE1; + private Long value1; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE2; + private Long value2; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE3; + private Long value3; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE4; + private Long value4; + public void setWidth(Long width) + { + this.width = width; + } + + public Long getWidth() + { + return width; + } + public void setRollForce(Long rollForce) + { + this.rollForce = rollForce; + } + + public Long getRollForce() + { + return rollForce; + } + public void setValue1(Long value1) + { + this.value1 = value1; + } + + public Long getValue1() + { + return value1; + } + public void setValue2(Long value2) + { + this.value2 = value2; + } + + public Long getValue2() + { + return value2; + } + public void setValue3(Long value3) + { + this.value3 = value3; + } + + public Long getValue3() + { + return value3; + } + public void setValue4(Long value4) + { + this.value4 = value4; + } + + public Long getValue4() + { + return value4; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("width", getWidth()) + .append("rollForce", getRollForce()) + .append("value1", getValue1()) + .append("value2", getValue2()) + .append("value3", getValue3()) + .append("value4", getValue4()) + .append("updateTime", getUpdateTime()) + .append("createTime", getCreateTime()) + .toString(); + } } diff --git a/business/src/main/java/com/fizz/business/domain/SetupTmMesh.java b/business/src/main/java/com/fizz/business/domain/SetupTmMesh.java index f8289ec..b50bf91 100644 --- a/business/src/main/java/com/fizz/business/domain/SetupTmMesh.java +++ b/business/src/main/java/com/fizz/business/domain/SetupTmMesh.java @@ -1,6 +1,5 @@ package com.fizz.business.domain; -import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -10,9 +9,8 @@ import com.ruoyi.common.core.domain.BaseEntity; * 光整机插入量对象 setup_tm_mesh * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ -@Data public class SetupTmMesh extends BaseEntity { private static final long serialVersionUID = 1L; @@ -24,46 +22,184 @@ public class SetupTmMesh extends BaseEntity private Long yieldStren; /** $column.columnComment */ - private Long THICK; + private Long thick; /** 防皱辊插入量 */ @Excel(name = "防皱辊插入量") - private Long VALUE1; + private Long value1; /** 防颤辊插入量 */ @Excel(name = "防颤辊插入量") - private Long VALUE2; + private Long value2; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE3; + private Long value3; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE4; + private Long value4; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE5; + private Long value5; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE6; + private Long value6; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE7; + private Long value7; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE8; + private Long value8; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE9; + private Long value9; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE10; + private Long value10; + public void setSteelGrade(String steelGrade) + { + this.steelGrade = steelGrade; + } + + public String getSteelGrade() + { + return steelGrade; + } + public void setYieldStren(Long yieldStren) + { + this.yieldStren = yieldStren; + } + + public Long getYieldStren() + { + return yieldStren; + } + public void setThick(Long thick) + { + this.thick = thick; + } + + public Long getThick() + { + return thick; + } + public void setValue1(Long value1) + { + this.value1 = value1; + } + + public Long getValue1() + { + return value1; + } + public void setValue2(Long value2) + { + this.value2 = value2; + } + + public Long getValue2() + { + return value2; + } + public void setValue3(Long value3) + { + this.value3 = value3; + } + + public Long getValue3() + { + return value3; + } + public void setValue4(Long value4) + { + this.value4 = value4; + } + + public Long getValue4() + { + return value4; + } + public void setValue5(Long value5) + { + this.value5 = value5; + } + + public Long getValue5() + { + return value5; + } + public void setValue6(Long value6) + { + this.value6 = value6; + } + + public Long getValue6() + { + return value6; + } + public void setValue7(Long value7) + { + this.value7 = value7; + } + + public Long getValue7() + { + return value7; + } + public void setValue8(Long value8) + { + this.value8 = value8; + } + + public Long getValue8() + { + return value8; + } + public void setValue9(Long value9) + { + this.value9 = value9; + } + + public Long getValue9() + { + return value9; + } + public void setValue10(Long value10) + { + this.value10 = value10; + } + + public Long getValue10() + { + return value10; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("steelGrade", getSteelGrade()) + .append("yieldStren", getYieldStren()) + .append("thick", getThick()) + .append("value1", getValue1()) + .append("value2", getValue2()) + .append("value3", getValue3()) + .append("value4", getValue4()) + .append("value5", getValue5()) + .append("value6", getValue6()) + .append("value7", getValue7()) + .append("value8", getValue8()) + .append("value9", getValue9()) + .append("value10", getValue10()) + .append("updateTime", getUpdateTime()) + .append("createTime", getCreateTime()) + .toString(); + } } diff --git a/business/src/main/java/com/fizz/business/domain/SetupTmRollforce.java b/business/src/main/java/com/fizz/business/domain/SetupTmRollforce.java index a2887c6..5ba1a86 100644 --- a/business/src/main/java/com/fizz/business/domain/SetupTmRollforce.java +++ b/business/src/main/java/com/fizz/business/domain/SetupTmRollforce.java @@ -1,6 +1,5 @@ package com.fizz.business.domain; -import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -10,9 +9,8 @@ import com.ruoyi.common.core.domain.BaseEntity; * 光整机轧制力对象 setup_tm_rollforce * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ -@Data public class SetupTmRollforce extends BaseEntity { private static final long serialVersionUID = 1L; @@ -21,52 +19,200 @@ public class SetupTmRollforce extends BaseEntity private String steelGrade; /** $column.columnComment */ - private Long THICK; + private Long thick; /** $column.columnComment */ private Long yieldStren; /** 延伸率 */ - private Long ELONG; + private Long elong; /** 轧制力 */ @Excel(name = "轧制力") - private Long VALUE1; + private Long value1; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE2; + private Long value2; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE3; + private Long value3; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE4; + private Long value4; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE5; + private Long value5; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE6; + private Long value6; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE7; + private Long value7; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE8; + private Long value8; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE9; + private Long value9; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long VALUE10; + private Long value10; + public void setSteelGrade(String steelGrade) + { + this.steelGrade = steelGrade; + } + + public String getSteelGrade() + { + return steelGrade; + } + public void setThick(Long thick) + { + this.thick = thick; + } + + public Long getThick() + { + return thick; + } + public void setYieldStren(Long yieldStren) + { + this.yieldStren = yieldStren; + } + + public Long getYieldStren() + { + return yieldStren; + } + public void setElong(Long elong) + { + this.elong = elong; + } + + public Long getElong() + { + return elong; + } + public void setValue1(Long value1) + { + this.value1 = value1; + } + + public Long getValue1() + { + return value1; + } + public void setValue2(Long value2) + { + this.value2 = value2; + } + + public Long getValue2() + { + return value2; + } + public void setValue3(Long value3) + { + this.value3 = value3; + } + + public Long getValue3() + { + return value3; + } + public void setValue4(Long value4) + { + this.value4 = value4; + } + + public Long getValue4() + { + return value4; + } + public void setValue5(Long value5) + { + this.value5 = value5; + } + + public Long getValue5() + { + return value5; + } + public void setValue6(Long value6) + { + this.value6 = value6; + } + + public Long getValue6() + { + return value6; + } + public void setValue7(Long value7) + { + this.value7 = value7; + } + + public Long getValue7() + { + return value7; + } + public void setValue8(Long value8) + { + this.value8 = value8; + } + + public Long getValue8() + { + return value8; + } + public void setValue9(Long value9) + { + this.value9 = value9; + } + + public Long getValue9() + { + return value9; + } + public void setValue10(Long value10) + { + this.value10 = value10; + } + + public Long getValue10() + { + return value10; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("steelGrade", getSteelGrade()) + .append("thick", getThick()) + .append("yieldStren", getYieldStren()) + .append("elong", getElong()) + .append("value1", getValue1()) + .append("value2", getValue2()) + .append("value3", getValue3()) + .append("value4", getValue4()) + .append("value5", getValue5()) + .append("value6", getValue6()) + .append("value7", getValue7()) + .append("value8", getValue8()) + .append("value9", getValue9()) + .append("value10", getValue10()) + .append("updateTime", getUpdateTime()) + .append("createTime", getCreateTime()) + .toString(); + } } diff --git a/business/src/main/java/com/fizz/business/mapper/PdiSetupMapper.java b/business/src/main/java/com/fizz/business/mapper/PdiSetupMapper.java index 28eda5b..b0418d6 100644 --- a/business/src/main/java/com/fizz/business/mapper/PdiSetupMapper.java +++ b/business/src/main/java/com/fizz/business/mapper/PdiSetupMapper.java @@ -1,6 +1,8 @@ package com.fizz.business.mapper; import java.util.List; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.fizz.business.domain.PdiSetups; /** @@ -9,15 +11,15 @@ import com.fizz.business.domain.PdiSetups; * @author Joshi * @date 2025-09-25 */ -public interface PdiSetupMapper +public interface PdiSetupMapper extends BaseMapper { /** * 查询生产计划的参数详情 * - * @param ID 生产计划的参数详情主键 + * @param id 生产计划的参数详情主键 * @return 生产计划的参数详情 */ - public PdiSetups selectPdiSetupByID(Long ID); + public PdiSetups selectPdiSetupById(Long id); /** * 查询生产计划的参数详情列表 @@ -46,16 +48,16 @@ public interface PdiSetupMapper /** * 删除生产计划的参数详情 * - * @param ID 生产计划的参数详情主键 + * @param id 生产计划的参数详情主键 * @return 结果 */ - public int deletePdiSetupByID(Long ID); + public int deletePdiSetupById(Long id); /** * 批量删除生产计划的参数详情 * - * @param IDs 需要删除的数据主键集合 + * @param ids 需要删除的数据主键集合 * @return 结果 */ - public int deletePdiSetupByIDs(Long[] IDs); + public int deletePdiSetupByIds(Long[] ids); } diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTensionMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTensionMapper.java index f9d2853..e288c12 100644 --- a/business/src/main/java/com/fizz/business/mapper/SetupTensionMapper.java +++ b/business/src/main/java/com/fizz/business/mapper/SetupTensionMapper.java @@ -2,22 +2,23 @@ package com.fizz.business.mapper; import java.util.List; import com.fizz.business.domain.SetupTension; +import org.apache.ibatis.annotations.Param; /** * 全线张力Mapper接口 * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ public interface SetupTensionMapper { /** * 查询全线张力 * - * @param THICK 全线张力主键 + * @param thick 全线张力主键 * @return 全线张力 */ - public SetupTension selectSetupTensionByTHICK(Long THICK); + public SetupTension selectSetupTensionByThick(@Param("thick") Long thick,@Param("yieldStren") Long yieldStren); /** * 查询全线张力列表 @@ -46,16 +47,16 @@ public interface SetupTensionMapper /** * 删除全线张力 * - * @param THICK 全线张力主键 + * @param thick 全线张力主键 * @return 结果 */ - public int deleteSetupTensionByTHICK(Long THICK); + public int deleteSetupTensionByThick(Long thick); /** * 批量删除全线张力 * - * @param THICKs 需要删除的数据主键集合 + * @param thicks 需要删除的数据主键集合 * @return 结果 */ - public int deleteSetupTensionByTHICKs(Long[] THICKs); + public int deleteSetupTensionByThicks(@Param("thicks") Long[] thicks,@Param("yieldStrens") Long[] yieldStrens); } diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTlMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTlMapper.java index c0a5e03..c251d50 100644 --- a/business/src/main/java/com/fizz/business/mapper/SetupTlMapper.java +++ b/business/src/main/java/com/fizz/business/mapper/SetupTlMapper.java @@ -2,12 +2,13 @@ package com.fizz.business.mapper; import java.util.List; import com.fizz.business.domain.SetupTl; +import org.apache.ibatis.annotations.Param; /** * 拉矫机参数Mapper接口 * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ public interface SetupTlMapper { @@ -17,7 +18,7 @@ public interface SetupTlMapper * @param steelGrade 拉矫机参数主键 * @return 拉矫机参数 */ - public SetupTl selectSetupTlBySteelGrade(String steelGrade); + public SetupTl selectSetupTlBySteelGrade(@Param("steelGrade") String steelGrade,@Param("yieldStren") Long yieldStren,@Param("thick") Long thick); /** * 查询拉矫机参数列表 @@ -57,5 +58,5 @@ public interface SetupTlMapper * @param steelGrades 需要删除的数据主键集合 * @return 结果 */ - public int deleteSetupTlBySteelGrades(String[] steelGrades); + public int deleteSetupTlBySteelGrades(@Param("steelGrades") String[] steelGrades,@Param("yieldStrens") Long[] yieldStrens,@Param("thicks") Long[] thicks); } diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTmBendforceMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTmBendforceMapper.java index 785d762..f4c4074 100644 --- a/business/src/main/java/com/fizz/business/mapper/SetupTmBendforceMapper.java +++ b/business/src/main/java/com/fizz/business/mapper/SetupTmBendforceMapper.java @@ -2,22 +2,23 @@ package com.fizz.business.mapper; import java.util.List; import com.fizz.business.domain.SetupTmBendforce; +import org.apache.ibatis.annotations.Param; /** * 光整机弯辊力Mapper接口 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ public interface SetupTmBendforceMapper { /** * 查询光整机弯辊力 * - * @param WIDTH 光整机弯辊力主键 + * @param width 光整机弯辊力主键 * @return 光整机弯辊力 */ - public SetupTmBendforce selectSetupTmBendforceByWIDTH(Long WIDTH); + public SetupTmBendforce selectSetupTmBendforceByWidth(@Param("width") Long width,@Param("rollForce") Long rollForce); /** * 查询光整机弯辊力列表 @@ -46,16 +47,16 @@ public interface SetupTmBendforceMapper /** * 删除光整机弯辊力 * - * @param WIDTH 光整机弯辊力主键 + * @param width 光整机弯辊力主键 * @return 结果 */ - public int deleteSetupTmBendforceByWIDTH(Long WIDTH); + public int deleteSetupTmBendforceByWidth(Long width); /** * 批量删除光整机弯辊力 * - * @param WIDTHs 需要删除的数据主键集合 + * @param widths 需要删除的数据主键集合 * @return 结果 */ - public int deleteSetupTmBendforceByWIDTHs(Long[] WIDTHs); + public int deleteSetupTmBendforceByWidths(@Param("widths") Long[] widths,@Param("rollForces") Long[] rollForces); } diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTmMeshMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTmMeshMapper.java index 7f85d35..f9a5f2a 100644 --- a/business/src/main/java/com/fizz/business/mapper/SetupTmMeshMapper.java +++ b/business/src/main/java/com/fizz/business/mapper/SetupTmMeshMapper.java @@ -2,12 +2,13 @@ package com.fizz.business.mapper; import java.util.List; import com.fizz.business.domain.SetupTmMesh; +import org.apache.ibatis.annotations.Param; /** * 光整机插入量Mapper接口 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ public interface SetupTmMeshMapper { @@ -17,7 +18,7 @@ public interface SetupTmMeshMapper * @param steelGrade 光整机插入量主键 * @return 光整机插入量 */ - public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade); + public SetupTmMesh selectSetupTmMeshBySteelGrade(@Param("steelGrade") String steelGrade,@Param("yieldStren") Long yieldStren,@Param("thick") Long thick); /** * 查询光整机插入量列表 @@ -57,5 +58,7 @@ public interface SetupTmMeshMapper * @param steelGrades 需要删除的数据主键集合 * @return 结果 */ - public int deleteSetupTmMeshBySteelGrades(String[] steelGrades); + public int deleteSetupTmMeshBySteelGrades(@Param("steelGrades") String[] steelGrades, + @Param("yieldStrens") Long[] yieldStrens, + @Param("thicks") Long[] thicks); } diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTmRollforceMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTmRollforceMapper.java index d59fc64..f6947d7 100644 --- a/business/src/main/java/com/fizz/business/mapper/SetupTmRollforceMapper.java +++ b/business/src/main/java/com/fizz/business/mapper/SetupTmRollforceMapper.java @@ -2,12 +2,13 @@ package com.fizz.business.mapper; import java.util.List; import com.fizz.business.domain.SetupTmRollforce; +import org.apache.ibatis.annotations.Param; /** * 光整机轧制力Mapper接口 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ public interface SetupTmRollforceMapper { @@ -17,7 +18,7 @@ public interface SetupTmRollforceMapper * @param steelGrade 光整机轧制力主键 * @return 光整机轧制力 */ - public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade); + public SetupTmRollforce selectSetupTmRollforceBySteelGrade(@Param("steelGrade") String steelGrade,@Param("yieldStren") Long yieldStren,@Param("thick") Long thick,@Param("elong") Long elong); /** * 查询光整机轧制力列表 @@ -57,5 +58,8 @@ public interface SetupTmRollforceMapper * @param steelGrades 需要删除的数据主键集合 * @return 结果 */ - public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades); + public int deleteSetupTmRollforceBySteelGrades(@Param("steelGrades") String[] steelGrades, + @Param("thicks") Long[] thicks, + @Param("yieldStrens") Long[] yieldStrens, + @Param("elongs") Long[] elongs); } diff --git a/business/src/main/java/com/fizz/business/service/IPdiSetupService.java b/business/src/main/java/com/fizz/business/service/IPdiSetupService.java index 6330c1e..e575a77 100644 --- a/business/src/main/java/com/fizz/business/service/IPdiSetupService.java +++ b/business/src/main/java/com/fizz/business/service/IPdiSetupService.java @@ -1,7 +1,10 @@ package com.fizz.business.service; import java.util.List; + +import com.baomidou.mybatisplus.extension.service.IService; import com.fizz.business.domain.PdiSetups; +import com.fizz.business.domain.ProStoppage; import com.fizz.business.domain.msg.PdiSetup; /** @@ -10,15 +13,15 @@ import com.fizz.business.domain.msg.PdiSetup; * @author Joshi * @date 2025-09-25 */ -public interface IPdiSetupService +public interface IPdiSetupService extends IService { /** * 查询生产计划的参数详情 * - * @param ID 生产计划的参数详情主键 + * @param id 生产计划的参数详情主键 * @return 生产计划的参数详情 */ - public PdiSetups selectPdiSetupByID(Long ID); + public PdiSetups selectPdiSetupByid(Long id); /** * 查询生产计划的参数详情列表 @@ -34,7 +37,7 @@ public interface IPdiSetupService * @param pdiSetup 生产计划的参数详情 * @return 结果 */ - public int insertPdiSetup(PdiSetups pdiSetup); + public Boolean insertPdiSetup(PdiSetups pdiSetup); /** * 修改生产计划的参数详情 @@ -42,21 +45,21 @@ public interface IPdiSetupService * @param pdiSetup 生产计划的参数详情 * @return 结果 */ - public int updatePdiSetup(PdiSetups pdiSetup); + public Boolean updatePdiSetup(PdiSetups pdiSetup); /** * 批量删除生产计划的参数详情 * - * @param IDs 需要删除的生产计划的参数详情主键集合 + * @param ids 需要删除的生产计划的参数详情主键集合 * @return 结果 */ - public int deletePdiSetupByIDs(Long[] IDs); + public Boolean deletePdiSetupByids(Long[] ids); /** * 删除生产计划的参数详情信息 * - * @param ID 生产计划的参数详情主键 + * @param id 生产计划的参数详情主键 * @return 结果 */ - public int deletePdiSetupByID(Long ID); + public Boolean deletePdiSetupByid(Long id); } diff --git a/business/src/main/java/com/fizz/business/service/ISetupTensionService.java b/business/src/main/java/com/fizz/business/service/ISetupTensionService.java index 1a26344..7dad000 100644 --- a/business/src/main/java/com/fizz/business/service/ISetupTensionService.java +++ b/business/src/main/java/com/fizz/business/service/ISetupTensionService.java @@ -6,18 +6,18 @@ import com.fizz.business.domain.SetupTension; /** * 全线张力Service接口 * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ public interface ISetupTensionService { /** * 查询全线张力 * - * @param THICK 全线张力主键 + * @param thick 全线张力主键 * @return 全线张力 */ - public SetupTension selectSetupTensionByTHICK(Long THICK); + public SetupTension selectSetupTensionByThick(Long thick,Long yieldStren); /** * 查询全线张力列表 @@ -46,16 +46,16 @@ public interface ISetupTensionService /** * 批量删除全线张力 * - * @param THICKs 需要删除的全线张力主键集合 + * @param thicks 需要删除的全线张力主键集合 * @return 结果 */ - public int deleteSetupTensionByTHICKs(Long[] THICKs); + public int deleteSetupTensionByThicks(Long[] thicks,Long[] yieldStrens ); /** * 删除全线张力信息 * - * @param THICK 全线张力主键 + * @param thick 全线张力主键 * @return 结果 */ - public int deleteSetupTensionByTHICK(Long THICK); + public int deleteSetupTensionByThick(Long thick); } diff --git a/business/src/main/java/com/fizz/business/service/ISetupTlService.java b/business/src/main/java/com/fizz/business/service/ISetupTlService.java index 34b919d..301a4a3 100644 --- a/business/src/main/java/com/fizz/business/service/ISetupTlService.java +++ b/business/src/main/java/com/fizz/business/service/ISetupTlService.java @@ -6,8 +6,8 @@ import com.fizz.business.domain.SetupTl; /** * 拉矫机参数Service接口 * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ public interface ISetupTlService { @@ -17,7 +17,7 @@ public interface ISetupTlService * @param steelGrade 拉矫机参数主键 * @return 拉矫机参数 */ - public SetupTl selectSetupTlBySteelGrade(String steelGrade); + public SetupTl selectSetupTlBySteelGrade(String steelGrade,Long yieldStren,Long thick); /** * 查询拉矫机参数列表 @@ -49,7 +49,7 @@ public interface ISetupTlService * @param steelGrades 需要删除的拉矫机参数主键集合 * @return 结果 */ - public int deleteSetupTlBySteelGrades(String[] steelGrades); + public int deleteSetupTlBySteelGrades(String[] steelGrades,Long[] yieldStrens,Long[] thicks); /** * 删除拉矫机参数信息 diff --git a/business/src/main/java/com/fizz/business/service/ISetupTmBendforceService.java b/business/src/main/java/com/fizz/business/service/ISetupTmBendforceService.java index 6d5021c..adad3ae 100644 --- a/business/src/main/java/com/fizz/business/service/ISetupTmBendforceService.java +++ b/business/src/main/java/com/fizz/business/service/ISetupTmBendforceService.java @@ -7,17 +7,17 @@ import com.fizz.business.domain.SetupTmBendforce; * 光整机弯辊力Service接口 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ public interface ISetupTmBendforceService { /** * 查询光整机弯辊力 * - * @param WIDTH 光整机弯辊力主键 + * @param width 光整机弯辊力主键 * @return 光整机弯辊力 */ - public SetupTmBendforce selectSetupTmBendforceByWIDTH(Long WIDTH); + public SetupTmBendforce selectSetupTmBendforceByWidth(Long width,Long rollForce); /** * 查询光整机弯辊力列表 @@ -46,16 +46,16 @@ public interface ISetupTmBendforceService /** * 批量删除光整机弯辊力 * - * @param WIDTHs 需要删除的光整机弯辊力主键集合 + * @param widths 需要删除的光整机弯辊力主键集合 * @return 结果 */ - public int deleteSetupTmBendforceByWIDTHs(Long[] WIDTHs); + public int deleteSetupTmBendforceByWidths(Long[] widths,Long[] rollForces); /** * 删除光整机弯辊力信息 * - * @param WIDTH 光整机弯辊力主键 + * @param width 光整机弯辊力主键 * @return 结果 */ - public int deleteSetupTmBendforceByWIDTH(Long WIDTH); + public int deleteSetupTmBendforceByWidth(Long width); } diff --git a/business/src/main/java/com/fizz/business/service/ISetupTmMeshService.java b/business/src/main/java/com/fizz/business/service/ISetupTmMeshService.java index e2c8ce7..f289ef6 100644 --- a/business/src/main/java/com/fizz/business/service/ISetupTmMeshService.java +++ b/business/src/main/java/com/fizz/business/service/ISetupTmMeshService.java @@ -7,7 +7,7 @@ import com.fizz.business.domain.SetupTmMesh; * 光整机插入量Service接口 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ public interface ISetupTmMeshService { @@ -17,7 +17,7 @@ public interface ISetupTmMeshService * @param steelGrade 光整机插入量主键 * @return 光整机插入量 */ - public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade); + public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade,Long yildStren,Long thick); /** * 查询光整机插入量列表 @@ -49,7 +49,7 @@ public interface ISetupTmMeshService * @param steelGrades 需要删除的光整机插入量主键集合 * @return 结果 */ - public int deleteSetupTmMeshBySteelGrades(String[] steelGrades); + public int deleteSetupTmMeshBySteelGrades(String[] steelGrades,Long[] yildStrens,Long[] thicks); /** * 删除光整机插入量信息 diff --git a/business/src/main/java/com/fizz/business/service/ISetupTmRollforceService.java b/business/src/main/java/com/fizz/business/service/ISetupTmRollforceService.java index 4f90fc6..2f27ed4 100644 --- a/business/src/main/java/com/fizz/business/service/ISetupTmRollforceService.java +++ b/business/src/main/java/com/fizz/business/service/ISetupTmRollforceService.java @@ -7,7 +7,7 @@ import com.fizz.business.domain.SetupTmRollforce; * 光整机轧制力Service接口 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ public interface ISetupTmRollforceService { @@ -17,7 +17,7 @@ public interface ISetupTmRollforceService * @param steelGrade 光整机轧制力主键 * @return 光整机轧制力 */ - public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade); + public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade,Long yieldStren,Long thick,Long elong); /** * 查询光整机轧制力列表 @@ -49,7 +49,7 @@ public interface ISetupTmRollforceService * @param steelGrades 需要删除的光整机轧制力主键集合 * @return 结果 */ - public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades); + public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades,Long[] yieldStrens,Long[] thicks,Long[] elongs); /** * 删除光整机轧制力信息 diff --git a/business/src/main/java/com/fizz/business/service/impl/PdiSetupServiceImpl.java b/business/src/main/java/com/fizz/business/service/impl/PdiSetupServiceImpl.java index a8dd825..6d70157 100644 --- a/business/src/main/java/com/fizz/business/service/impl/PdiSetupServiceImpl.java +++ b/business/src/main/java/com/fizz/business/service/impl/PdiSetupServiceImpl.java @@ -1,8 +1,11 @@ package com.fizz.business.service.impl; +import java.util.Arrays; import java.util.List; -import com.fizz.business.domain.msg.PdiSetup; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.ruoyi.common.utils.DateUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -17,21 +20,17 @@ import com.fizz.business.service.IPdiSetupService; * @date 2025-09-25 */ @Service -public class PdiSetupServiceImpl implements IPdiSetupService -{ - @Autowired - private PdiSetupMapper pdiSetupMapper; - +public class PdiSetupServiceImpl extends ServiceImpl implements IPdiSetupService { /** * 查询生产计划的参数详情 * - * @param ID 生产计划的参数详情主键 + * @param id 生产计划的参数详情主键 * @return 生产计划的参数详情 */ @Override - public PdiSetups selectPdiSetupByID(Long ID) + public PdiSetups selectPdiSetupByid(Long id) { - return pdiSetupMapper.selectPdiSetupByID(ID); + return baseMapper.selectById(id); } /** @@ -43,7 +42,9 @@ public class PdiSetupServiceImpl implements IPdiSetupService @Override public List selectPdiSetupList(PdiSetups pdiSetup) { - return pdiSetupMapper.selectPdiSetupList(pdiSetup); + QueryWrapper queryWrapper = new QueryWrapper<>(pdiSetup); + queryWrapper.orderByDesc("create_time"); + return baseMapper.selectList(queryWrapper); } /** @@ -53,10 +54,10 @@ public class PdiSetupServiceImpl implements IPdiSetupService * @return 结果 */ @Override - public int insertPdiSetup(PdiSetups pdiSetup) + public Boolean insertPdiSetup(PdiSetups pdiSetup) { pdiSetup.setCreateTime(DateUtils.getNowDate()); - return pdiSetupMapper.insertPdiSetup(pdiSetup); + return this.save(pdiSetup); } /** @@ -66,33 +67,33 @@ public class PdiSetupServiceImpl implements IPdiSetupService * @return 结果 */ @Override - public int updatePdiSetup(PdiSetups pdiSetup) + public Boolean updatePdiSetup(PdiSetups pdiSetup) { pdiSetup.setUpdateTime(DateUtils.getNowDate()); - return pdiSetupMapper.updatePdiSetup(pdiSetup); + return this.updateById(pdiSetup); } /** * 批量删除生产计划的参数详情 * - * @param IDs 需要删除的生产计划的参数详情主键 + * @param ids 需要删除的生产计划的参数详情主键 * @return 结果 */ @Override - public int deletePdiSetupByIDs(Long[] IDs) + public Boolean deletePdiSetupByids(Long[] ids) { - return pdiSetupMapper.deletePdiSetupByIDs(IDs); + return this.removeByIds(Arrays.asList(ids)); } /** * 删除生产计划的参数详情信息 * - * @param ID 生产计划的参数详情主键 + * @param id 生产计划的参数详情主键 * @return 结果 */ @Override - public int deletePdiSetupByID(Long ID) + public Boolean deletePdiSetupByid(Long id) { - return pdiSetupMapper.deletePdiSetupByID(ID); + return this.removeById(id); } } diff --git a/business/src/main/java/com/fizz/business/service/impl/SetupTensionServiceImpl.java b/business/src/main/java/com/fizz/business/service/impl/SetupTensionServiceImpl.java index bead09c..fe825cd 100644 --- a/business/src/main/java/com/fizz/business/service/impl/SetupTensionServiceImpl.java +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTensionServiceImpl.java @@ -11,8 +11,8 @@ import com.fizz.business.service.ISetupTensionService; /** * 全线张力Service业务层处理 * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ @Service public class SetupTensionServiceImpl implements ISetupTensionService @@ -23,13 +23,13 @@ public class SetupTensionServiceImpl implements ISetupTensionService /** * 查询全线张力 * - * @param THICK 全线张力主键 + * @param thick 全线张力主键 * @return 全线张力 */ @Override - public SetupTension selectSetupTensionByTHICK(Long THICK) + public SetupTension selectSetupTensionByThick(Long thick,Long yieldStren) { - return setupTensionMapper.selectSetupTensionByTHICK(THICK); + return setupTensionMapper.selectSetupTensionByThick(thick,yieldStren); } /** @@ -73,24 +73,24 @@ public class SetupTensionServiceImpl implements ISetupTensionService /** * 批量删除全线张力 * - * @param THICKs 需要删除的全线张力主键 + * @param thicks 需要删除的全线张力主键 * @return 结果 */ @Override - public int deleteSetupTensionByTHICKs(Long[] THICKs) + public int deleteSetupTensionByThicks(Long[] thicks,Long[] yieldStrens) { - return setupTensionMapper.deleteSetupTensionByTHICKs(THICKs); + return setupTensionMapper.deleteSetupTensionByThicks(thicks,yieldStrens); } /** * 删除全线张力信息 * - * @param THICK 全线张力主键 + * @param thick 全线张力主键 * @return 结果 */ @Override - public int deleteSetupTensionByTHICK(Long THICK) + public int deleteSetupTensionByThick(Long thick) { - return setupTensionMapper.deleteSetupTensionByTHICK(THICK); + return setupTensionMapper.deleteSetupTensionByThick(thick); } } diff --git a/business/src/main/java/com/fizz/business/service/impl/SetupTlServiceImpl.java b/business/src/main/java/com/fizz/business/service/impl/SetupTlServiceImpl.java index 0dcca64..c7d43a8 100644 --- a/business/src/main/java/com/fizz/business/service/impl/SetupTlServiceImpl.java +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTlServiceImpl.java @@ -11,8 +11,8 @@ import com.fizz.business.service.ISetupTlService; /** * 拉矫机参数Service业务层处理 * - * @author Joshi - * @date 2025-09-25 + * @author ruoyi + * @date 2025-09-26 */ @Service public class SetupTlServiceImpl implements ISetupTlService @@ -27,9 +27,9 @@ public class SetupTlServiceImpl implements ISetupTlService * @return 拉矫机参数 */ @Override - public SetupTl selectSetupTlBySteelGrade(String steelGrade) + public SetupTl selectSetupTlBySteelGrade(String steelGrade, Long yieldStren, Long thick) { - return setupTlMapper.selectSetupTlBySteelGrade(steelGrade); + return setupTlMapper.selectSetupTlBySteelGrade(steelGrade, yieldStren, thick); } /** @@ -77,9 +77,9 @@ public class SetupTlServiceImpl implements ISetupTlService * @return 结果 */ @Override - public int deleteSetupTlBySteelGrades(String[] steelGrades) + public int deleteSetupTlBySteelGrades(String[] steelGrades,Long[] yieldStres,Long[] thicks) { - return setupTlMapper.deleteSetupTlBySteelGrades(steelGrades); + return setupTlMapper.deleteSetupTlBySteelGrades(steelGrades, yieldStres, thicks); } /** diff --git a/business/src/main/java/com/fizz/business/service/impl/SetupTmBendforceServiceImpl.java b/business/src/main/java/com/fizz/business/service/impl/SetupTmBendforceServiceImpl.java index bb0a883..9927086 100644 --- a/business/src/main/java/com/fizz/business/service/impl/SetupTmBendforceServiceImpl.java +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTmBendforceServiceImpl.java @@ -12,7 +12,7 @@ import com.fizz.business.service.ISetupTmBendforceService; * 光整机弯辊力Service业务层处理 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ @Service public class SetupTmBendforceServiceImpl implements ISetupTmBendforceService @@ -23,13 +23,13 @@ public class SetupTmBendforceServiceImpl implements ISetupTmBendforceService /** * 查询光整机弯辊力 * - * @param WIDTH 光整机弯辊力主键 + * @param width 光整机弯辊力主键 * @return 光整机弯辊力 */ @Override - public SetupTmBendforce selectSetupTmBendforceByWIDTH(Long WIDTH) + public SetupTmBendforce selectSetupTmBendforceByWidth(Long width,Long rollForce) { - return setupTmBendforceMapper.selectSetupTmBendforceByWIDTH(WIDTH); + return setupTmBendforceMapper.selectSetupTmBendforceByWidth(width,rollForce); } /** @@ -73,24 +73,24 @@ public class SetupTmBendforceServiceImpl implements ISetupTmBendforceService /** * 批量删除光整机弯辊力 * - * @param WIDTHs 需要删除的光整机弯辊力主键 + * @param widths 需要删除的光整机弯辊力主键 * @return 结果 */ @Override - public int deleteSetupTmBendforceByWIDTHs(Long[] WIDTHs) + public int deleteSetupTmBendforceByWidths(Long[] widths,Long[] rollForces) { - return setupTmBendforceMapper.deleteSetupTmBendforceByWIDTHs(WIDTHs); + return setupTmBendforceMapper.deleteSetupTmBendforceByWidths(widths,rollForces); } /** * 删除光整机弯辊力信息 * - * @param WIDTH 光整机弯辊力主键 + * @param width 光整机弯辊力主键 * @return 结果 */ @Override - public int deleteSetupTmBendforceByWIDTH(Long WIDTH) + public int deleteSetupTmBendforceByWidth(Long width) { - return setupTmBendforceMapper.deleteSetupTmBendforceByWIDTH(WIDTH); + return setupTmBendforceMapper.deleteSetupTmBendforceByWidth(width); } } diff --git a/business/src/main/java/com/fizz/business/service/impl/SetupTmMeshServiceImpl.java b/business/src/main/java/com/fizz/business/service/impl/SetupTmMeshServiceImpl.java index 63bb3a2..873ada6 100644 --- a/business/src/main/java/com/fizz/business/service/impl/SetupTmMeshServiceImpl.java +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTmMeshServiceImpl.java @@ -12,7 +12,7 @@ import com.fizz.business.service.ISetupTmMeshService; * 光整机插入量Service业务层处理 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ @Service public class SetupTmMeshServiceImpl implements ISetupTmMeshService @@ -27,9 +27,9 @@ public class SetupTmMeshServiceImpl implements ISetupTmMeshService * @return 光整机插入量 */ @Override - public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade) + public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade, Long yieldStren, Long thick) { - return setupTmMeshMapper.selectSetupTmMeshBySteelGrade(steelGrade); + return setupTmMeshMapper.selectSetupTmMeshBySteelGrade(steelGrade, yieldStren, thick); } /** @@ -77,9 +77,9 @@ public class SetupTmMeshServiceImpl implements ISetupTmMeshService * @return 结果 */ @Override - public int deleteSetupTmMeshBySteelGrades(String[] steelGrades) + public int deleteSetupTmMeshBySteelGrades(String[] steelGrades, Long[] yieldStrens, Long[] thicks) { - return setupTmMeshMapper.deleteSetupTmMeshBySteelGrades(steelGrades); + return setupTmMeshMapper.deleteSetupTmMeshBySteelGrades(steelGrades, yieldStrens, thicks); } /** diff --git a/business/src/main/java/com/fizz/business/service/impl/SetupTmRollforceServiceImpl.java b/business/src/main/java/com/fizz/business/service/impl/SetupTmRollforceServiceImpl.java index 09a0381..1cb71c6 100644 --- a/business/src/main/java/com/fizz/business/service/impl/SetupTmRollforceServiceImpl.java +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTmRollforceServiceImpl.java @@ -12,7 +12,7 @@ import com.fizz.business.service.ISetupTmRollforceService; * 光整机轧制力Service业务层处理 * * @author Joshi - * @date 2025-09-25 + * @date 2025-09-26 */ @Service public class SetupTmRollforceServiceImpl implements ISetupTmRollforceService @@ -27,9 +27,9 @@ public class SetupTmRollforceServiceImpl implements ISetupTmRollforceService * @return 光整机轧制力 */ @Override - public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade) + public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade, Long yieldStren, Long thick, Long elong) { - return setupTmRollforceMapper.selectSetupTmRollforceBySteelGrade(steelGrade); + return setupTmRollforceMapper.selectSetupTmRollforceBySteelGrade(steelGrade, yieldStren, thick, elong); } /** @@ -77,9 +77,9 @@ public class SetupTmRollforceServiceImpl implements ISetupTmRollforceService * @return 结果 */ @Override - public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades) + public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades, Long[] thicks, Long[] yieldStrens, Long[] elongs) { - return setupTmRollforceMapper.deleteSetupTmRollforceBySteelGrades(steelGrades); + return setupTmRollforceMapper.deleteSetupTmRollforceBySteelGrades(steelGrades, thicks, yieldStrens, elongs); } /** diff --git a/business/src/main/resources/mapper/PdiSetupMapper.xml b/business/src/main/resources/mapper/PdiSetupMapper.xml index 342ea5c..dba055a 100644 --- a/business/src/main/resources/mapper/PdiSetupMapper.xml +++ b/business/src/main/resources/mapper/PdiSetupMapper.xml @@ -70,9 +70,9 @@ - - where ID = #{ID} + where ID = #{id} @@ -168,14 +168,14 @@ where ID = #{ID} - - delete from pdi_setup where ID = #{ID} + + delete from pdi_setup where ID = #{id} - + delete from pdi_setup where ID in - #{ID} + #{id} \ No newline at end of file diff --git a/business/src/main/resources/mapper/SetupTensionMapper.xml b/business/src/main/resources/mapper/SetupTensionMapper.xml deleted file mode 100644 index 39f2067..0000000 --- a/business/src/main/resources/mapper/SetupTensionMapper.xml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - select THICK, YIELD_STREN, VALUE1, VALUE2, VALUE3, VALUE4, VALUE5, VALUE6, VALUE7, VALUE8, VALUE9, VALUE10, VALUE11, VALUE12, VALUE13, VALUE14, VALUE15, CREATE_TIME, UPDATE_TIME from setup_tension - - - - - - - - insert into setup_tension - - THICK, - YIELD_STREN, - VALUE1, - VALUE2, - VALUE3, - VALUE4, - VALUE5, - VALUE6, - VALUE7, - VALUE8, - VALUE9, - VALUE10, - VALUE11, - VALUE12, - VALUE13, - VALUE14, - VALUE15, - CREATE_TIME, - UPDATE_TIME, - - - #{THICK}, - #{yieldStren}, - #{VALUE1}, - #{VALUE2}, - #{VALUE3}, - #{VALUE4}, - #{VALUE5}, - #{VALUE6}, - #{VALUE7}, - #{VALUE8}, - #{VALUE9}, - #{VALUE10}, - #{VALUE11}, - #{VALUE12}, - #{VALUE13}, - #{VALUE14}, - #{VALUE15}, - #{createTime}, - #{updateTime}, - - - - - update setup_tension - - YIELD_STREN = #{yieldStren}, - VALUE1 = #{VALUE1}, - VALUE2 = #{VALUE2}, - VALUE3 = #{VALUE3}, - VALUE4 = #{VALUE4}, - VALUE5 = #{VALUE5}, - VALUE6 = #{VALUE6}, - VALUE7 = #{VALUE7}, - VALUE8 = #{VALUE8}, - VALUE9 = #{VALUE9}, - VALUE10 = #{VALUE10}, - VALUE11 = #{VALUE11}, - VALUE12 = #{VALUE12}, - VALUE13 = #{VALUE13}, - VALUE14 = #{VALUE14}, - VALUE15 = #{VALUE15}, - CREATE_TIME = #{createTime}, - UPDATE_TIME = #{updateTime}, - - where THICK = #{THICK} - - - - delete from setup_tension where THICK = #{THICK} - - - - delete from setup_tension where THICK in - - #{THICK} - - - \ No newline at end of file diff --git a/business/src/main/resources/mapper/SetupTlMapper.xml b/business/src/main/resources/mapper/SetupTlMapper.xml deleted file mode 100644 index b8a24b6..0000000 --- a/business/src/main/resources/mapper/SetupTlMapper.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - select STEEL_GRADE, YIELD_STREN, THICK, VALUE1, VALUE2, VALUE3, VALUE4, VALUE5, VALUE6, VALUE7, VALUE8, VALUE9, VALUE10, UPDATE_TIME, CREATE_TIME from setup_tl - - - - - - - - insert into setup_tl - - STEEL_GRADE, - YIELD_STREN, - THICK, - VALUE1, - VALUE2, - VALUE3, - VALUE4, - VALUE5, - VALUE6, - VALUE7, - VALUE8, - VALUE9, - VALUE10, - UPDATE_TIME, - CREATE_TIME, - - - #{steelGrade}, - #{yieldStren}, - #{THICK}, - #{VALUE1}, - #{VALUE2}, - #{VALUE3}, - #{VALUE4}, - #{VALUE5}, - #{VALUE6}, - #{VALUE7}, - #{VALUE8}, - #{VALUE9}, - #{VALUE10}, - #{updateTime}, - #{createTime}, - - - - - update setup_tl - - YIELD_STREN = #{yieldStren}, - THICK = #{THICK}, - VALUE1 = #{VALUE1}, - VALUE2 = #{VALUE2}, - VALUE3 = #{VALUE3}, - VALUE4 = #{VALUE4}, - VALUE5 = #{VALUE5}, - VALUE6 = #{VALUE6}, - VALUE7 = #{VALUE7}, - VALUE8 = #{VALUE8}, - VALUE9 = #{VALUE9}, - VALUE10 = #{VALUE10}, - UPDATE_TIME = #{updateTime}, - CREATE_TIME = #{createTime}, - - where STEEL_GRADE = #{steelGrade} - - - - delete from setup_tl where STEEL_GRADE = #{steelGrade} - - - - delete from setup_tl where STEEL_GRADE in - - #{steelGrade} - - - \ No newline at end of file diff --git a/business/src/main/resources/mapper/SetupTmBendforceMapper.xml b/business/src/main/resources/mapper/SetupTmBendforceMapper.xml deleted file mode 100644 index ac9a66a..0000000 --- a/business/src/main/resources/mapper/SetupTmBendforceMapper.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - select WIDTH, ROLL_FORCE, VALUE1, VALUE2, VALUE3, VALUE4, UPDATE_TIME, CREATE_TIME from setup_tm_bendforce - - - - - - - - insert into setup_tm_bendforce - - WIDTH, - ROLL_FORCE, - VALUE1, - VALUE2, - VALUE3, - VALUE4, - UPDATE_TIME, - CREATE_TIME, - - - #{WIDTH}, - #{rollForce}, - #{VALUE1}, - #{VALUE2}, - #{VALUE3}, - #{VALUE4}, - #{updateTime}, - #{createTime}, - - - - - update setup_tm_bendforce - - ROLL_FORCE = #{rollForce}, - VALUE1 = #{VALUE1}, - VALUE2 = #{VALUE2}, - VALUE3 = #{VALUE3}, - VALUE4 = #{VALUE4}, - UPDATE_TIME = #{updateTime}, - CREATE_TIME = #{createTime}, - - where WIDTH = #{WIDTH} - - - - delete from setup_tm_bendforce where WIDTH = #{WIDTH} - - - - delete from setup_tm_bendforce where WIDTH in - - #{WIDTH} - - - \ No newline at end of file diff --git a/business/src/main/resources/mapper/SetupTmMeshMapper.xml b/business/src/main/resources/mapper/SetupTmMeshMapper.xml deleted file mode 100644 index eb779a3..0000000 --- a/business/src/main/resources/mapper/SetupTmMeshMapper.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - select STEEL_GRADE, YIELD_STREN, THICK, VALUE1, VALUE2, VALUE3, VALUE4, VALUE5, VALUE6, VALUE7, VALUE8, VALUE9, VALUE10, UPDATE_TIME, CREATE_TIME from setup_tm_mesh - - - - - - - - insert into setup_tm_mesh - - STEEL_GRADE, - YIELD_STREN, - THICK, - VALUE1, - VALUE2, - VALUE3, - VALUE4, - VALUE5, - VALUE6, - VALUE7, - VALUE8, - VALUE9, - VALUE10, - UPDATE_TIME, - CREATE_TIME, - - - #{steelGrade}, - #{yieldStren}, - #{THICK}, - #{VALUE1}, - #{VALUE2}, - #{VALUE3}, - #{VALUE4}, - #{VALUE5}, - #{VALUE6}, - #{VALUE7}, - #{VALUE8}, - #{VALUE9}, - #{VALUE10}, - #{updateTime}, - #{createTime}, - - - - - update setup_tm_mesh - - YIELD_STREN = #{yieldStren}, - THICK = #{THICK}, - VALUE1 = #{VALUE1}, - VALUE2 = #{VALUE2}, - VALUE3 = #{VALUE3}, - VALUE4 = #{VALUE4}, - VALUE5 = #{VALUE5}, - VALUE6 = #{VALUE6}, - VALUE7 = #{VALUE7}, - VALUE8 = #{VALUE8}, - VALUE9 = #{VALUE9}, - VALUE10 = #{VALUE10}, - UPDATE_TIME = #{updateTime}, - CREATE_TIME = #{createTime}, - - where STEEL_GRADE = #{steelGrade} - - - - delete from setup_tm_mesh where STEEL_GRADE = #{steelGrade} - - - - delete from setup_tm_mesh where STEEL_GRADE in - - #{steelGrade} - - - \ No newline at end of file diff --git a/business/src/main/resources/mapper/SetupTmRollforceMapper.xml b/business/src/main/resources/mapper/SetupTmRollforceMapper.xml deleted file mode 100644 index 14199b7..0000000 --- a/business/src/main/resources/mapper/SetupTmRollforceMapper.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - select STEEL_GRADE, THICK, YIELD_STREN, ELONG, VALUE1, VALUE2, VALUE3, VALUE4, VALUE5, VALUE6, VALUE7, VALUE8, VALUE9, VALUE10, UPDATE_TIME, CREATE_TIME from setup_tm_rollforce - - - - - - - - insert into setup_tm_rollforce - - STEEL_GRADE, - THICK, - YIELD_STREN, - ELONG, - VALUE1, - VALUE2, - VALUE3, - VALUE4, - VALUE5, - VALUE6, - VALUE7, - VALUE8, - VALUE9, - VALUE10, - UPDATE_TIME, - CREATE_TIME, - - - #{steelGrade}, - #{THICK}, - #{yieldStren}, - #{ELONG}, - #{VALUE1}, - #{VALUE2}, - #{VALUE3}, - #{VALUE4}, - #{VALUE5}, - #{VALUE6}, - #{VALUE7}, - #{VALUE8}, - #{VALUE9}, - #{VALUE10}, - #{updateTime}, - #{createTime}, - - - - - update setup_tm_rollforce - - THICK = #{THICK}, - YIELD_STREN = #{yieldStren}, - ELONG = #{ELONG}, - VALUE1 = #{VALUE1}, - VALUE2 = #{VALUE2}, - VALUE3 = #{VALUE3}, - VALUE4 = #{VALUE4}, - VALUE5 = #{VALUE5}, - VALUE6 = #{VALUE6}, - VALUE7 = #{VALUE7}, - VALUE8 = #{VALUE8}, - VALUE9 = #{VALUE9}, - VALUE10 = #{VALUE10}, - UPDATE_TIME = #{updateTime}, - CREATE_TIME = #{createTime}, - - where STEEL_GRADE = #{steelGrade} - - - - delete from setup_tm_rollforce where STEEL_GRADE = #{steelGrade} - - - - delete from setup_tm_rollforce where STEEL_GRADE in - - #{steelGrade} - - - \ No newline at end of file