Compare commits
2 Commits
66dae17caf
...
a3d80b09cb
| Author | SHA1 | Date | |
|---|---|---|---|
| a3d80b09cb | |||
| 0abd3668ad |
@@ -28,6 +28,14 @@ public class EqpEquipmentPart extends BaseEntity {
|
|||||||
* 巡检部位
|
* 巡检部位
|
||||||
*/
|
*/
|
||||||
private String inspectPart;
|
private String inspectPart;
|
||||||
|
/**
|
||||||
|
* 产线
|
||||||
|
*/
|
||||||
|
private String productionLine;
|
||||||
|
/**
|
||||||
|
* 产线段
|
||||||
|
*/
|
||||||
|
private String lineSection;
|
||||||
/**
|
/**
|
||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -28,6 +28,16 @@ public class EqpEquipmentPartBo extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String inspectPart;
|
private String inspectPart;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产线
|
||||||
|
*/
|
||||||
|
private String productionLine;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产线段
|
||||||
|
*/
|
||||||
|
private String lineSection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -33,6 +33,18 @@ public class EqpEquipmentPartVo {
|
|||||||
@ExcelProperty(value = "巡检部位")
|
@ExcelProperty(value = "巡检部位")
|
||||||
private String inspectPart;
|
private String inspectPart;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产线
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "产线")
|
||||||
|
private String productionLine;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产线段
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "产线段")
|
||||||
|
private String lineSection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -79,6 +79,8 @@ public class EqpEquipmentPartServiceImpl implements IEqpEquipmentPartService {
|
|||||||
Map<String, Object> params = bo.getParams();
|
Map<String, Object> params = bo.getParams();
|
||||||
LambdaQueryWrapper<EqpEquipmentPart> lqw = Wrappers.lambdaQuery();
|
LambdaQueryWrapper<EqpEquipmentPart> lqw = Wrappers.lambdaQuery();
|
||||||
lqw.eq(StringUtils.isNotBlank(bo.getInspectPart()), EqpEquipmentPart::getInspectPart, bo.getInspectPart());
|
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;
|
return lqw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
<resultMap type="com.klp.mes.eqp.domain.EqpEquipmentPart" id="EqpEquipmentPartResult">
|
<resultMap type="com.klp.mes.eqp.domain.EqpEquipmentPart" id="EqpEquipmentPartResult">
|
||||||
<result property="partId" column="part_id"/>
|
<result property="partId" column="part_id"/>
|
||||||
<result property="inspectPart" column="inspect_part"/>
|
<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="remark" column="remark"/>
|
||||||
<result property="createBy" column="create_by"/>
|
<result property="createBy" column="create_by"/>
|
||||||
<result property="createTime" column="create_time"/>
|
<result property="createTime" column="create_time"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user