|
@@ -80,7 +80,9 @@ public class SubscribeDetailServiceImpl extends ServiceImpl<SubscribeDetailMappe
|
|
|
wrapper.eq("json_unquote(t2.victoriatourist_json -> '$.receiptWarehouseId')", dto.getReceiptWarehouseId());
|
|
|
wrapper.eq("json_unquote(pi.victoriatourist_json -> '$.deptId')", dto.getDeptId());
|
|
|
//待采购过滤掉指定状态 例如不要 99 作废
|
|
|
- wrapper.notIn("t1", SubscribeDetail::getStatus, dto.getNeStatus().split(","));
|
|
|
+ if (ObjectUtil.isNotEmpty(dto.getNeStatus())) {
|
|
|
+ wrapper.notIn("t1", SubscribeDetail::getStatus, dto.getNeStatus().split(","));
|
|
|
+ }
|
|
|
|
|
|
|
|
|
wrapper.orderByDesc("t1", SubscribeDetail::getCreateTime);
|