feat(business): 添加生产计划参数详情及相关服务接口
- 新增 PdiSetup 实体类,定义字段生产计划参数详情 - 创建 IPdiSetupService 接口,包含增删改查方法- 添加 PdiSetupController 控制器,实现 RESTful API - 配置 PdiSetupMapper 及其 XML 映射文件- 注释 MessageSubscriptionRunner 类中的 @Component 注解 - 新增多个设备参数相关的 Service 接口(SetupTension、SetupTl 等)
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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<PdiSetup> 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<PdiSetup> list = pdiSetupService.selectPdiSetupList(pdiSetup);
|
||||
ExcelUtil<PdiSetup> util = new ExcelUtil<PdiSetup>(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));
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTension> list = setupTensionService.selectSetupTensionList(setupTension);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出全线张力列表
|
||||
*/
|
||||
@Log(title = "全线张力", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SetupTension setupTension)
|
||||
{
|
||||
List<SetupTension> list = setupTensionService.selectSetupTensionList(setupTension);
|
||||
ExcelUtil<SetupTension> util = new ExcelUtil<SetupTension>(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));
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTl> list = setupTlService.selectSetupTlList(setupTl);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出拉矫机参数列表
|
||||
*/
|
||||
@Log(title = "拉矫机参数", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SetupTl setupTl)
|
||||
{
|
||||
List<SetupTl> list = setupTlService.selectSetupTlList(setupTl);
|
||||
ExcelUtil<SetupTl> util = new ExcelUtil<SetupTl>(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));
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTmBendforce> list = setupTmBendforceService.selectSetupTmBendforceList(setupTmBendforce);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出光整机弯辊力列表
|
||||
*/
|
||||
@Log(title = "光整机弯辊力", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SetupTmBendforce setupTmBendforce)
|
||||
{
|
||||
List<SetupTmBendforce> list = setupTmBendforceService.selectSetupTmBendforceList(setupTmBendforce);
|
||||
ExcelUtil<SetupTmBendforce> util = new ExcelUtil<SetupTmBendforce>(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));
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTmMesh> list = setupTmMeshService.selectSetupTmMeshList(setupTmMesh);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出光整机插入量列表
|
||||
*/
|
||||
@Log(title = "光整机插入量", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SetupTmMesh setupTmMesh)
|
||||
{
|
||||
List<SetupTmMesh> list = setupTmMeshService.selectSetupTmMeshList(setupTmMesh);
|
||||
ExcelUtil<SetupTmMesh> util = new ExcelUtil<SetupTmMesh>(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));
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTmRollforce> list = setupTmRollforceService.selectSetupTmRollforceList(setupTmRollforce);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出光整机轧制力列表
|
||||
*/
|
||||
@Log(title = "光整机轧制力", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SetupTmRollforce setupTmRollforce)
|
||||
{
|
||||
List<SetupTmRollforce> list = setupTmRollforceService.selectSetupTmRollforceList(setupTmRollforce);
|
||||
ExcelUtil<SetupTmRollforce> util = new ExcelUtil<SetupTmRollforce>(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));
|
||||
}
|
||||
}
|
||||
375
business/src/main/java/com/fizz/business/domain/PdiSetup.java
Normal file
375
business/src/main/java/com/fizz/business/domain/PdiSetup.java
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
69
business/src/main/java/com/fizz/business/domain/SetupTl.java
Normal file
69
business/src/main/java/com/fizz/business/domain/SetupTl.java
Normal file
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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<PdiSetup> 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);
|
||||
}
|
||||
@@ -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<SetupTension> 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);
|
||||
}
|
||||
@@ -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<SetupTl> 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);
|
||||
}
|
||||
@@ -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<SetupTmBendforce> 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);
|
||||
}
|
||||
@@ -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<SetupTmMesh> 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);
|
||||
}
|
||||
@@ -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<SetupTmRollforce> 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);
|
||||
}
|
||||
@@ -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<PdiSetup> 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);
|
||||
}
|
||||
@@ -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<SetupTension> 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);
|
||||
}
|
||||
@@ -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<SetupTl> 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);
|
||||
}
|
||||
@@ -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<SetupTmBendforce> 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);
|
||||
}
|
||||
@@ -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<SetupTmMesh> 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);
|
||||
}
|
||||
@@ -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<SetupTmRollforce> 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);
|
||||
}
|
||||
@@ -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<PdiSetup> 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);
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTension> 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);
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTl> 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);
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTmBendforce> 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);
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTmMesh> 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);
|
||||
}
|
||||
}
|
||||
@@ -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<SetupTmRollforce> 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);
|
||||
}
|
||||
}
|
||||
181
business/src/main/resources/mapper/PdiSetupMapper.xml
Normal file
181
business/src/main/resources/mapper/PdiSetupMapper.xml
Normal file
@@ -0,0 +1,181 @@
|
||||
<?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.PdiSetupMapper">
|
||||
|
||||
<resultMap type="PdiSetup" id="PdiSetupResult">
|
||||
<result property="ID" column="ID" />
|
||||
<result property="COILID" column="COILID" />
|
||||
<result property="PLANID" column="PLANID" />
|
||||
<result property="porTension" column="POR_TENSION" />
|
||||
<result property="celTension" column="CEL_TENSION" />
|
||||
<result property="cleanTension" column="CLEAN_TENSION" />
|
||||
<result property="furTension" column="FUR_TENSION" />
|
||||
<result property="towerTension" column="TOWER_TENSION" />
|
||||
<result property="tmNoneTension" column="TM_NONE_TENSION" />
|
||||
<result property="tmEntryTension" column="TM_ENTRY_TENSION" />
|
||||
<result property="tmExitTension" column="TM_EXIT_TENSION" />
|
||||
<result property="tmRollforce" column="TM_ROLLFORCE" />
|
||||
<result property="tmBendforce" column="TM_BENDFORCE" />
|
||||
<result property="tmAcrMesh" column="TM_ACR_MESH" />
|
||||
<result property="tmBrMesh" column="TM_BR_MESH" />
|
||||
<result property="tlNoneTension" column="TL_NONE_TENSION" />
|
||||
<result property="tlExitTension" column="TL_EXIT_TENSION" />
|
||||
<result property="tlElong" column="TL_ELONG" />
|
||||
<result property="tlLvlMesh1" column="TL_LVL_MESH1" />
|
||||
<result property="tlLvlMesh2" column="TL_LVL_MESH2" />
|
||||
<result property="tlAcbMesh" column="TL_ACB_MESH" />
|
||||
<result property="coatTension" column="COAT_TENSION" />
|
||||
<result property="cxlTension" column="CXL_TENSION" />
|
||||
<result property="trTension" column="TR_TENSION" />
|
||||
<result property="createTime" column="CREATE_TIME" />
|
||||
<result property="updateTime" column="UPDATE_TIME" />
|
||||
<result property="TYPE" column="TYPE" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPdiSetupVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectPdiSetupList" parameterType="PdiSetup" resultMap="PdiSetupResult">
|
||||
<include refid="selectPdiSetupVo"/>
|
||||
<where>
|
||||
<if test="COILID != null and COILID != ''"> and COILID = #{COILID}</if>
|
||||
<if test="PLANID != null and PLANID != ''"> and PLANID = #{PLANID}</if>
|
||||
<if test="porTension != null "> and POR_TENSION = #{porTension}</if>
|
||||
<if test="celTension != null "> and CEL_TENSION = #{celTension}</if>
|
||||
<if test="cleanTension != null "> and CLEAN_TENSION = #{cleanTension}</if>
|
||||
<if test="furTension != null "> and FUR_TENSION = #{furTension}</if>
|
||||
<if test="towerTension != null "> and TOWER_TENSION = #{towerTension}</if>
|
||||
<if test="tmNoneTension != null "> and TM_NONE_TENSION = #{tmNoneTension}</if>
|
||||
<if test="tmEntryTension != null "> and TM_ENTRY_TENSION = #{tmEntryTension}</if>
|
||||
<if test="tmExitTension != null "> and TM_EXIT_TENSION = #{tmExitTension}</if>
|
||||
<if test="tmRollforce != null "> and TM_ROLLFORCE = #{tmRollforce}</if>
|
||||
<if test="tmBendforce != null "> and TM_BENDFORCE = #{tmBendforce}</if>
|
||||
<if test="tmAcrMesh != null "> and TM_ACR_MESH = #{tmAcrMesh}</if>
|
||||
<if test="tmBrMesh != null "> and TM_BR_MESH = #{tmBrMesh}</if>
|
||||
<if test="tlNoneTension != null "> and TL_NONE_TENSION = #{tlNoneTension}</if>
|
||||
<if test="tlExitTension != null "> and TL_EXIT_TENSION = #{tlExitTension}</if>
|
||||
<if test="tlElong != null "> and TL_ELONG = #{tlElong}</if>
|
||||
<if test="tlLvlMesh1 != null "> and TL_LVL_MESH1 = #{tlLvlMesh1}</if>
|
||||
<if test="tlLvlMesh2 != null "> and TL_LVL_MESH2 = #{tlLvlMesh2}</if>
|
||||
<if test="tlAcbMesh != null "> and TL_ACB_MESH = #{tlAcbMesh}</if>
|
||||
<if test="coatTension != null "> and COAT_TENSION = #{coatTension}</if>
|
||||
<if test="cxlTension != null "> and CXL_TENSION = #{cxlTension}</if>
|
||||
<if test="trTension != null "> and TR_TENSION = #{trTension}</if>
|
||||
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
|
||||
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
|
||||
<if test="TYPE != null "> and TYPE = #{TYPE}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPdiSetupByID" parameterType="Long" resultMap="PdiSetupResult">
|
||||
<include refid="selectPdiSetupVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertPdiSetup" parameterType="PdiSetup" useGeneratedKeys="true" keyProperty="ID">
|
||||
insert into pdi_setup
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="COILID != null">COILID,</if>
|
||||
<if test="PLANID != null">PLANID,</if>
|
||||
<if test="porTension != null">POR_TENSION,</if>
|
||||
<if test="celTension != null">CEL_TENSION,</if>
|
||||
<if test="cleanTension != null">CLEAN_TENSION,</if>
|
||||
<if test="furTension != null">FUR_TENSION,</if>
|
||||
<if test="towerTension != null">TOWER_TENSION,</if>
|
||||
<if test="tmNoneTension != null">TM_NONE_TENSION,</if>
|
||||
<if test="tmEntryTension != null">TM_ENTRY_TENSION,</if>
|
||||
<if test="tmExitTension != null">TM_EXIT_TENSION,</if>
|
||||
<if test="tmRollforce != null">TM_ROLLFORCE,</if>
|
||||
<if test="tmBendforce != null">TM_BENDFORCE,</if>
|
||||
<if test="tmAcrMesh != null">TM_ACR_MESH,</if>
|
||||
<if test="tmBrMesh != null">TM_BR_MESH,</if>
|
||||
<if test="tlNoneTension != null">TL_NONE_TENSION,</if>
|
||||
<if test="tlExitTension != null">TL_EXIT_TENSION,</if>
|
||||
<if test="tlElong != null">TL_ELONG,</if>
|
||||
<if test="tlLvlMesh1 != null">TL_LVL_MESH1,</if>
|
||||
<if test="tlLvlMesh2 != null">TL_LVL_MESH2,</if>
|
||||
<if test="tlAcbMesh != null">TL_ACB_MESH,</if>
|
||||
<if test="coatTension != null">COAT_TENSION,</if>
|
||||
<if test="cxlTension != null">CXL_TENSION,</if>
|
||||
<if test="trTension != null">TR_TENSION,</if>
|
||||
<if test="createTime != null">CREATE_TIME,</if>
|
||||
<if test="updateTime != null">UPDATE_TIME,</if>
|
||||
<if test="TYPE != null">TYPE,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="COILID != null">#{COILID},</if>
|
||||
<if test="PLANID != null">#{PLANID},</if>
|
||||
<if test="porTension != null">#{porTension},</if>
|
||||
<if test="celTension != null">#{celTension},</if>
|
||||
<if test="cleanTension != null">#{cleanTension},</if>
|
||||
<if test="furTension != null">#{furTension},</if>
|
||||
<if test="towerTension != null">#{towerTension},</if>
|
||||
<if test="tmNoneTension != null">#{tmNoneTension},</if>
|
||||
<if test="tmEntryTension != null">#{tmEntryTension},</if>
|
||||
<if test="tmExitTension != null">#{tmExitTension},</if>
|
||||
<if test="tmRollforce != null">#{tmRollforce},</if>
|
||||
<if test="tmBendforce != null">#{tmBendforce},</if>
|
||||
<if test="tmAcrMesh != null">#{tmAcrMesh},</if>
|
||||
<if test="tmBrMesh != null">#{tmBrMesh},</if>
|
||||
<if test="tlNoneTension != null">#{tlNoneTension},</if>
|
||||
<if test="tlExitTension != null">#{tlExitTension},</if>
|
||||
<if test="tlElong != null">#{tlElong},</if>
|
||||
<if test="tlLvlMesh1 != null">#{tlLvlMesh1},</if>
|
||||
<if test="tlLvlMesh2 != null">#{tlLvlMesh2},</if>
|
||||
<if test="tlAcbMesh != null">#{tlAcbMesh},</if>
|
||||
<if test="coatTension != null">#{coatTension},</if>
|
||||
<if test="cxlTension != null">#{cxlTension},</if>
|
||||
<if test="trTension != null">#{trTension},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="TYPE != null">#{TYPE},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePdiSetup" parameterType="PdiSetup">
|
||||
update pdi_setup
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="COILID != null">COILID = #{COILID},</if>
|
||||
<if test="PLANID != null">PLANID = #{PLANID},</if>
|
||||
<if test="porTension != null">POR_TENSION = #{porTension},</if>
|
||||
<if test="celTension != null">CEL_TENSION = #{celTension},</if>
|
||||
<if test="cleanTension != null">CLEAN_TENSION = #{cleanTension},</if>
|
||||
<if test="furTension != null">FUR_TENSION = #{furTension},</if>
|
||||
<if test="towerTension != null">TOWER_TENSION = #{towerTension},</if>
|
||||
<if test="tmNoneTension != null">TM_NONE_TENSION = #{tmNoneTension},</if>
|
||||
<if test="tmEntryTension != null">TM_ENTRY_TENSION = #{tmEntryTension},</if>
|
||||
<if test="tmExitTension != null">TM_EXIT_TENSION = #{tmExitTension},</if>
|
||||
<if test="tmRollforce != null">TM_ROLLFORCE = #{tmRollforce},</if>
|
||||
<if test="tmBendforce != null">TM_BENDFORCE = #{tmBendforce},</if>
|
||||
<if test="tmAcrMesh != null">TM_ACR_MESH = #{tmAcrMesh},</if>
|
||||
<if test="tmBrMesh != null">TM_BR_MESH = #{tmBrMesh},</if>
|
||||
<if test="tlNoneTension != null">TL_NONE_TENSION = #{tlNoneTension},</if>
|
||||
<if test="tlExitTension != null">TL_EXIT_TENSION = #{tlExitTension},</if>
|
||||
<if test="tlElong != null">TL_ELONG = #{tlElong},</if>
|
||||
<if test="tlLvlMesh1 != null">TL_LVL_MESH1 = #{tlLvlMesh1},</if>
|
||||
<if test="tlLvlMesh2 != null">TL_LVL_MESH2 = #{tlLvlMesh2},</if>
|
||||
<if test="tlAcbMesh != null">TL_ACB_MESH = #{tlAcbMesh},</if>
|
||||
<if test="coatTension != null">COAT_TENSION = #{coatTension},</if>
|
||||
<if test="cxlTension != null">CXL_TENSION = #{cxlTension},</if>
|
||||
<if test="trTension != null">TR_TENSION = #{trTension},</if>
|
||||
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
|
||||
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
|
||||
<if test="TYPE != null">TYPE = #{TYPE},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deletePdiSetupByID" parameterType="Long">
|
||||
delete from pdi_setup where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePdiSetupByIDs" parameterType="String">
|
||||
delete from pdi_setup where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
142
business/src/main/resources/mapper/SetupTensionMapper.xml
Normal file
142
business/src/main/resources/mapper/SetupTensionMapper.xml
Normal file
@@ -0,0 +1,142 @@
|
||||
<?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>
|
||||
121
business/src/main/resources/mapper/SetupTlMapper.xml
Normal file
121
business/src/main/resources/mapper/SetupTlMapper.xml
Normal file
@@ -0,0 +1,121 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,87 @@
|
||||
<?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>
|
||||
121
business/src/main/resources/mapper/SetupTmMeshMapper.xml
Normal file
121
business/src/main/resources/mapper/SetupTmMeshMapper.xml
Normal file
@@ -0,0 +1,121 @@
|
||||
<?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>
|
||||
125
business/src/main/resources/mapper/SetupTmRollforceMapper.xml
Normal file
125
business/src/main/resources/mapper/SetupTmRollforceMapper.xml
Normal file
@@ -0,0 +1,125 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user