Compare commits

...

2 Commits

Author SHA1 Message Date
f50c240bbe Merge remote-tracking branch 'origin/0.8.X' into 0.8.X 2026-06-09 17:47:46 +08:00
66278e635b feat(roll): 添加机架字段支持
- 在MesRollInfo实体类中新增frame字段
- 在MesRollInfoBo业务对象中添加frame字段定义
- 实现机架字段的查询过滤功能
- 在MesRollInfoVo视图对象中增加frame字段映射
- 完成机架数据的Excel导出功能
2026-06-09 17:47:35 +08:00
4 changed files with 10 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ public class MesRollInfo extends BaseEntity {
/** 产线ID */
private Long lineId;
/** 机架 */
private String frame;
/** 轧辊编号 */
private String rollNo;

View File

@@ -25,6 +25,9 @@ public class MesRollInfoBo extends BaseEntity {
/** 产线ID查询过滤 / 新增归属) */
private Long lineId;
/** 机架 */
private String frame;
@NotBlank(message = "轧辊编号不能为空", groups = {AddGroup.class, EditGroup.class})
private String rollNo;

View File

@@ -25,6 +25,9 @@ public class MesRollInfoVo {
@ExcelProperty("产线名称")
private String lineName;
@ExcelProperty("机架")
private String frame;
@ExcelProperty("轧辊编号")
private String rollNo;

View File

@@ -77,6 +77,7 @@ public class MesRollInfoServiceImpl implements IMesRollInfoService {
lqw.like(StringUtils.isNotBlank(bo.getRollNo()), MesRollInfo::getRollNo, bo.getRollNo());
lqw.eq(StringUtils.isNotBlank(bo.getRollType()), MesRollInfo::getRollType, bo.getRollType());
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), MesRollInfo::getStatus, bo.getStatus());
lqw.like(StringUtils.isNotBlank(bo.getFrame()), MesRollInfo::getFrame, bo.getFrame());
lqw.like(StringUtils.isNotBlank(bo.getManufacturer()), MesRollInfo::getManufacturer, bo.getManufacturer());
lqw.orderByAsc(MesRollInfo::getRollType, MesRollInfo::getRollId);
return lqw;