Browse Source

feat:去除处理人条件

master
郑贵龙 1 year ago
parent
commit
853c70ebca
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/receivables/ReceivablesTaskGetEAIService.java

+ 1
- 3
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/receivables/ReceivablesTaskGetEAIService.java View File

@ -42,8 +42,7 @@ public class ReceivablesTaskGetEAIService extends AbsEAIService {
for (CollectionDetailEntity collectionDetailEntity : collectionDetailEntities) { for (CollectionDetailEntity collectionDetailEntity : collectionDetailEntities) {
if (StringUtils.isEmpty(collectionDetailEntity.getSalesOrder()) if (StringUtils.isEmpty(collectionDetailEntity.getSalesOrder())
||StringUtils.isEmpty(collectionDetailEntity.getSalesOrderNumber())
||StringUtils.isEmpty(collectionDetailEntity.getProcessedBy())){
||StringUtils.isEmpty(collectionDetailEntity.getSalesOrderNumber())){
throw new DWBusinessException("缺少必要参数"); throw new DWBusinessException("缺少必要参数");
} }
} }
@ -57,7 +56,6 @@ public class ReceivablesTaskGetEAIService extends AbsEAIService {
wrapper -> wrapper wrapper -> wrapper
.eq(CollectionDetailEntity::getSalesOrder, collectionDetailEntity.getSalesOrder()) .eq(CollectionDetailEntity::getSalesOrder, collectionDetailEntity.getSalesOrder())
.eq(CollectionDetailEntity::getSalesOrderNumber, collectionDetailEntity.getSalesOrderNumber()) .eq(CollectionDetailEntity::getSalesOrderNumber, collectionDetailEntity.getSalesOrderNumber())
.eq(CollectionDetailEntity::getProcessedBy, collectionDetailEntity.getProcessedBy())
); );
} }


Loading…
Cancel
Save