refactor(service):重构PdiSetup服务接口与实现- 继承IService接口,使用MyBatis-Plus增强功能

- 统一方法命名规范,如selectPdiSetupByID改为selectPdiSetupByid
- 修改返回类型为Boolean,提升类型安全性
- 更新Mapper接口继承BaseMapper,简化数据访问层实现
- 优化Controller层,移除权限注解,统一参数处理方式
- 调整实体类PdiSetups,添加MyBatis-Plus注解支持
- 更新其他相关服务接口方法签名及参数命名规范
-修正SetupTension相关接口与实现,统一参数命名风格
This commit is contained in:
2025-09-26 11:03:35 +08:00
parent 24e724743e
commit 9b4d7fdbad
36 changed files with 979 additions and 1150 deletions

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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));
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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<PdiSetups>
{
/**
* 查询生产计划的参数详情
*
* @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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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<PdiSetups>
{
/**
* 查询生产计划的参数详情
*
* @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);
}

View File

@@ -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);
}

View File

@@ -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);
/**
* 删除拉矫机参数信息

View File

@@ -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);
}

View File

@@ -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);
/**
* 删除光整机插入量信息

View File

@@ -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);
/**
* 删除光整机轧制力信息

View File

@@ -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<PdiSetupMapper, PdiSetups> 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<PdiSetups> selectPdiSetupList(PdiSetups pdiSetup)
{
return pdiSetupMapper.selectPdiSetupList(pdiSetup);
QueryWrapper<PdiSetups> 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);
}
}

View File

@@ -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);
}
}

View File

@@ -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);
}
/**

View File

@@ -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);
}
}

View File

@@ -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);
}
/**

View File

@@ -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);
}
/**

View File

@@ -70,9 +70,9 @@
</where>
</select>
<select id="selectPdiSetupByID" parameterType="Long" resultMap="PdiSetupResult">
<select id="selectPdiSetupById" parameterType="Long" resultMap="PdiSetupResult">
<include refid="selectPdiSetupVo"/>
where ID = #{ID}
where ID = #{id}
</select>
<insert id="insertPdiSetup" parameterType="PdiSetup" useGeneratedKeys="true" keyProperty="ID">
@@ -168,14 +168,14 @@
where ID = #{ID}
</update>
<delete id="deletePdiSetupByID" parameterType="Long">
delete from pdi_setup where ID = #{ID}
<delete id="deletePdiSetupById" parameterType="Long">
delete from pdi_setup where ID = #{id}
</delete>
<delete id="deletePdiSetupByIDs" parameterType="String">
<delete id="deletePdiSetupByIds" parameterType="String">
delete from pdi_setup where ID in
<foreach item="ID" collection="array" open="(" separator="," close=")">
#{ID}
#{id}
</foreach>
</delete>
</mapper>

View File

@@ -1,142 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fizz.business.mapper.SetupTensionMapper">
<resultMap type="SetupTension" id="SetupTensionResult">
<result property="THICK" column="THICK" />
<result property="yieldStren" column="YIELD_STREN" />
<result property="VALUE1" column="VALUE1" />
<result property="VALUE2" column="VALUE2" />
<result property="VALUE3" column="VALUE3" />
<result property="VALUE4" column="VALUE4" />
<result property="VALUE5" column="VALUE5" />
<result property="VALUE6" column="VALUE6" />
<result property="VALUE7" column="VALUE7" />
<result property="VALUE8" column="VALUE8" />
<result property="VALUE9" column="VALUE9" />
<result property="VALUE10" column="VALUE10" />
<result property="VALUE11" column="VALUE11" />
<result property="VALUE12" column="VALUE12" />
<result property="VALUE13" column="VALUE13" />
<result property="VALUE14" column="VALUE14" />
<result property="VALUE15" column="VALUE15" />
<result property="createTime" column="CREATE_TIME" />
<result property="updateTime" column="UPDATE_TIME" />
</resultMap>
<sql id="selectSetupTensionVo">
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
</sql>
<select id="selectSetupTensionList" parameterType="SetupTension" resultMap="SetupTensionResult">
<include refid="selectSetupTensionVo"/>
<where>
<if test="VALUE1 != null "> and VALUE1 = #{VALUE1}</if>
<if test="VALUE2 != null "> and VALUE2 = #{VALUE2}</if>
<if test="VALUE3 != null "> and VALUE3 = #{VALUE3}</if>
<if test="VALUE4 != null "> and VALUE4 = #{VALUE4}</if>
<if test="VALUE5 != null "> and VALUE5 = #{VALUE5}</if>
<if test="VALUE6 != null "> and VALUE6 = #{VALUE6}</if>
<if test="VALUE7 != null "> and VALUE7 = #{VALUE7}</if>
<if test="VALUE8 != null "> and VALUE8 = #{VALUE8}</if>
<if test="VALUE9 != null "> and VALUE9 = #{VALUE9}</if>
<if test="VALUE10 != null "> and VALUE10 = #{VALUE10}</if>
<if test="VALUE11 != null "> and VALUE11 = #{VALUE11}</if>
<if test="VALUE12 != null "> and VALUE12 = #{VALUE12}</if>
<if test="VALUE13 != null "> and VALUE13 = #{VALUE13}</if>
<if test="VALUE14 != null "> and VALUE14 = #{VALUE14}</if>
<if test="VALUE15 != null "> and VALUE15 = #{VALUE15}</if>
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
</where>
</select>
<select id="selectSetupTensionByTHICK" parameterType="Long" resultMap="SetupTensionResult">
<include refid="selectSetupTensionVo"/>
where THICK = #{THICK}
</select>
<insert id="insertSetupTension" parameterType="SetupTension">
insert into setup_tension
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="THICK != null">THICK,</if>
<if test="yieldStren != null">YIELD_STREN,</if>
<if test="VALUE1 != null">VALUE1,</if>
<if test="VALUE2 != null">VALUE2,</if>
<if test="VALUE3 != null">VALUE3,</if>
<if test="VALUE4 != null">VALUE4,</if>
<if test="VALUE5 != null">VALUE5,</if>
<if test="VALUE6 != null">VALUE6,</if>
<if test="VALUE7 != null">VALUE7,</if>
<if test="VALUE8 != null">VALUE8,</if>
<if test="VALUE9 != null">VALUE9,</if>
<if test="VALUE10 != null">VALUE10,</if>
<if test="VALUE11 != null">VALUE11,</if>
<if test="VALUE12 != null">VALUE12,</if>
<if test="VALUE13 != null">VALUE13,</if>
<if test="VALUE14 != null">VALUE14,</if>
<if test="VALUE15 != null">VALUE15,</if>
<if test="createTime != null">CREATE_TIME,</if>
<if test="updateTime != null">UPDATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="THICK != null">#{THICK},</if>
<if test="yieldStren != null">#{yieldStren},</if>
<if test="VALUE1 != null">#{VALUE1},</if>
<if test="VALUE2 != null">#{VALUE2},</if>
<if test="VALUE3 != null">#{VALUE3},</if>
<if test="VALUE4 != null">#{VALUE4},</if>
<if test="VALUE5 != null">#{VALUE5},</if>
<if test="VALUE6 != null">#{VALUE6},</if>
<if test="VALUE7 != null">#{VALUE7},</if>
<if test="VALUE8 != null">#{VALUE8},</if>
<if test="VALUE9 != null">#{VALUE9},</if>
<if test="VALUE10 != null">#{VALUE10},</if>
<if test="VALUE11 != null">#{VALUE11},</if>
<if test="VALUE12 != null">#{VALUE12},</if>
<if test="VALUE13 != null">#{VALUE13},</if>
<if test="VALUE14 != null">#{VALUE14},</if>
<if test="VALUE15 != null">#{VALUE15},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSetupTension" parameterType="SetupTension">
update setup_tension
<trim prefix="SET" suffixOverrides=",">
<if test="yieldStren != null">YIELD_STREN = #{yieldStren},</if>
<if test="VALUE1 != null">VALUE1 = #{VALUE1},</if>
<if test="VALUE2 != null">VALUE2 = #{VALUE2},</if>
<if test="VALUE3 != null">VALUE3 = #{VALUE3},</if>
<if test="VALUE4 != null">VALUE4 = #{VALUE4},</if>
<if test="VALUE5 != null">VALUE5 = #{VALUE5},</if>
<if test="VALUE6 != null">VALUE6 = #{VALUE6},</if>
<if test="VALUE7 != null">VALUE7 = #{VALUE7},</if>
<if test="VALUE8 != null">VALUE8 = #{VALUE8},</if>
<if test="VALUE9 != null">VALUE9 = #{VALUE9},</if>
<if test="VALUE10 != null">VALUE10 = #{VALUE10},</if>
<if test="VALUE11 != null">VALUE11 = #{VALUE11},</if>
<if test="VALUE12 != null">VALUE12 = #{VALUE12},</if>
<if test="VALUE13 != null">VALUE13 = #{VALUE13},</if>
<if test="VALUE14 != null">VALUE14 = #{VALUE14},</if>
<if test="VALUE15 != null">VALUE15 = #{VALUE15},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
</trim>
where THICK = #{THICK}
</update>
<delete id="deleteSetupTensionByTHICK" parameterType="Long">
delete from setup_tension where THICK = #{THICK}
</delete>
<delete id="deleteSetupTensionByTHICKs" parameterType="String">
delete from setup_tension where THICK in
<foreach item="THICK" collection="array" open="(" separator="," close=")">
#{THICK}
</foreach>
</delete>
</mapper>

View File

@@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fizz.business.mapper.SetupTlMapper">
<resultMap type="SetupTl" id="SetupTlResult">
<result property="steelGrade" column="STEEL_GRADE" />
<result property="yieldStren" column="YIELD_STREN" />
<result property="THICK" column="THICK" />
<result property="VALUE1" column="VALUE1" />
<result property="VALUE2" column="VALUE2" />
<result property="VALUE3" column="VALUE3" />
<result property="VALUE4" column="VALUE4" />
<result property="VALUE5" column="VALUE5" />
<result property="VALUE6" column="VALUE6" />
<result property="VALUE7" column="VALUE7" />
<result property="VALUE8" column="VALUE8" />
<result property="VALUE9" column="VALUE9" />
<result property="VALUE10" column="VALUE10" />
<result property="updateTime" column="UPDATE_TIME" />
<result property="createTime" column="CREATE_TIME" />
</resultMap>
<sql id="selectSetupTlVo">
select STEEL_GRADE, YIELD_STREN, THICK, VALUE1, VALUE2, VALUE3, VALUE4, VALUE5, VALUE6, VALUE7, VALUE8, VALUE9, VALUE10, UPDATE_TIME, CREATE_TIME from setup_tl
</sql>
<select id="selectSetupTlList" parameterType="SetupTl" resultMap="SetupTlResult">
<include refid="selectSetupTlVo"/>
<where>
<if test="VALUE1 != null "> and VALUE1 = #{VALUE1}</if>
<if test="VALUE2 != null "> and VALUE2 = #{VALUE2}</if>
<if test="VALUE3 != null "> and VALUE3 = #{VALUE3}</if>
<if test="VALUE4 != null "> and VALUE4 = #{VALUE4}</if>
<if test="VALUE5 != null "> and VALUE5 = #{VALUE5}</if>
<if test="VALUE6 != null "> and VALUE6 = #{VALUE6}</if>
<if test="VALUE7 != null "> and VALUE7 = #{VALUE7}</if>
<if test="VALUE8 != null "> and VALUE8 = #{VALUE8}</if>
<if test="VALUE9 != null "> and VALUE9 = #{VALUE9}</if>
<if test="VALUE10 != null "> and VALUE10 = #{VALUE10}</if>
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
</where>
</select>
<select id="selectSetupTlBySteelGrade" parameterType="String" resultMap="SetupTlResult">
<include refid="selectSetupTlVo"/>
where STEEL_GRADE = #{steelGrade}
</select>
<insert id="insertSetupTl" parameterType="SetupTl">
insert into setup_tl
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="steelGrade != null">STEEL_GRADE,</if>
<if test="yieldStren != null">YIELD_STREN,</if>
<if test="THICK != null">THICK,</if>
<if test="VALUE1 != null">VALUE1,</if>
<if test="VALUE2 != null">VALUE2,</if>
<if test="VALUE3 != null">VALUE3,</if>
<if test="VALUE4 != null">VALUE4,</if>
<if test="VALUE5 != null">VALUE5,</if>
<if test="VALUE6 != null">VALUE6,</if>
<if test="VALUE7 != null">VALUE7,</if>
<if test="VALUE8 != null">VALUE8,</if>
<if test="VALUE9 != null">VALUE9,</if>
<if test="VALUE10 != null">VALUE10,</if>
<if test="updateTime != null">UPDATE_TIME,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="steelGrade != null">#{steelGrade},</if>
<if test="yieldStren != null">#{yieldStren},</if>
<if test="THICK != null">#{THICK},</if>
<if test="VALUE1 != null">#{VALUE1},</if>
<if test="VALUE2 != null">#{VALUE2},</if>
<if test="VALUE3 != null">#{VALUE3},</if>
<if test="VALUE4 != null">#{VALUE4},</if>
<if test="VALUE5 != null">#{VALUE5},</if>
<if test="VALUE6 != null">#{VALUE6},</if>
<if test="VALUE7 != null">#{VALUE7},</if>
<if test="VALUE8 != null">#{VALUE8},</if>
<if test="VALUE9 != null">#{VALUE9},</if>
<if test="VALUE10 != null">#{VALUE10},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<update id="updateSetupTl" parameterType="SetupTl">
update setup_tl
<trim prefix="SET" suffixOverrides=",">
<if test="yieldStren != null">YIELD_STREN = #{yieldStren},</if>
<if test="THICK != null">THICK = #{THICK},</if>
<if test="VALUE1 != null">VALUE1 = #{VALUE1},</if>
<if test="VALUE2 != null">VALUE2 = #{VALUE2},</if>
<if test="VALUE3 != null">VALUE3 = #{VALUE3},</if>
<if test="VALUE4 != null">VALUE4 = #{VALUE4},</if>
<if test="VALUE5 != null">VALUE5 = #{VALUE5},</if>
<if test="VALUE6 != null">VALUE6 = #{VALUE6},</if>
<if test="VALUE7 != null">VALUE7 = #{VALUE7},</if>
<if test="VALUE8 != null">VALUE8 = #{VALUE8},</if>
<if test="VALUE9 != null">VALUE9 = #{VALUE9},</if>
<if test="VALUE10 != null">VALUE10 = #{VALUE10},</if>
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</trim>
where STEEL_GRADE = #{steelGrade}
</update>
<delete id="deleteSetupTlBySteelGrade" parameterType="String">
delete from setup_tl where STEEL_GRADE = #{steelGrade}
</delete>
<delete id="deleteSetupTlBySteelGrades" parameterType="String">
delete from setup_tl where STEEL_GRADE in
<foreach item="steelGrade" collection="array" open="(" separator="," close=")">
#{steelGrade}
</foreach>
</delete>
</mapper>

View File

@@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fizz.business.mapper.SetupTmBendforceMapper">
<resultMap type="SetupTmBendforce" id="SetupTmBendforceResult">
<result property="WIDTH" column="WIDTH" />
<result property="rollForce" column="ROLL_FORCE" />
<result property="VALUE1" column="VALUE1" />
<result property="VALUE2" column="VALUE2" />
<result property="VALUE3" column="VALUE3" />
<result property="VALUE4" column="VALUE4" />
<result property="updateTime" column="UPDATE_TIME" />
<result property="createTime" column="CREATE_TIME" />
</resultMap>
<sql id="selectSetupTmBendforceVo">
select WIDTH, ROLL_FORCE, VALUE1, VALUE2, VALUE3, VALUE4, UPDATE_TIME, CREATE_TIME from setup_tm_bendforce
</sql>
<select id="selectSetupTmBendforceList" parameterType="SetupTmBendforce" resultMap="SetupTmBendforceResult">
<include refid="selectSetupTmBendforceVo"/>
<where>
<if test="VALUE1 != null "> and VALUE1 = #{VALUE1}</if>
<if test="VALUE2 != null "> and VALUE2 = #{VALUE2}</if>
<if test="VALUE3 != null "> and VALUE3 = #{VALUE3}</if>
<if test="VALUE4 != null "> and VALUE4 = #{VALUE4}</if>
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
</where>
</select>
<select id="selectSetupTmBendforceByWIDTH" parameterType="Long" resultMap="SetupTmBendforceResult">
<include refid="selectSetupTmBendforceVo"/>
where WIDTH = #{WIDTH}
</select>
<insert id="insertSetupTmBendforce" parameterType="SetupTmBendforce">
insert into setup_tm_bendforce
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="WIDTH != null">WIDTH,</if>
<if test="rollForce != null">ROLL_FORCE,</if>
<if test="VALUE1 != null">VALUE1,</if>
<if test="VALUE2 != null">VALUE2,</if>
<if test="VALUE3 != null">VALUE3,</if>
<if test="VALUE4 != null">VALUE4,</if>
<if test="updateTime != null">UPDATE_TIME,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="WIDTH != null">#{WIDTH},</if>
<if test="rollForce != null">#{rollForce},</if>
<if test="VALUE1 != null">#{VALUE1},</if>
<if test="VALUE2 != null">#{VALUE2},</if>
<if test="VALUE3 != null">#{VALUE3},</if>
<if test="VALUE4 != null">#{VALUE4},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<update id="updateSetupTmBendforce" parameterType="SetupTmBendforce">
update setup_tm_bendforce
<trim prefix="SET" suffixOverrides=",">
<if test="rollForce != null">ROLL_FORCE = #{rollForce},</if>
<if test="VALUE1 != null">VALUE1 = #{VALUE1},</if>
<if test="VALUE2 != null">VALUE2 = #{VALUE2},</if>
<if test="VALUE3 != null">VALUE3 = #{VALUE3},</if>
<if test="VALUE4 != null">VALUE4 = #{VALUE4},</if>
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</trim>
where WIDTH = #{WIDTH}
</update>
<delete id="deleteSetupTmBendforceByWIDTH" parameterType="Long">
delete from setup_tm_bendforce where WIDTH = #{WIDTH}
</delete>
<delete id="deleteSetupTmBendforceByWIDTHs" parameterType="String">
delete from setup_tm_bendforce where WIDTH in
<foreach item="WIDTH" collection="array" open="(" separator="," close=")">
#{WIDTH}
</foreach>
</delete>
</mapper>

View File

@@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fizz.business.mapper.SetupTmMeshMapper">
<resultMap type="SetupTmMesh" id="SetupTmMeshResult">
<result property="steelGrade" column="STEEL_GRADE" />
<result property="yieldStren" column="YIELD_STREN" />
<result property="THICK" column="THICK" />
<result property="VALUE1" column="VALUE1" />
<result property="VALUE2" column="VALUE2" />
<result property="VALUE3" column="VALUE3" />
<result property="VALUE4" column="VALUE4" />
<result property="VALUE5" column="VALUE5" />
<result property="VALUE6" column="VALUE6" />
<result property="VALUE7" column="VALUE7" />
<result property="VALUE8" column="VALUE8" />
<result property="VALUE9" column="VALUE9" />
<result property="VALUE10" column="VALUE10" />
<result property="updateTime" column="UPDATE_TIME" />
<result property="createTime" column="CREATE_TIME" />
</resultMap>
<sql id="selectSetupTmMeshVo">
select STEEL_GRADE, YIELD_STREN, THICK, VALUE1, VALUE2, VALUE3, VALUE4, VALUE5, VALUE6, VALUE7, VALUE8, VALUE9, VALUE10, UPDATE_TIME, CREATE_TIME from setup_tm_mesh
</sql>
<select id="selectSetupTmMeshList" parameterType="SetupTmMesh" resultMap="SetupTmMeshResult">
<include refid="selectSetupTmMeshVo"/>
<where>
<if test="VALUE1 != null "> and VALUE1 = #{VALUE1}</if>
<if test="VALUE2 != null "> and VALUE2 = #{VALUE2}</if>
<if test="VALUE3 != null "> and VALUE3 = #{VALUE3}</if>
<if test="VALUE4 != null "> and VALUE4 = #{VALUE4}</if>
<if test="VALUE5 != null "> and VALUE5 = #{VALUE5}</if>
<if test="VALUE6 != null "> and VALUE6 = #{VALUE6}</if>
<if test="VALUE7 != null "> and VALUE7 = #{VALUE7}</if>
<if test="VALUE8 != null "> and VALUE8 = #{VALUE8}</if>
<if test="VALUE9 != null "> and VALUE9 = #{VALUE9}</if>
<if test="VALUE10 != null "> and VALUE10 = #{VALUE10}</if>
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
</where>
</select>
<select id="selectSetupTmMeshBySteelGrade" parameterType="String" resultMap="SetupTmMeshResult">
<include refid="selectSetupTmMeshVo"/>
where STEEL_GRADE = #{steelGrade}
</select>
<insert id="insertSetupTmMesh" parameterType="SetupTmMesh">
insert into setup_tm_mesh
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="steelGrade != null">STEEL_GRADE,</if>
<if test="yieldStren != null">YIELD_STREN,</if>
<if test="THICK != null">THICK,</if>
<if test="VALUE1 != null">VALUE1,</if>
<if test="VALUE2 != null">VALUE2,</if>
<if test="VALUE3 != null">VALUE3,</if>
<if test="VALUE4 != null">VALUE4,</if>
<if test="VALUE5 != null">VALUE5,</if>
<if test="VALUE6 != null">VALUE6,</if>
<if test="VALUE7 != null">VALUE7,</if>
<if test="VALUE8 != null">VALUE8,</if>
<if test="VALUE9 != null">VALUE9,</if>
<if test="VALUE10 != null">VALUE10,</if>
<if test="updateTime != null">UPDATE_TIME,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="steelGrade != null">#{steelGrade},</if>
<if test="yieldStren != null">#{yieldStren},</if>
<if test="THICK != null">#{THICK},</if>
<if test="VALUE1 != null">#{VALUE1},</if>
<if test="VALUE2 != null">#{VALUE2},</if>
<if test="VALUE3 != null">#{VALUE3},</if>
<if test="VALUE4 != null">#{VALUE4},</if>
<if test="VALUE5 != null">#{VALUE5},</if>
<if test="VALUE6 != null">#{VALUE6},</if>
<if test="VALUE7 != null">#{VALUE7},</if>
<if test="VALUE8 != null">#{VALUE8},</if>
<if test="VALUE9 != null">#{VALUE9},</if>
<if test="VALUE10 != null">#{VALUE10},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<update id="updateSetupTmMesh" parameterType="SetupTmMesh">
update setup_tm_mesh
<trim prefix="SET" suffixOverrides=",">
<if test="yieldStren != null">YIELD_STREN = #{yieldStren},</if>
<if test="THICK != null">THICK = #{THICK},</if>
<if test="VALUE1 != null">VALUE1 = #{VALUE1},</if>
<if test="VALUE2 != null">VALUE2 = #{VALUE2},</if>
<if test="VALUE3 != null">VALUE3 = #{VALUE3},</if>
<if test="VALUE4 != null">VALUE4 = #{VALUE4},</if>
<if test="VALUE5 != null">VALUE5 = #{VALUE5},</if>
<if test="VALUE6 != null">VALUE6 = #{VALUE6},</if>
<if test="VALUE7 != null">VALUE7 = #{VALUE7},</if>
<if test="VALUE8 != null">VALUE8 = #{VALUE8},</if>
<if test="VALUE9 != null">VALUE9 = #{VALUE9},</if>
<if test="VALUE10 != null">VALUE10 = #{VALUE10},</if>
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</trim>
where STEEL_GRADE = #{steelGrade}
</update>
<delete id="deleteSetupTmMeshBySteelGrade" parameterType="String">
delete from setup_tm_mesh where STEEL_GRADE = #{steelGrade}
</delete>
<delete id="deleteSetupTmMeshBySteelGrades" parameterType="String">
delete from setup_tm_mesh where STEEL_GRADE in
<foreach item="steelGrade" collection="array" open="(" separator="," close=")">
#{steelGrade}
</foreach>
</delete>
</mapper>

View File

@@ -1,125 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fizz.business.mapper.SetupTmRollforceMapper">
<resultMap type="SetupTmRollforce" id="SetupTmRollforceResult">
<result property="steelGrade" column="STEEL_GRADE" />
<result property="THICK" column="THICK" />
<result property="yieldStren" column="YIELD_STREN" />
<result property="ELONG" column="ELONG" />
<result property="VALUE1" column="VALUE1" />
<result property="VALUE2" column="VALUE2" />
<result property="VALUE3" column="VALUE3" />
<result property="VALUE4" column="VALUE4" />
<result property="VALUE5" column="VALUE5" />
<result property="VALUE6" column="VALUE6" />
<result property="VALUE7" column="VALUE7" />
<result property="VALUE8" column="VALUE8" />
<result property="VALUE9" column="VALUE9" />
<result property="VALUE10" column="VALUE10" />
<result property="updateTime" column="UPDATE_TIME" />
<result property="createTime" column="CREATE_TIME" />
</resultMap>
<sql id="selectSetupTmRollforceVo">
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
</sql>
<select id="selectSetupTmRollforceList" parameterType="SetupTmRollforce" resultMap="SetupTmRollforceResult">
<include refid="selectSetupTmRollforceVo"/>
<where>
<if test="VALUE1 != null "> and VALUE1 = #{VALUE1}</if>
<if test="VALUE2 != null "> and VALUE2 = #{VALUE2}</if>
<if test="VALUE3 != null "> and VALUE3 = #{VALUE3}</if>
<if test="VALUE4 != null "> and VALUE4 = #{VALUE4}</if>
<if test="VALUE5 != null "> and VALUE5 = #{VALUE5}</if>
<if test="VALUE6 != null "> and VALUE6 = #{VALUE6}</if>
<if test="VALUE7 != null "> and VALUE7 = #{VALUE7}</if>
<if test="VALUE8 != null "> and VALUE8 = #{VALUE8}</if>
<if test="VALUE9 != null "> and VALUE9 = #{VALUE9}</if>
<if test="VALUE10 != null "> and VALUE10 = #{VALUE10}</if>
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
</where>
</select>
<select id="selectSetupTmRollforceBySteelGrade" parameterType="String" resultMap="SetupTmRollforceResult">
<include refid="selectSetupTmRollforceVo"/>
where STEEL_GRADE = #{steelGrade}
</select>
<insert id="insertSetupTmRollforce" parameterType="SetupTmRollforce">
insert into setup_tm_rollforce
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="steelGrade != null">STEEL_GRADE,</if>
<if test="THICK != null">THICK,</if>
<if test="yieldStren != null">YIELD_STREN,</if>
<if test="ELONG != null">ELONG,</if>
<if test="VALUE1 != null">VALUE1,</if>
<if test="VALUE2 != null">VALUE2,</if>
<if test="VALUE3 != null">VALUE3,</if>
<if test="VALUE4 != null">VALUE4,</if>
<if test="VALUE5 != null">VALUE5,</if>
<if test="VALUE6 != null">VALUE6,</if>
<if test="VALUE7 != null">VALUE7,</if>
<if test="VALUE8 != null">VALUE8,</if>
<if test="VALUE9 != null">VALUE9,</if>
<if test="VALUE10 != null">VALUE10,</if>
<if test="updateTime != null">UPDATE_TIME,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="steelGrade != null">#{steelGrade},</if>
<if test="THICK != null">#{THICK},</if>
<if test="yieldStren != null">#{yieldStren},</if>
<if test="ELONG != null">#{ELONG},</if>
<if test="VALUE1 != null">#{VALUE1},</if>
<if test="VALUE2 != null">#{VALUE2},</if>
<if test="VALUE3 != null">#{VALUE3},</if>
<if test="VALUE4 != null">#{VALUE4},</if>
<if test="VALUE5 != null">#{VALUE5},</if>
<if test="VALUE6 != null">#{VALUE6},</if>
<if test="VALUE7 != null">#{VALUE7},</if>
<if test="VALUE8 != null">#{VALUE8},</if>
<if test="VALUE9 != null">#{VALUE9},</if>
<if test="VALUE10 != null">#{VALUE10},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<update id="updateSetupTmRollforce" parameterType="SetupTmRollforce">
update setup_tm_rollforce
<trim prefix="SET" suffixOverrides=",">
<if test="THICK != null">THICK = #{THICK},</if>
<if test="yieldStren != null">YIELD_STREN = #{yieldStren},</if>
<if test="ELONG != null">ELONG = #{ELONG},</if>
<if test="VALUE1 != null">VALUE1 = #{VALUE1},</if>
<if test="VALUE2 != null">VALUE2 = #{VALUE2},</if>
<if test="VALUE3 != null">VALUE3 = #{VALUE3},</if>
<if test="VALUE4 != null">VALUE4 = #{VALUE4},</if>
<if test="VALUE5 != null">VALUE5 = #{VALUE5},</if>
<if test="VALUE6 != null">VALUE6 = #{VALUE6},</if>
<if test="VALUE7 != null">VALUE7 = #{VALUE7},</if>
<if test="VALUE8 != null">VALUE8 = #{VALUE8},</if>
<if test="VALUE9 != null">VALUE9 = #{VALUE9},</if>
<if test="VALUE10 != null">VALUE10 = #{VALUE10},</if>
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</trim>
where STEEL_GRADE = #{steelGrade}
</update>
<delete id="deleteSetupTmRollforceBySteelGrade" parameterType="String">
delete from setup_tm_rollforce where STEEL_GRADE = #{steelGrade}
</delete>
<delete id="deleteSetupTmRollforceBySteelGrades" parameterType="String">
delete from setup_tm_rollforce where STEEL_GRADE in
<foreach item="steelGrade" collection="array" open="(" separator="," close=")">
#{steelGrade}
</foreach>
</delete>
</mapper>