feat(mes/eqp): 为设备备件新增负责人字段
1. 在EqpEquipmentPart实体类、Bo和Vo中新增responsiblePerson字段 2. 在EqpEquipmentPartMapper.xml中增加responsible_person列映射 3. 在EqpEquipmentPartServiceImpl的查询条件中增加负责人模糊筛选 4. 在前端备件管理页面新增负责人查询输入框、表格列和表单字段
This commit is contained in:
@@ -40,6 +40,11 @@ public class EqpEquipmentPart extends BaseEntity {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
private String responsiblePerson;
|
||||
|
||||
/**
|
||||
* 删除标识 0正常 2删除
|
||||
*/
|
||||
|
||||
@@ -38,6 +38,11 @@ public class EqpEquipmentPartBo extends BaseEntity {
|
||||
*/
|
||||
private String lineSection;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
private String responsiblePerson;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@@ -45,6 +45,12 @@ public class EqpEquipmentPartVo {
|
||||
@ExcelProperty(value = "产线段")
|
||||
private String lineSection;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
@ExcelProperty(value = "负责人")
|
||||
private String responsiblePerson;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@@ -84,6 +84,7 @@ public class EqpEquipmentPartServiceImpl implements IEqpEquipmentPartService {
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getInspectPart()), EqpEquipmentPart::getInspectPart, bo.getInspectPart());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getProductionLine()), EqpEquipmentPart::getProductionLine, bo.getProductionLine());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getLineSection()), EqpEquipmentPart::getLineSection, bo.getLineSection());
|
||||
lqw.like(StringUtils.isNotBlank(bo.getResponsiblePerson()), EqpEquipmentPart::getResponsiblePerson, bo.getResponsiblePerson());
|
||||
return lqw;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user