|
|
@ -105,6 +105,16 @@ public class QcInspectionMainServiceImpl implements IQcInspectionMainService {
|
|
|
|
.eq(StringUtils.isNotBlank(bo.getBarcode()), QcInspectionMain::getBarcode, bo.getBarcode())
|
|
|
|
.eq(StringUtils.isNotBlank(bo.getBarcode()), QcInspectionMain::getBarcode, bo.getBarcode())
|
|
|
|
.like(StringUtils.isNotBlank(bo.getSupplierName()), QcInspectionMain::getSupplierName, bo.getSupplierName())
|
|
|
|
.like(StringUtils.isNotBlank(bo.getSupplierName()), QcInspectionMain::getSupplierName, bo.getSupplierName())
|
|
|
|
.orderByDesc(QcInspectionMain::getCreateTime);
|
|
|
|
.orderByDesc(QcInspectionMain::getCreateTime);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object beginInspectionStartTime = params.get("beginInspectionStartTime");
|
|
|
|
|
|
|
|
Object endInspectionStartTime = params.get("endInspectionStartTime");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (beginInspectionStartTime != null) {
|
|
|
|
|
|
|
|
lqw.ge(QcInspectionMain::getInspectionStartTime, beginInspectionStartTime);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (endInspectionStartTime != null) {
|
|
|
|
|
|
|
|
lqw.le(QcInspectionMain::getInspectionStartTime, endInspectionStartTime);
|
|
|
|
|
|
|
|
}
|
|
|
|
return lqw;
|
|
|
|
return lqw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|