diff --git a/business/src/main/java/com/fizz/business/comm/OPC/MessageSubscriptionRunner.java b/business/src/main/java/com/fizz/business/comm/OPC/MessageSubscriptionRunner.java index 6c4b86d..989ea27 100644 --- a/business/src/main/java/com/fizz/business/comm/OPC/MessageSubscriptionRunner.java +++ b/business/src/main/java/com/fizz/business/comm/OPC/MessageSubscriptionRunner.java @@ -26,7 +26,7 @@ import java.util.concurrent.atomic.AtomicBoolean; import static com.fizz.business.service.manager.OpcMessageIdsManager.*; -@Component +//@Component @Slf4j public class MessageSubscriptionRunner implements ApplicationRunner { diff --git a/business/src/main/java/com/fizz/business/controller/PdiSetupController.java b/business/src/main/java/com/fizz/business/controller/PdiSetupController.java new file mode 100644 index 0000000..2eff580 --- /dev/null +++ b/business/src/main/java/com/fizz/business/controller/PdiSetupController.java @@ -0,0 +1,104 @@ +package com.fizz.business.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.fizz.business.domain.PdiSetup; +import com.fizz.business.service.IPdiSetupService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 生产计划的参数详情Controller + * + * @author Joshi + * @date 2025-09-25 + */ +@RestController +@RequestMapping("/business/setup") +public class PdiSetupController extends BaseController +{ + @Autowired + private IPdiSetupService pdiSetupService; + + /** + * 查询生产计划的参数详情列表 + */ + @PreAuthorize("@ss.hasPermi('business:setup:list')") + @GetMapping("/list") + public TableDataInfo list(PdiSetup pdiSetup) + { + startPage(); + List list = pdiSetupService.selectPdiSetupList(pdiSetup); + return getDataTable(list); + } + + /** + * 导出生产计划的参数详情列表 + */ + @PreAuthorize("@ss.hasPermi('business:setup:export')") + @Log(title = "生产计划的参数详情", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, PdiSetup pdiSetup) + { + List list = pdiSetupService.selectPdiSetupList(pdiSetup); + ExcelUtil util = new ExcelUtil(PdiSetup.class); + util.exportExcel(response, list, "生产计划的参数详情数据"); + } + + /** + * 获取生产计划的参数详情详细信息 + */ + @PreAuthorize("@ss.hasPermi('business:setup:query')") + @GetMapping(value = "/{ID}") + public AjaxResult getInfo(@PathVariable("ID") Long ID) + { + return success(pdiSetupService.selectPdiSetupByID(ID)); + } + + /** + * 新增生产计划的参数详情 + */ + @PreAuthorize("@ss.hasPermi('business:setup:add')") + @Log(title = "生产计划的参数详情", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody PdiSetup pdiSetup) + { + return toAjax(pdiSetupService.insertPdiSetup(pdiSetup)); + } + + /** + * 修改生产计划的参数详情 + */ + @PreAuthorize("@ss.hasPermi('business:setup:edit')") + @Log(title = "生产计划的参数详情", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody PdiSetup pdiSetup) + { + return toAjax(pdiSetupService.updatePdiSetup(pdiSetup)); + } + + /** + * 删除生产计划的参数详情 + */ + @PreAuthorize("@ss.hasPermi('business:setup:remove')") + @Log(title = "生产计划的参数详情", businessType = BusinessType.DELETE) + @DeleteMapping("/{IDs}") + public AjaxResult remove(@PathVariable Long[] 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 new file mode 100644 index 0000000..8a18431 --- /dev/null +++ b/business/src/main/java/com/fizz/business/controller/SetupTensionController.java @@ -0,0 +1,98 @@ +package com.fizz.business.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.fizz.business.domain.SetupTension; +import com.fizz.business.service.ISetupTensionService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 全线张力Controller + * + * @author Joshi + * @date 2025-09-25 + */ +@RestController +@RequestMapping("/business/tension") +public class SetupTensionController extends BaseController +{ + @Autowired + private ISetupTensionService setupTensionService; + + /** + * 查询全线张力列表 + */ + @GetMapping("/list") + public TableDataInfo list(SetupTension setupTension) + { + startPage(); + List list = setupTensionService.selectSetupTensionList(setupTension); + return getDataTable(list); + } + + /** + * 导出全线张力列表 + */ + @Log(title = "全线张力", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SetupTension setupTension) + { + List list = setupTensionService.selectSetupTensionList(setupTension); + ExcelUtil util = new ExcelUtil(SetupTension.class); + util.exportExcel(response, list, "全线张力数据"); + } + + /** + * 获取全线张力详细信息 + */ + @GetMapping(value = "/{THICK}") + public AjaxResult getInfo(@PathVariable("THICK") Long THICK) + { + return success(setupTensionService.selectSetupTensionByTHICK(THICK)); + } + + /** + * 新增全线张力 + */ + @Log(title = "全线张力", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SetupTension setupTension) + { + return toAjax(setupTensionService.insertSetupTension(setupTension)); + } + + /** + * 修改全线张力 + */ + @Log(title = "全线张力", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SetupTension setupTension) + { + return toAjax(setupTensionService.updateSetupTension(setupTension)); + } + + /** + * 删除全线张力 + */ + @Log(title = "全线张力", businessType = BusinessType.DELETE) + @DeleteMapping("/{THICKs}") + public AjaxResult remove(@PathVariable Long[] THICKs) + { + return toAjax(setupTensionService.deleteSetupTensionByTHICKs(THICKs)); + } +} diff --git a/business/src/main/java/com/fizz/business/controller/SetupTlController.java b/business/src/main/java/com/fizz/business/controller/SetupTlController.java new file mode 100644 index 0000000..5fdea78 --- /dev/null +++ b/business/src/main/java/com/fizz/business/controller/SetupTlController.java @@ -0,0 +1,98 @@ +package com.fizz.business.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.fizz.business.domain.SetupTl; +import com.fizz.business.service.ISetupTlService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 拉矫机参数Controller + * + * @author Joshi + * @date 2025-09-25 + */ +@RestController +@RequestMapping("/business/tl") +public class SetupTlController extends BaseController +{ + @Autowired + private ISetupTlService setupTlService; + + /** + * 查询拉矫机参数列表 + */ + @GetMapping("/list") + public TableDataInfo list(SetupTl setupTl) + { + startPage(); + List list = setupTlService.selectSetupTlList(setupTl); + return getDataTable(list); + } + + /** + * 导出拉矫机参数列表 + */ + @Log(title = "拉矫机参数", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SetupTl setupTl) + { + List list = setupTlService.selectSetupTlList(setupTl); + ExcelUtil util = new ExcelUtil(SetupTl.class); + util.exportExcel(response, list, "拉矫机参数数据"); + } + + /** + * 获取拉矫机参数详细信息 + */ + @GetMapping(value = "/{steelGrade}") + public AjaxResult getInfo(@PathVariable("steelGrade") String steelGrade) + { + return success(setupTlService.selectSetupTlBySteelGrade(steelGrade)); + } + + /** + * 新增拉矫机参数 + */ + @Log(title = "拉矫机参数", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SetupTl setupTl) + { + return toAjax(setupTlService.insertSetupTl(setupTl)); + } + + /** + * 修改拉矫机参数 + */ + @Log(title = "拉矫机参数", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SetupTl setupTl) + { + return toAjax(setupTlService.updateSetupTl(setupTl)); + } + + /** + * 删除拉矫机参数 + */ + @Log(title = "拉矫机参数", businessType = BusinessType.DELETE) + @DeleteMapping("/{steelGrades}") + public AjaxResult remove(@PathVariable String[] steelGrades) + { + return toAjax(setupTlService.deleteSetupTlBySteelGrades(steelGrades)); + } +} diff --git a/business/src/main/java/com/fizz/business/controller/SetupTmBendforceController.java b/business/src/main/java/com/fizz/business/controller/SetupTmBendforceController.java new file mode 100644 index 0000000..c136d38 --- /dev/null +++ b/business/src/main/java/com/fizz/business/controller/SetupTmBendforceController.java @@ -0,0 +1,98 @@ +package com.fizz.business.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.fizz.business.domain.SetupTmBendforce; +import com.fizz.business.service.ISetupTmBendforceService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 光整机弯辊力Controller + * + * @author Joshi + * @date 2025-09-25 + */ +@RestController +@RequestMapping("/business/bendforce") +public class SetupTmBendforceController extends BaseController +{ + @Autowired + private ISetupTmBendforceService setupTmBendforceService; + + /** + * 查询光整机弯辊力列表 + */ + @GetMapping("/list") + public TableDataInfo list(SetupTmBendforce setupTmBendforce) + { + startPage(); + List list = setupTmBendforceService.selectSetupTmBendforceList(setupTmBendforce); + return getDataTable(list); + } + + /** + * 导出光整机弯辊力列表 + */ + @Log(title = "光整机弯辊力", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SetupTmBendforce setupTmBendforce) + { + List list = setupTmBendforceService.selectSetupTmBendforceList(setupTmBendforce); + ExcelUtil util = new ExcelUtil(SetupTmBendforce.class); + util.exportExcel(response, list, "光整机弯辊力数据"); + } + + /** + * 获取光整机弯辊力详细信息 + */ + @GetMapping(value = "/{WIDTH}") + public AjaxResult getInfo(@PathVariable("WIDTH") Long WIDTH) + { + return success(setupTmBendforceService.selectSetupTmBendforceByWIDTH(WIDTH)); + } + + /** + * 新增光整机弯辊力 + */ + @Log(title = "光整机弯辊力", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SetupTmBendforce setupTmBendforce) + { + return toAjax(setupTmBendforceService.insertSetupTmBendforce(setupTmBendforce)); + } + + /** + * 修改光整机弯辊力 + */ + @Log(title = "光整机弯辊力", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SetupTmBendforce setupTmBendforce) + { + return toAjax(setupTmBendforceService.updateSetupTmBendforce(setupTmBendforce)); + } + + /** + * 删除光整机弯辊力 + */ + @Log(title = "光整机弯辊力", businessType = BusinessType.DELETE) + @DeleteMapping("/{WIDTHs}") + public AjaxResult remove(@PathVariable Long[] WIDTHs) + { + return toAjax(setupTmBendforceService.deleteSetupTmBendforceByWIDTHs(WIDTHs)); + } +} diff --git a/business/src/main/java/com/fizz/business/controller/SetupTmMeshController.java b/business/src/main/java/com/fizz/business/controller/SetupTmMeshController.java new file mode 100644 index 0000000..20176de --- /dev/null +++ b/business/src/main/java/com/fizz/business/controller/SetupTmMeshController.java @@ -0,0 +1,98 @@ +package com.fizz.business.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.fizz.business.domain.SetupTmMesh; +import com.fizz.business.service.ISetupTmMeshService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 光整机插入量Controller + * + * @author Joshi + * @date 2025-09-25 + */ +@RestController +@RequestMapping("/business/mesh") +public class SetupTmMeshController extends BaseController +{ + @Autowired + private ISetupTmMeshService setupTmMeshService; + + /** + * 查询光整机插入量列表 + */ + @GetMapping("/list") + public TableDataInfo list(SetupTmMesh setupTmMesh) + { + startPage(); + List list = setupTmMeshService.selectSetupTmMeshList(setupTmMesh); + return getDataTable(list); + } + + /** + * 导出光整机插入量列表 + */ + @Log(title = "光整机插入量", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SetupTmMesh setupTmMesh) + { + List list = setupTmMeshService.selectSetupTmMeshList(setupTmMesh); + ExcelUtil util = new ExcelUtil(SetupTmMesh.class); + util.exportExcel(response, list, "光整机插入量数据"); + } + + /** + * 获取光整机插入量详细信息 + */ + @GetMapping(value = "/{steelGrade}") + public AjaxResult getInfo(@PathVariable("steelGrade") String steelGrade) + { + return success(setupTmMeshService.selectSetupTmMeshBySteelGrade(steelGrade)); + } + + /** + * 新增光整机插入量 + */ + @Log(title = "光整机插入量", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SetupTmMesh setupTmMesh) + { + return toAjax(setupTmMeshService.insertSetupTmMesh(setupTmMesh)); + } + + /** + * 修改光整机插入量 + */ + @Log(title = "光整机插入量", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SetupTmMesh setupTmMesh) + { + return toAjax(setupTmMeshService.updateSetupTmMesh(setupTmMesh)); + } + + /** + * 删除光整机插入量 + */ + @Log(title = "光整机插入量", businessType = BusinessType.DELETE) + @DeleteMapping("/{steelGrades}") + public AjaxResult remove(@PathVariable String[] steelGrades) + { + return toAjax(setupTmMeshService.deleteSetupTmMeshBySteelGrades(steelGrades)); + } +} diff --git a/business/src/main/java/com/fizz/business/controller/SetupTmRollforceController.java b/business/src/main/java/com/fizz/business/controller/SetupTmRollforceController.java new file mode 100644 index 0000000..45e34cf --- /dev/null +++ b/business/src/main/java/com/fizz/business/controller/SetupTmRollforceController.java @@ -0,0 +1,98 @@ +package com.fizz.business.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.fizz.business.domain.SetupTmRollforce; +import com.fizz.business.service.ISetupTmRollforceService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 光整机轧制力Controller + * + * @author Joshi + * @date 2025-09-25 + */ +@RestController +@RequestMapping("/business/rollforce") +public class SetupTmRollforceController extends BaseController +{ + @Autowired + private ISetupTmRollforceService setupTmRollforceService; + + /** + * 查询光整机轧制力列表 + */ + @GetMapping("/list") + public TableDataInfo list(SetupTmRollforce setupTmRollforce) + { + startPage(); + List list = setupTmRollforceService.selectSetupTmRollforceList(setupTmRollforce); + return getDataTable(list); + } + + /** + * 导出光整机轧制力列表 + */ + @Log(title = "光整机轧制力", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SetupTmRollforce setupTmRollforce) + { + List list = setupTmRollforceService.selectSetupTmRollforceList(setupTmRollforce); + ExcelUtil util = new ExcelUtil(SetupTmRollforce.class); + util.exportExcel(response, list, "光整机轧制力数据"); + } + + /** + * 获取光整机轧制力详细信息 + */ + @GetMapping(value = "/{steelGrade}") + public AjaxResult getInfo(@PathVariable("steelGrade") String steelGrade) + { + return success(setupTmRollforceService.selectSetupTmRollforceBySteelGrade(steelGrade)); + } + + /** + * 新增光整机轧制力 + */ + @Log(title = "光整机轧制力", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SetupTmRollforce setupTmRollforce) + { + return toAjax(setupTmRollforceService.insertSetupTmRollforce(setupTmRollforce)); + } + + /** + * 修改光整机轧制力 + */ + @Log(title = "光整机轧制力", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SetupTmRollforce setupTmRollforce) + { + return toAjax(setupTmRollforceService.updateSetupTmRollforce(setupTmRollforce)); + } + + /** + * 删除光整机轧制力 + */ + @Log(title = "光整机轧制力", businessType = BusinessType.DELETE) + @DeleteMapping("/{steelGrades}") + public AjaxResult remove(@PathVariable String[] steelGrades) + { + return toAjax(setupTmRollforceService.deleteSetupTmRollforceBySteelGrades(steelGrades)); + } +} diff --git a/business/src/main/java/com/fizz/business/domain/PdiSetup.java b/business/src/main/java/com/fizz/business/domain/PdiSetup.java new file mode 100644 index 0000000..781bac8 --- /dev/null +++ b/business/src/main/java/com/fizz/business/domain/PdiSetup.java @@ -0,0 +1,375 @@ +package com.fizz.business.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 生产计划的参数详情对象 pdi_setup + * + * @author Joshi + * @date 2025-09-25 + */ +public class PdiSetup extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long ID; + + /** 钢卷号 */ + @Excel(name = "钢卷号") + private String COILID; + + /** 计划号 */ + @Excel(name = "计划号") + private String PLANID; + + /** 开卷机张力 */ + @Excel(name = "开卷机张力") + private Long porTension; + + /** 入口活套张力 */ + @Excel(name = "入口活套张力") + private Long celTension; + + /** 清洗段张力 */ + @Excel(name = "清洗段张力") + private Long cleanTension; + + /** 炉区张力 */ + @Excel(name = "炉区张力") + private Long furTension; + + /** 冷却塔张力 */ + @Excel(name = "冷却塔张力") + private Long towerTension; + + /** 光整机不投张力 */ + @Excel(name = "光整机不投张力") + private Long tmNoneTension; + + /** 光整机入口张力 */ + @Excel(name = "光整机入口张力") + private Long tmEntryTension; + + /** 光整机出口张力 */ + @Excel(name = "光整机出口张力") + private Long tmExitTension; + + /** 光整机轧制力 */ + @Excel(name = "光整机轧制力") + private Long tmRollforce; + + /** 光整机弯辊力 */ + @Excel(name = "光整机弯辊力") + private Long tmBendforce; + + /** 光整机防皱辊插入量 */ + @Excel(name = "光整机防皱辊插入量") + private Long tmAcrMesh; + + /** 光整机防颤辊插入量 */ + @Excel(name = "光整机防颤辊插入量") + private Long tmBrMesh; + + /** 拉矫机不投张力 */ + @Excel(name = "拉矫机不投张力") + private Long tlNoneTension; + + /** 拉矫机出口张力 */ + @Excel(name = "拉矫机出口张力") + private Long tlExitTension; + + /** 拉矫机延伸率 */ + @Excel(name = "拉矫机延伸率") + private Long tlElong; + + /** 拉矫机矫直辊插入量1 */ + @Excel(name = "拉矫机矫直辊插入量1") + private Long tlLvlMesh1; + + /** 拉矫机矫直辊插入量2 */ + @Excel(name = "拉矫机矫直辊插入量2") + private Long tlLvlMesh2; + + /** 拉矫机防横弓插入量 */ + @Excel(name = "拉矫机防横弓插入量") + private Long tlAcbMesh; + + /** 后处理张力 */ + @Excel(name = "后处理张力") + private Long coatTension; + + /** 出口活套张力 */ + @Excel(name = "出口活套张力") + private Long cxlTension; + + /** 卷取机张力 */ + @Excel(name = "卷取机张力") + private Long trTension; + + /** 类型,或可用于记录更改次数 */ + @Excel(name = "类型,或可用于记录更改次数") + 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 new file mode 100644 index 0000000..d61980a --- /dev/null +++ b/business/src/main/java/com/fizz/business/domain/SetupTension.java @@ -0,0 +1,86 @@ +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; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 全线张力对象 setup_tension + * + * @author Joshi + * @date 2025-09-25 + */ +@Data +public class SetupTension extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long THICK; + + /** 强度 */ + private Long yieldStren; + + /** 开卷机张力 */ + @Excel(name = "开卷机张力") + private Long VALUE1; + + /** 入口活套 */ + @Excel(name = "入口活套") + private Long VALUE2; + + /** 清洗段 */ + @Excel(name = "清洗段") + private Long VALUE3; + + /** 炉区张力 */ + @Excel(name = "炉区张力") + private Long VALUE4; + + /** 冷却塔 */ + @Excel(name = "冷却塔") + private Long VALUE5; + + /** 光整机-不投 */ + @Excel(name = "光整机-不投") + private Long VALUE6; + + /** 光整机入口 */ + @Excel(name = "光整机入口") + private Long VALUE7; + + /** 光整机出口 */ + @Excel(name = "光整机出口") + private Long VALUE8; + + /** 拉矫机-不投 */ + @Excel(name = "拉矫机-不投") + private Long VALUE9; + + /** 拉矫机出口 */ + @Excel(name = "拉矫机出口") + private Long VALUE10; + + /** 后处理 */ + @Excel(name = "后处理") + private Long VALUE11; + + /** 出口活套 */ + @Excel(name = "出口活套") + private Long VALUE12; + + /** 卷取机 */ + @Excel(name = "卷取机") + private Long VALUE13; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE14; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE15; + +} diff --git a/business/src/main/java/com/fizz/business/domain/SetupTl.java b/business/src/main/java/com/fizz/business/domain/SetupTl.java new file mode 100644 index 0000000..f24bc30 --- /dev/null +++ b/business/src/main/java/com/fizz/business/domain/SetupTl.java @@ -0,0 +1,69 @@ +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; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 拉矫机参数对象 setup_tl + * + * @author Joshi + * @date 2025-09-25 + */ +@Data +public class SetupTl extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private String steelGrade; + + /** $column.columnComment */ + private Long yieldStren; + + /** $column.columnComment */ + private Long THICK; + + /** 延伸率 */ + @Excel(name = "延伸率") + private Long VALUE1; + + /** 矫直辊插入量1 */ + @Excel(name = "矫直辊插入量1") + private Long VALUE2; + + /** 矫直辊插入量2 */ + @Excel(name = "矫直辊插入量2") + private Long VALUE3; + + /** 防横弓插入量 */ + @Excel(name = "防横弓插入量") + private Long VALUE4; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE5; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE6; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE7; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE8; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE9; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE10; + +} diff --git a/business/src/main/java/com/fizz/business/domain/SetupTmBendforce.java b/business/src/main/java/com/fizz/business/domain/SetupTmBendforce.java new file mode 100644 index 0000000..20f1ee7 --- /dev/null +++ b/business/src/main/java/com/fizz/business/domain/SetupTmBendforce.java @@ -0,0 +1,42 @@ +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; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 光整机弯辊力对象 setup_tm_bendforce + * + * @author Joshi + * @date 2025-09-25 + */ +@Data +public class SetupTmBendforce extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 宽度 */ + private Long WIDTH; + + /** 轧制力 */ + private Long rollForce; + + /** 弯辊力 */ + @Excel(name = "弯辊力") + private Long VALUE1; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE2; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE3; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE4; + +} diff --git a/business/src/main/java/com/fizz/business/domain/SetupTmMesh.java b/business/src/main/java/com/fizz/business/domain/SetupTmMesh.java new file mode 100644 index 0000000..f8289ec --- /dev/null +++ b/business/src/main/java/com/fizz/business/domain/SetupTmMesh.java @@ -0,0 +1,69 @@ +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; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 光整机插入量对象 setup_tm_mesh + * + * @author Joshi + * @date 2025-09-25 + */ +@Data +public class SetupTmMesh extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private String steelGrade; + + /** $column.columnComment */ + private Long yieldStren; + + /** $column.columnComment */ + private Long THICK; + + /** 防皱辊插入量 */ + @Excel(name = "防皱辊插入量") + private Long VALUE1; + + /** 防颤辊插入量 */ + @Excel(name = "防颤辊插入量") + private Long VALUE2; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE3; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE4; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE5; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE6; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE7; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE8; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE9; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE10; + +} diff --git a/business/src/main/java/com/fizz/business/domain/SetupTmRollforce.java b/business/src/main/java/com/fizz/business/domain/SetupTmRollforce.java new file mode 100644 index 0000000..a2887c6 --- /dev/null +++ b/business/src/main/java/com/fizz/business/domain/SetupTmRollforce.java @@ -0,0 +1,72 @@ +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; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 光整机轧制力对象 setup_tm_rollforce + * + * @author Joshi + * @date 2025-09-25 + */ +@Data +public class SetupTmRollforce extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private String steelGrade; + + /** $column.columnComment */ + private Long THICK; + + /** $column.columnComment */ + private Long yieldStren; + + /** 延伸率 */ + private Long ELONG; + + /** 轧制力 */ + @Excel(name = "轧制力") + private Long VALUE1; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE2; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE3; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE4; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE5; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE6; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE7; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE8; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE9; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long VALUE10; + +} diff --git a/business/src/main/java/com/fizz/business/mapper/PdiSetupMapper.java b/business/src/main/java/com/fizz/business/mapper/PdiSetupMapper.java new file mode 100644 index 0000000..b297717 --- /dev/null +++ b/business/src/main/java/com/fizz/business/mapper/PdiSetupMapper.java @@ -0,0 +1,61 @@ +package com.fizz.business.mapper; + +import java.util.List; +import com.fizz.business.domain.PdiSetup; + +/** + * 生产计划的参数详情Mapper接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface PdiSetupMapper +{ + /** + * 查询生产计划的参数详情 + * + * @param ID 生产计划的参数详情主键 + * @return 生产计划的参数详情 + */ + public PdiSetup selectPdiSetupByID(Long ID); + + /** + * 查询生产计划的参数详情列表 + * + * @param pdiSetup 生产计划的参数详情 + * @return 生产计划的参数详情集合 + */ + public List selectPdiSetupList(PdiSetup pdiSetup); + + /** + * 新增生产计划的参数详情 + * + * @param pdiSetup 生产计划的参数详情 + * @return 结果 + */ + public int insertPdiSetup(PdiSetup pdiSetup); + + /** + * 修改生产计划的参数详情 + * + * @param pdiSetup 生产计划的参数详情 + * @return 结果 + */ + public int updatePdiSetup(PdiSetup pdiSetup); + + /** + * 删除生产计划的参数详情 + * + * @param ID 生产计划的参数详情主键 + * @return 结果 + */ + public int deletePdiSetupByID(Long ID); + + /** + * 批量删除生产计划的参数详情 + * + * @param IDs 需要删除的数据主键集合 + * @return 结果 + */ + 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 new file mode 100644 index 0000000..f9d2853 --- /dev/null +++ b/business/src/main/java/com/fizz/business/mapper/SetupTensionMapper.java @@ -0,0 +1,61 @@ +package com.fizz.business.mapper; + +import java.util.List; +import com.fizz.business.domain.SetupTension; + +/** + * 全线张力Mapper接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface SetupTensionMapper +{ + /** + * 查询全线张力 + * + * @param THICK 全线张力主键 + * @return 全线张力 + */ + public SetupTension selectSetupTensionByTHICK(Long THICK); + + /** + * 查询全线张力列表 + * + * @param setupTension 全线张力 + * @return 全线张力集合 + */ + public List selectSetupTensionList(SetupTension setupTension); + + /** + * 新增全线张力 + * + * @param setupTension 全线张力 + * @return 结果 + */ + public int insertSetupTension(SetupTension setupTension); + + /** + * 修改全线张力 + * + * @param setupTension 全线张力 + * @return 结果 + */ + public int updateSetupTension(SetupTension setupTension); + + /** + * 删除全线张力 + * + * @param THICK 全线张力主键 + * @return 结果 + */ + public int deleteSetupTensionByTHICK(Long THICK); + + /** + * 批量删除全线张力 + * + * @param THICKs 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSetupTensionByTHICKs(Long[] THICKs); +} diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTlMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTlMapper.java new file mode 100644 index 0000000..c0a5e03 --- /dev/null +++ b/business/src/main/java/com/fizz/business/mapper/SetupTlMapper.java @@ -0,0 +1,61 @@ +package com.fizz.business.mapper; + +import java.util.List; +import com.fizz.business.domain.SetupTl; + +/** + * 拉矫机参数Mapper接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface SetupTlMapper +{ + /** + * 查询拉矫机参数 + * + * @param steelGrade 拉矫机参数主键 + * @return 拉矫机参数 + */ + public SetupTl selectSetupTlBySteelGrade(String steelGrade); + + /** + * 查询拉矫机参数列表 + * + * @param setupTl 拉矫机参数 + * @return 拉矫机参数集合 + */ + public List selectSetupTlList(SetupTl setupTl); + + /** + * 新增拉矫机参数 + * + * @param setupTl 拉矫机参数 + * @return 结果 + */ + public int insertSetupTl(SetupTl setupTl); + + /** + * 修改拉矫机参数 + * + * @param setupTl 拉矫机参数 + * @return 结果 + */ + public int updateSetupTl(SetupTl setupTl); + + /** + * 删除拉矫机参数 + * + * @param steelGrade 拉矫机参数主键 + * @return 结果 + */ + public int deleteSetupTlBySteelGrade(String steelGrade); + + /** + * 批量删除拉矫机参数 + * + * @param steelGrades 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSetupTlBySteelGrades(String[] steelGrades); +} diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTmBendforceMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTmBendforceMapper.java new file mode 100644 index 0000000..785d762 --- /dev/null +++ b/business/src/main/java/com/fizz/business/mapper/SetupTmBendforceMapper.java @@ -0,0 +1,61 @@ +package com.fizz.business.mapper; + +import java.util.List; +import com.fizz.business.domain.SetupTmBendforce; + +/** + * 光整机弯辊力Mapper接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface SetupTmBendforceMapper +{ + /** + * 查询光整机弯辊力 + * + * @param WIDTH 光整机弯辊力主键 + * @return 光整机弯辊力 + */ + public SetupTmBendforce selectSetupTmBendforceByWIDTH(Long WIDTH); + + /** + * 查询光整机弯辊力列表 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 光整机弯辊力集合 + */ + public List selectSetupTmBendforceList(SetupTmBendforce setupTmBendforce); + + /** + * 新增光整机弯辊力 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 结果 + */ + public int insertSetupTmBendforce(SetupTmBendforce setupTmBendforce); + + /** + * 修改光整机弯辊力 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 结果 + */ + public int updateSetupTmBendforce(SetupTmBendforce setupTmBendforce); + + /** + * 删除光整机弯辊力 + * + * @param WIDTH 光整机弯辊力主键 + * @return 结果 + */ + public int deleteSetupTmBendforceByWIDTH(Long WIDTH); + + /** + * 批量删除光整机弯辊力 + * + * @param WIDTHs 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSetupTmBendforceByWIDTHs(Long[] WIDTHs); +} diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTmMeshMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTmMeshMapper.java new file mode 100644 index 0000000..7f85d35 --- /dev/null +++ b/business/src/main/java/com/fizz/business/mapper/SetupTmMeshMapper.java @@ -0,0 +1,61 @@ +package com.fizz.business.mapper; + +import java.util.List; +import com.fizz.business.domain.SetupTmMesh; + +/** + * 光整机插入量Mapper接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface SetupTmMeshMapper +{ + /** + * 查询光整机插入量 + * + * @param steelGrade 光整机插入量主键 + * @return 光整机插入量 + */ + public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade); + + /** + * 查询光整机插入量列表 + * + * @param setupTmMesh 光整机插入量 + * @return 光整机插入量集合 + */ + public List selectSetupTmMeshList(SetupTmMesh setupTmMesh); + + /** + * 新增光整机插入量 + * + * @param setupTmMesh 光整机插入量 + * @return 结果 + */ + public int insertSetupTmMesh(SetupTmMesh setupTmMesh); + + /** + * 修改光整机插入量 + * + * @param setupTmMesh 光整机插入量 + * @return 结果 + */ + public int updateSetupTmMesh(SetupTmMesh setupTmMesh); + + /** + * 删除光整机插入量 + * + * @param steelGrade 光整机插入量主键 + * @return 结果 + */ + public int deleteSetupTmMeshBySteelGrade(String steelGrade); + + /** + * 批量删除光整机插入量 + * + * @param steelGrades 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSetupTmMeshBySteelGrades(String[] steelGrades); +} diff --git a/business/src/main/java/com/fizz/business/mapper/SetupTmRollforceMapper.java b/business/src/main/java/com/fizz/business/mapper/SetupTmRollforceMapper.java new file mode 100644 index 0000000..d59fc64 --- /dev/null +++ b/business/src/main/java/com/fizz/business/mapper/SetupTmRollforceMapper.java @@ -0,0 +1,61 @@ +package com.fizz.business.mapper; + +import java.util.List; +import com.fizz.business.domain.SetupTmRollforce; + +/** + * 光整机轧制力Mapper接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface SetupTmRollforceMapper +{ + /** + * 查询光整机轧制力 + * + * @param steelGrade 光整机轧制力主键 + * @return 光整机轧制力 + */ + public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade); + + /** + * 查询光整机轧制力列表 + * + * @param setupTmRollforce 光整机轧制力 + * @return 光整机轧制力集合 + */ + public List selectSetupTmRollforceList(SetupTmRollforce setupTmRollforce); + + /** + * 新增光整机轧制力 + * + * @param setupTmRollforce 光整机轧制力 + * @return 结果 + */ + public int insertSetupTmRollforce(SetupTmRollforce setupTmRollforce); + + /** + * 修改光整机轧制力 + * + * @param setupTmRollforce 光整机轧制力 + * @return 结果 + */ + public int updateSetupTmRollforce(SetupTmRollforce setupTmRollforce); + + /** + * 删除光整机轧制力 + * + * @param steelGrade 光整机轧制力主键 + * @return 结果 + */ + public int deleteSetupTmRollforceBySteelGrade(String steelGrade); + + /** + * 批量删除光整机轧制力 + * + * @param steelGrades 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades); +} diff --git a/business/src/main/java/com/fizz/business/service/IPdiSetupService.java b/business/src/main/java/com/fizz/business/service/IPdiSetupService.java new file mode 100644 index 0000000..9994ffc --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/IPdiSetupService.java @@ -0,0 +1,61 @@ +package com.fizz.business.service; + +import java.util.List; +import com.fizz.business.domain.PdiSetup; + +/** + * 生产计划的参数详情Service接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface IPdiSetupService +{ + /** + * 查询生产计划的参数详情 + * + * @param ID 生产计划的参数详情主键 + * @return 生产计划的参数详情 + */ + public PdiSetup selectPdiSetupByID(Long ID); + + /** + * 查询生产计划的参数详情列表 + * + * @param pdiSetup 生产计划的参数详情 + * @return 生产计划的参数详情集合 + */ + public List selectPdiSetupList(PdiSetup pdiSetup); + + /** + * 新增生产计划的参数详情 + * + * @param pdiSetup 生产计划的参数详情 + * @return 结果 + */ + public int insertPdiSetup(PdiSetup pdiSetup); + + /** + * 修改生产计划的参数详情 + * + * @param pdiSetup 生产计划的参数详情 + * @return 结果 + */ + public int updatePdiSetup(PdiSetup pdiSetup); + + /** + * 批量删除生产计划的参数详情 + * + * @param IDs 需要删除的生产计划的参数详情主键集合 + * @return 结果 + */ + public int deletePdiSetupByIDs(Long[] IDs); + + /** + * 删除生产计划的参数详情信息 + * + * @param ID 生产计划的参数详情主键 + * @return 结果 + */ + public int 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 new file mode 100644 index 0000000..1a26344 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/ISetupTensionService.java @@ -0,0 +1,61 @@ +package com.fizz.business.service; + +import java.util.List; +import com.fizz.business.domain.SetupTension; + +/** + * 全线张力Service接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface ISetupTensionService +{ + /** + * 查询全线张力 + * + * @param THICK 全线张力主键 + * @return 全线张力 + */ + public SetupTension selectSetupTensionByTHICK(Long THICK); + + /** + * 查询全线张力列表 + * + * @param setupTension 全线张力 + * @return 全线张力集合 + */ + public List selectSetupTensionList(SetupTension setupTension); + + /** + * 新增全线张力 + * + * @param setupTension 全线张力 + * @return 结果 + */ + public int insertSetupTension(SetupTension setupTension); + + /** + * 修改全线张力 + * + * @param setupTension 全线张力 + * @return 结果 + */ + public int updateSetupTension(SetupTension setupTension); + + /** + * 批量删除全线张力 + * + * @param THICKs 需要删除的全线张力主键集合 + * @return 结果 + */ + public int deleteSetupTensionByTHICKs(Long[] THICKs); + + /** + * 删除全线张力信息 + * + * @param THICK 全线张力主键 + * @return 结果 + */ + 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 new file mode 100644 index 0000000..34b919d --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/ISetupTlService.java @@ -0,0 +1,61 @@ +package com.fizz.business.service; + +import java.util.List; +import com.fizz.business.domain.SetupTl; + +/** + * 拉矫机参数Service接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface ISetupTlService +{ + /** + * 查询拉矫机参数 + * + * @param steelGrade 拉矫机参数主键 + * @return 拉矫机参数 + */ + public SetupTl selectSetupTlBySteelGrade(String steelGrade); + + /** + * 查询拉矫机参数列表 + * + * @param setupTl 拉矫机参数 + * @return 拉矫机参数集合 + */ + public List selectSetupTlList(SetupTl setupTl); + + /** + * 新增拉矫机参数 + * + * @param setupTl 拉矫机参数 + * @return 结果 + */ + public int insertSetupTl(SetupTl setupTl); + + /** + * 修改拉矫机参数 + * + * @param setupTl 拉矫机参数 + * @return 结果 + */ + public int updateSetupTl(SetupTl setupTl); + + /** + * 批量删除拉矫机参数 + * + * @param steelGrades 需要删除的拉矫机参数主键集合 + * @return 结果 + */ + public int deleteSetupTlBySteelGrades(String[] steelGrades); + + /** + * 删除拉矫机参数信息 + * + * @param steelGrade 拉矫机参数主键 + * @return 结果 + */ + public int deleteSetupTlBySteelGrade(String steelGrade); +} diff --git a/business/src/main/java/com/fizz/business/service/ISetupTmBendforceService.java b/business/src/main/java/com/fizz/business/service/ISetupTmBendforceService.java new file mode 100644 index 0000000..6d5021c --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/ISetupTmBendforceService.java @@ -0,0 +1,61 @@ +package com.fizz.business.service; + +import java.util.List; +import com.fizz.business.domain.SetupTmBendforce; + +/** + * 光整机弯辊力Service接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface ISetupTmBendforceService +{ + /** + * 查询光整机弯辊力 + * + * @param WIDTH 光整机弯辊力主键 + * @return 光整机弯辊力 + */ + public SetupTmBendforce selectSetupTmBendforceByWIDTH(Long WIDTH); + + /** + * 查询光整机弯辊力列表 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 光整机弯辊力集合 + */ + public List selectSetupTmBendforceList(SetupTmBendforce setupTmBendforce); + + /** + * 新增光整机弯辊力 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 结果 + */ + public int insertSetupTmBendforce(SetupTmBendforce setupTmBendforce); + + /** + * 修改光整机弯辊力 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 结果 + */ + public int updateSetupTmBendforce(SetupTmBendforce setupTmBendforce); + + /** + * 批量删除光整机弯辊力 + * + * @param WIDTHs 需要删除的光整机弯辊力主键集合 + * @return 结果 + */ + public int deleteSetupTmBendforceByWIDTHs(Long[] WIDTHs); + + /** + * 删除光整机弯辊力信息 + * + * @param WIDTH 光整机弯辊力主键 + * @return 结果 + */ + 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 new file mode 100644 index 0000000..e2c8ce7 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/ISetupTmMeshService.java @@ -0,0 +1,61 @@ +package com.fizz.business.service; + +import java.util.List; +import com.fizz.business.domain.SetupTmMesh; + +/** + * 光整机插入量Service接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface ISetupTmMeshService +{ + /** + * 查询光整机插入量 + * + * @param steelGrade 光整机插入量主键 + * @return 光整机插入量 + */ + public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade); + + /** + * 查询光整机插入量列表 + * + * @param setupTmMesh 光整机插入量 + * @return 光整机插入量集合 + */ + public List selectSetupTmMeshList(SetupTmMesh setupTmMesh); + + /** + * 新增光整机插入量 + * + * @param setupTmMesh 光整机插入量 + * @return 结果 + */ + public int insertSetupTmMesh(SetupTmMesh setupTmMesh); + + /** + * 修改光整机插入量 + * + * @param setupTmMesh 光整机插入量 + * @return 结果 + */ + public int updateSetupTmMesh(SetupTmMesh setupTmMesh); + + /** + * 批量删除光整机插入量 + * + * @param steelGrades 需要删除的光整机插入量主键集合 + * @return 结果 + */ + public int deleteSetupTmMeshBySteelGrades(String[] steelGrades); + + /** + * 删除光整机插入量信息 + * + * @param steelGrade 光整机插入量主键 + * @return 结果 + */ + public int deleteSetupTmMeshBySteelGrade(String steelGrade); +} diff --git a/business/src/main/java/com/fizz/business/service/ISetupTmRollforceService.java b/business/src/main/java/com/fizz/business/service/ISetupTmRollforceService.java new file mode 100644 index 0000000..4f90fc6 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/ISetupTmRollforceService.java @@ -0,0 +1,61 @@ +package com.fizz.business.service; + +import java.util.List; +import com.fizz.business.domain.SetupTmRollforce; + +/** + * 光整机轧制力Service接口 + * + * @author Joshi + * @date 2025-09-25 + */ +public interface ISetupTmRollforceService +{ + /** + * 查询光整机轧制力 + * + * @param steelGrade 光整机轧制力主键 + * @return 光整机轧制力 + */ + public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade); + + /** + * 查询光整机轧制力列表 + * + * @param setupTmRollforce 光整机轧制力 + * @return 光整机轧制力集合 + */ + public List selectSetupTmRollforceList(SetupTmRollforce setupTmRollforce); + + /** + * 新增光整机轧制力 + * + * @param setupTmRollforce 光整机轧制力 + * @return 结果 + */ + public int insertSetupTmRollforce(SetupTmRollforce setupTmRollforce); + + /** + * 修改光整机轧制力 + * + * @param setupTmRollforce 光整机轧制力 + * @return 结果 + */ + public int updateSetupTmRollforce(SetupTmRollforce setupTmRollforce); + + /** + * 批量删除光整机轧制力 + * + * @param steelGrades 需要删除的光整机轧制力主键集合 + * @return 结果 + */ + public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades); + + /** + * 删除光整机轧制力信息 + * + * @param steelGrade 光整机轧制力主键 + * @return 结果 + */ + public int deleteSetupTmRollforceBySteelGrade(String steelGrade); +} 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 new file mode 100644 index 0000000..69dee68 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/impl/PdiSetupServiceImpl.java @@ -0,0 +1,96 @@ +package com.fizz.business.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.fizz.business.mapper.PdiSetupMapper; +import com.fizz.business.domain.PdiSetup; +import com.fizz.business.service.IPdiSetupService; + +/** + * 生产计划的参数详情Service业务层处理 + * + * @author Joshi + * @date 2025-09-25 + */ +@Service +public class PdiSetupServiceImpl implements IPdiSetupService +{ + @Autowired + private PdiSetupMapper pdiSetupMapper; + + /** + * 查询生产计划的参数详情 + * + * @param ID 生产计划的参数详情主键 + * @return 生产计划的参数详情 + */ + @Override + public PdiSetup selectPdiSetupByID(Long ID) + { + return pdiSetupMapper.selectPdiSetupByID(ID); + } + + /** + * 查询生产计划的参数详情列表 + * + * @param pdiSetup 生产计划的参数详情 + * @return 生产计划的参数详情 + */ + @Override + public List selectPdiSetupList(PdiSetup pdiSetup) + { + return pdiSetupMapper.selectPdiSetupList(pdiSetup); + } + + /** + * 新增生产计划的参数详情 + * + * @param pdiSetup 生产计划的参数详情 + * @return 结果 + */ + @Override + public int insertPdiSetup(PdiSetup pdiSetup) + { + pdiSetup.setCreateTime(DateUtils.getNowDate()); + return pdiSetupMapper.insertPdiSetup(pdiSetup); + } + + /** + * 修改生产计划的参数详情 + * + * @param pdiSetup 生产计划的参数详情 + * @return 结果 + */ + @Override + public int updatePdiSetup(PdiSetup pdiSetup) + { + pdiSetup.setUpdateTime(DateUtils.getNowDate()); + return pdiSetupMapper.updatePdiSetup(pdiSetup); + } + + /** + * 批量删除生产计划的参数详情 + * + * @param IDs 需要删除的生产计划的参数详情主键 + * @return 结果 + */ + @Override + public int deletePdiSetupByIDs(Long[] IDs) + { + return pdiSetupMapper.deletePdiSetupByIDs(IDs); + } + + /** + * 删除生产计划的参数详情信息 + * + * @param ID 生产计划的参数详情主键 + * @return 结果 + */ + @Override + public int deletePdiSetupByID(Long ID) + { + return pdiSetupMapper.deletePdiSetupByID(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 new file mode 100644 index 0000000..bead09c --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTensionServiceImpl.java @@ -0,0 +1,96 @@ +package com.fizz.business.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.fizz.business.mapper.SetupTensionMapper; +import com.fizz.business.domain.SetupTension; +import com.fizz.business.service.ISetupTensionService; + +/** + * 全线张力Service业务层处理 + * + * @author Joshi + * @date 2025-09-25 + */ +@Service +public class SetupTensionServiceImpl implements ISetupTensionService +{ + @Autowired + private SetupTensionMapper setupTensionMapper; + + /** + * 查询全线张力 + * + * @param THICK 全线张力主键 + * @return 全线张力 + */ + @Override + public SetupTension selectSetupTensionByTHICK(Long THICK) + { + return setupTensionMapper.selectSetupTensionByTHICK(THICK); + } + + /** + * 查询全线张力列表 + * + * @param setupTension 全线张力 + * @return 全线张力 + */ + @Override + public List selectSetupTensionList(SetupTension setupTension) + { + return setupTensionMapper.selectSetupTensionList(setupTension); + } + + /** + * 新增全线张力 + * + * @param setupTension 全线张力 + * @return 结果 + */ + @Override + public int insertSetupTension(SetupTension setupTension) + { + setupTension.setCreateTime(DateUtils.getNowDate()); + return setupTensionMapper.insertSetupTension(setupTension); + } + + /** + * 修改全线张力 + * + * @param setupTension 全线张力 + * @return 结果 + */ + @Override + public int updateSetupTension(SetupTension setupTension) + { + setupTension.setUpdateTime(DateUtils.getNowDate()); + return setupTensionMapper.updateSetupTension(setupTension); + } + + /** + * 批量删除全线张力 + * + * @param THICKs 需要删除的全线张力主键 + * @return 结果 + */ + @Override + public int deleteSetupTensionByTHICKs(Long[] THICKs) + { + return setupTensionMapper.deleteSetupTensionByTHICKs(THICKs); + } + + /** + * 删除全线张力信息 + * + * @param THICK 全线张力主键 + * @return 结果 + */ + @Override + public int deleteSetupTensionByTHICK(Long 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 new file mode 100644 index 0000000..0dcca64 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTlServiceImpl.java @@ -0,0 +1,96 @@ +package com.fizz.business.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.fizz.business.mapper.SetupTlMapper; +import com.fizz.business.domain.SetupTl; +import com.fizz.business.service.ISetupTlService; + +/** + * 拉矫机参数Service业务层处理 + * + * @author Joshi + * @date 2025-09-25 + */ +@Service +public class SetupTlServiceImpl implements ISetupTlService +{ + @Autowired + private SetupTlMapper setupTlMapper; + + /** + * 查询拉矫机参数 + * + * @param steelGrade 拉矫机参数主键 + * @return 拉矫机参数 + */ + @Override + public SetupTl selectSetupTlBySteelGrade(String steelGrade) + { + return setupTlMapper.selectSetupTlBySteelGrade(steelGrade); + } + + /** + * 查询拉矫机参数列表 + * + * @param setupTl 拉矫机参数 + * @return 拉矫机参数 + */ + @Override + public List selectSetupTlList(SetupTl setupTl) + { + return setupTlMapper.selectSetupTlList(setupTl); + } + + /** + * 新增拉矫机参数 + * + * @param setupTl 拉矫机参数 + * @return 结果 + */ + @Override + public int insertSetupTl(SetupTl setupTl) + { + setupTl.setCreateTime(DateUtils.getNowDate()); + return setupTlMapper.insertSetupTl(setupTl); + } + + /** + * 修改拉矫机参数 + * + * @param setupTl 拉矫机参数 + * @return 结果 + */ + @Override + public int updateSetupTl(SetupTl setupTl) + { + setupTl.setUpdateTime(DateUtils.getNowDate()); + return setupTlMapper.updateSetupTl(setupTl); + } + + /** + * 批量删除拉矫机参数 + * + * @param steelGrades 需要删除的拉矫机参数主键 + * @return 结果 + */ + @Override + public int deleteSetupTlBySteelGrades(String[] steelGrades) + { + return setupTlMapper.deleteSetupTlBySteelGrades(steelGrades); + } + + /** + * 删除拉矫机参数信息 + * + * @param steelGrade 拉矫机参数主键 + * @return 结果 + */ + @Override + public int deleteSetupTlBySteelGrade(String steelGrade) + { + return setupTlMapper.deleteSetupTlBySteelGrade(steelGrade); + } +} 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 new file mode 100644 index 0000000..bb0a883 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTmBendforceServiceImpl.java @@ -0,0 +1,96 @@ +package com.fizz.business.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.fizz.business.mapper.SetupTmBendforceMapper; +import com.fizz.business.domain.SetupTmBendforce; +import com.fizz.business.service.ISetupTmBendforceService; + +/** + * 光整机弯辊力Service业务层处理 + * + * @author Joshi + * @date 2025-09-25 + */ +@Service +public class SetupTmBendforceServiceImpl implements ISetupTmBendforceService +{ + @Autowired + private SetupTmBendforceMapper setupTmBendforceMapper; + + /** + * 查询光整机弯辊力 + * + * @param WIDTH 光整机弯辊力主键 + * @return 光整机弯辊力 + */ + @Override + public SetupTmBendforce selectSetupTmBendforceByWIDTH(Long WIDTH) + { + return setupTmBendforceMapper.selectSetupTmBendforceByWIDTH(WIDTH); + } + + /** + * 查询光整机弯辊力列表 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 光整机弯辊力 + */ + @Override + public List selectSetupTmBendforceList(SetupTmBendforce setupTmBendforce) + { + return setupTmBendforceMapper.selectSetupTmBendforceList(setupTmBendforce); + } + + /** + * 新增光整机弯辊力 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 结果 + */ + @Override + public int insertSetupTmBendforce(SetupTmBendforce setupTmBendforce) + { + setupTmBendforce.setCreateTime(DateUtils.getNowDate()); + return setupTmBendforceMapper.insertSetupTmBendforce(setupTmBendforce); + } + + /** + * 修改光整机弯辊力 + * + * @param setupTmBendforce 光整机弯辊力 + * @return 结果 + */ + @Override + public int updateSetupTmBendforce(SetupTmBendforce setupTmBendforce) + { + setupTmBendforce.setUpdateTime(DateUtils.getNowDate()); + return setupTmBendforceMapper.updateSetupTmBendforce(setupTmBendforce); + } + + /** + * 批量删除光整机弯辊力 + * + * @param WIDTHs 需要删除的光整机弯辊力主键 + * @return 结果 + */ + @Override + public int deleteSetupTmBendforceByWIDTHs(Long[] WIDTHs) + { + return setupTmBendforceMapper.deleteSetupTmBendforceByWIDTHs(WIDTHs); + } + + /** + * 删除光整机弯辊力信息 + * + * @param WIDTH 光整机弯辊力主键 + * @return 结果 + */ + @Override + public int deleteSetupTmBendforceByWIDTH(Long 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 new file mode 100644 index 0000000..63bb3a2 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTmMeshServiceImpl.java @@ -0,0 +1,96 @@ +package com.fizz.business.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.fizz.business.mapper.SetupTmMeshMapper; +import com.fizz.business.domain.SetupTmMesh; +import com.fizz.business.service.ISetupTmMeshService; + +/** + * 光整机插入量Service业务层处理 + * + * @author Joshi + * @date 2025-09-25 + */ +@Service +public class SetupTmMeshServiceImpl implements ISetupTmMeshService +{ + @Autowired + private SetupTmMeshMapper setupTmMeshMapper; + + /** + * 查询光整机插入量 + * + * @param steelGrade 光整机插入量主键 + * @return 光整机插入量 + */ + @Override + public SetupTmMesh selectSetupTmMeshBySteelGrade(String steelGrade) + { + return setupTmMeshMapper.selectSetupTmMeshBySteelGrade(steelGrade); + } + + /** + * 查询光整机插入量列表 + * + * @param setupTmMesh 光整机插入量 + * @return 光整机插入量 + */ + @Override + public List selectSetupTmMeshList(SetupTmMesh setupTmMesh) + { + return setupTmMeshMapper.selectSetupTmMeshList(setupTmMesh); + } + + /** + * 新增光整机插入量 + * + * @param setupTmMesh 光整机插入量 + * @return 结果 + */ + @Override + public int insertSetupTmMesh(SetupTmMesh setupTmMesh) + { + setupTmMesh.setCreateTime(DateUtils.getNowDate()); + return setupTmMeshMapper.insertSetupTmMesh(setupTmMesh); + } + + /** + * 修改光整机插入量 + * + * @param setupTmMesh 光整机插入量 + * @return 结果 + */ + @Override + public int updateSetupTmMesh(SetupTmMesh setupTmMesh) + { + setupTmMesh.setUpdateTime(DateUtils.getNowDate()); + return setupTmMeshMapper.updateSetupTmMesh(setupTmMesh); + } + + /** + * 批量删除光整机插入量 + * + * @param steelGrades 需要删除的光整机插入量主键 + * @return 结果 + */ + @Override + public int deleteSetupTmMeshBySteelGrades(String[] steelGrades) + { + return setupTmMeshMapper.deleteSetupTmMeshBySteelGrades(steelGrades); + } + + /** + * 删除光整机插入量信息 + * + * @param steelGrade 光整机插入量主键 + * @return 结果 + */ + @Override + public int deleteSetupTmMeshBySteelGrade(String steelGrade) + { + return setupTmMeshMapper.deleteSetupTmMeshBySteelGrade(steelGrade); + } +} 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 new file mode 100644 index 0000000..09a0381 --- /dev/null +++ b/business/src/main/java/com/fizz/business/service/impl/SetupTmRollforceServiceImpl.java @@ -0,0 +1,96 @@ +package com.fizz.business.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.fizz.business.mapper.SetupTmRollforceMapper; +import com.fizz.business.domain.SetupTmRollforce; +import com.fizz.business.service.ISetupTmRollforceService; + +/** + * 光整机轧制力Service业务层处理 + * + * @author Joshi + * @date 2025-09-25 + */ +@Service +public class SetupTmRollforceServiceImpl implements ISetupTmRollforceService +{ + @Autowired + private SetupTmRollforceMapper setupTmRollforceMapper; + + /** + * 查询光整机轧制力 + * + * @param steelGrade 光整机轧制力主键 + * @return 光整机轧制力 + */ + @Override + public SetupTmRollforce selectSetupTmRollforceBySteelGrade(String steelGrade) + { + return setupTmRollforceMapper.selectSetupTmRollforceBySteelGrade(steelGrade); + } + + /** + * 查询光整机轧制力列表 + * + * @param setupTmRollforce 光整机轧制力 + * @return 光整机轧制力 + */ + @Override + public List selectSetupTmRollforceList(SetupTmRollforce setupTmRollforce) + { + return setupTmRollforceMapper.selectSetupTmRollforceList(setupTmRollforce); + } + + /** + * 新增光整机轧制力 + * + * @param setupTmRollforce 光整机轧制力 + * @return 结果 + */ + @Override + public int insertSetupTmRollforce(SetupTmRollforce setupTmRollforce) + { + setupTmRollforce.setCreateTime(DateUtils.getNowDate()); + return setupTmRollforceMapper.insertSetupTmRollforce(setupTmRollforce); + } + + /** + * 修改光整机轧制力 + * + * @param setupTmRollforce 光整机轧制力 + * @return 结果 + */ + @Override + public int updateSetupTmRollforce(SetupTmRollforce setupTmRollforce) + { + setupTmRollforce.setUpdateTime(DateUtils.getNowDate()); + return setupTmRollforceMapper.updateSetupTmRollforce(setupTmRollforce); + } + + /** + * 批量删除光整机轧制力 + * + * @param steelGrades 需要删除的光整机轧制力主键 + * @return 结果 + */ + @Override + public int deleteSetupTmRollforceBySteelGrades(String[] steelGrades) + { + return setupTmRollforceMapper.deleteSetupTmRollforceBySteelGrades(steelGrades); + } + + /** + * 删除光整机轧制力信息 + * + * @param steelGrade 光整机轧制力主键 + * @return 结果 + */ + @Override + public int deleteSetupTmRollforceBySteelGrade(String steelGrade) + { + return setupTmRollforceMapper.deleteSetupTmRollforceBySteelGrade(steelGrade); + } +} diff --git a/business/src/main/resources/mapper/PdiSetupMapper.xml b/business/src/main/resources/mapper/PdiSetupMapper.xml new file mode 100644 index 0000000..342ea5c --- /dev/null +++ b/business/src/main/resources/mapper/PdiSetupMapper.xml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select ID, COILID, PLANID, POR_TENSION, CEL_TENSION, CLEAN_TENSION, FUR_TENSION, TOWER_TENSION, TM_NONE_TENSION, TM_ENTRY_TENSION, TM_EXIT_TENSION, TM_ROLLFORCE, TM_BENDFORCE, TM_ACR_MESH, TM_BR_MESH, TL_NONE_TENSION, TL_EXIT_TENSION, TL_ELONG, TL_LVL_MESH1, TL_LVL_MESH2, TL_ACB_MESH, COAT_TENSION, CXL_TENSION, TR_TENSION, CREATE_TIME, UPDATE_TIME, TYPE from pdi_setup + + + + + + + + insert into pdi_setup + + COILID, + PLANID, + POR_TENSION, + CEL_TENSION, + CLEAN_TENSION, + FUR_TENSION, + TOWER_TENSION, + TM_NONE_TENSION, + TM_ENTRY_TENSION, + TM_EXIT_TENSION, + TM_ROLLFORCE, + TM_BENDFORCE, + TM_ACR_MESH, + TM_BR_MESH, + TL_NONE_TENSION, + TL_EXIT_TENSION, + TL_ELONG, + TL_LVL_MESH1, + TL_LVL_MESH2, + TL_ACB_MESH, + COAT_TENSION, + CXL_TENSION, + TR_TENSION, + CREATE_TIME, + UPDATE_TIME, + TYPE, + + + #{COILID}, + #{PLANID}, + #{porTension}, + #{celTension}, + #{cleanTension}, + #{furTension}, + #{towerTension}, + #{tmNoneTension}, + #{tmEntryTension}, + #{tmExitTension}, + #{tmRollforce}, + #{tmBendforce}, + #{tmAcrMesh}, + #{tmBrMesh}, + #{tlNoneTension}, + #{tlExitTension}, + #{tlElong}, + #{tlLvlMesh1}, + #{tlLvlMesh2}, + #{tlAcbMesh}, + #{coatTension}, + #{cxlTension}, + #{trTension}, + #{createTime}, + #{updateTime}, + #{TYPE}, + + + + + update pdi_setup + + COILID = #{COILID}, + PLANID = #{PLANID}, + POR_TENSION = #{porTension}, + CEL_TENSION = #{celTension}, + CLEAN_TENSION = #{cleanTension}, + FUR_TENSION = #{furTension}, + TOWER_TENSION = #{towerTension}, + TM_NONE_TENSION = #{tmNoneTension}, + TM_ENTRY_TENSION = #{tmEntryTension}, + TM_EXIT_TENSION = #{tmExitTension}, + TM_ROLLFORCE = #{tmRollforce}, + TM_BENDFORCE = #{tmBendforce}, + TM_ACR_MESH = #{tmAcrMesh}, + TM_BR_MESH = #{tmBrMesh}, + TL_NONE_TENSION = #{tlNoneTension}, + TL_EXIT_TENSION = #{tlExitTension}, + TL_ELONG = #{tlElong}, + TL_LVL_MESH1 = #{tlLvlMesh1}, + TL_LVL_MESH2 = #{tlLvlMesh2}, + TL_ACB_MESH = #{tlAcbMesh}, + COAT_TENSION = #{coatTension}, + CXL_TENSION = #{cxlTension}, + TR_TENSION = #{trTension}, + CREATE_TIME = #{createTime}, + UPDATE_TIME = #{updateTime}, + TYPE = #{TYPE}, + + where ID = #{ID} + + + + delete from pdi_setup where ID = #{ID} + + + + delete from pdi_setup where ID in + + #{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 new file mode 100644 index 0000000..39f2067 --- /dev/null +++ b/business/src/main/resources/mapper/SetupTensionMapper.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 new file mode 100644 index 0000000..b8a24b6 --- /dev/null +++ b/business/src/main/resources/mapper/SetupTlMapper.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + 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 new file mode 100644 index 0000000..ac9a66a --- /dev/null +++ b/business/src/main/resources/mapper/SetupTmBendforceMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + 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 new file mode 100644 index 0000000..eb779a3 --- /dev/null +++ b/business/src/main/resources/mapper/SetupTmMeshMapper.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + 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 new file mode 100644 index 0000000..14199b7 --- /dev/null +++ b/business/src/main/resources/mapper/SetupTmRollforceMapper.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 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