Compare commits
2 Commits
8684bc4a63
...
327ae685c1
| Author | SHA1 | Date | |
|---|---|---|---|
| 327ae685c1 | |||
| df643a8e4e |
@@ -31,7 +31,7 @@ public class EqpEquipmentPart extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 产线
|
* 产线
|
||||||
*/
|
*/
|
||||||
private String productionLine;
|
private Long productionLine;
|
||||||
/**
|
/**
|
||||||
* 产线段
|
* 产线段
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ public class EqpEquipmentPartBo extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 产线
|
* 产线
|
||||||
*/
|
*/
|
||||||
private String productionLine;
|
private Long productionLine;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 产线段
|
* 产线段
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class EqpEquipmentPartVo {
|
|||||||
* 产线
|
* 产线
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "产线")
|
@ExcelProperty(value = "产线")
|
||||||
private String productionLine;
|
private Long productionLine;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 产线段
|
* 产线段
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ 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(bo.getProductionLine() != null, EqpEquipmentPart::getProductionLine, bo.getProductionLine());
|
||||||
lqw.eq(StringUtils.isNotBlank(bo.getLineSection()), EqpEquipmentPart::getLineSection, bo.getLineSection());
|
lqw.eq(StringUtils.isNotBlank(bo.getLineSection()), EqpEquipmentPart::getLineSection, bo.getLineSection());
|
||||||
lqw.like(StringUtils.isNotBlank(bo.getResponsiblePerson()), EqpEquipmentPart::getResponsiblePerson, bo.getResponsiblePerson());
|
lqw.like(StringUtils.isNotBlank(bo.getResponsiblePerson()), EqpEquipmentPart::getResponsiblePerson, bo.getResponsiblePerson());
|
||||||
return lqw;
|
return lqw;
|
||||||
|
|||||||
Reference in New Issue
Block a user