|
@@ -415,10 +415,13 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
if (!StringUtils.isBlank(pmDemandReqVo.getPurchaseServices())) {
|
|
if (!StringUtils.isBlank(pmDemandReqVo.getPurchaseServices())) {
|
|
lw.eq(PmDemand::getPurchaseServices, pmDemandReqVo.getPurchaseServices());
|
|
lw.eq(PmDemand::getPurchaseServices, pmDemandReqVo.getPurchaseServices());
|
|
}
|
|
}
|
|
- if (pmDemandReqVo.getProjectStatus() != null) {
|
|
|
|
|
|
+ if (!ObjectUtils.isEmpty(pmDemandReqVo.getProjectStatus() )) {
|
|
lw.eq(PmDemand::getProjectStatus, pmDemandReqVo.getProjectStatus());
|
|
lw.eq(PmDemand::getProjectStatus, pmDemandReqVo.getProjectStatus());
|
|
}
|
|
}
|
|
- if (pmDemandReqVo.getIsExcess() != null) {
|
|
|
|
|
|
+ if (!ObjectUtils.isEmpty(pmDemandReqVo.getWarnStatus() )) {
|
|
|
|
+ lw.eq(PmDemand::getWarnStatus, pmDemandReqVo.getWarnStatus());
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(pmDemandReqVo.getIsExcess() )) {
|
|
lw.eq(PmDemand::getIsExcess, pmDemandReqVo.getIsExcess());
|
|
lw.eq(PmDemand::getIsExcess, pmDemandReqVo.getIsExcess());
|
|
}
|
|
}
|
|
if (!StringUtils.isBlank(pmDemandReqVo.getBeginDate())) {
|
|
if (!StringUtils.isBlank(pmDemandReqVo.getBeginDate())) {
|