feat(eqp): 添加巡检加产线和产线段

This commit is contained in:
2026-05-21 18:02:39 +08:00
parent d60508364b
commit 0abd3668ad
5 changed files with 34 additions and 0 deletions

View File

@@ -28,6 +28,14 @@ public class EqpEquipmentPart extends BaseEntity {
* 巡检部位
*/
private String inspectPart;
/**
* 产线
*/
private String productionLine;
/**
* 产线段
*/
private String lineSection;
/**
* 备注
*/

View File

@@ -28,6 +28,16 @@ public class EqpEquipmentPartBo extends BaseEntity {
*/
private String inspectPart;
/**
* 产线
*/
private String productionLine;
/**
* 产线段
*/
private String lineSection;
/**
* 备注
*/

View File

@@ -33,6 +33,18 @@ public class EqpEquipmentPartVo {
@ExcelProperty(value = "巡检部位")
private String inspectPart;
/**
* 产线
*/
@ExcelProperty(value = "产线")
private String productionLine;
/**
* 产线段
*/
@ExcelProperty(value = "产线段")
private String lineSection;
/**
* 备注
*/

View File

@@ -79,6 +79,8 @@ public class EqpEquipmentPartServiceImpl implements IEqpEquipmentPartService {
Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<EqpEquipmentPart> lqw = Wrappers.lambdaQuery();
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());
return lqw;
}

View File

@@ -7,6 +7,8 @@
<resultMap type="com.klp.mes.eqp.domain.EqpEquipmentPart" id="EqpEquipmentPartResult">
<result property="partId" column="part_id"/>
<result property="inspectPart" column="inspect_part"/>
<result property="productionLine" column="production_line"/>
<result property="lineSection" column="line_section"/>
<result property="remark" column="remark"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>