|
@ -41,7 +41,9 @@ public class ReceivablesTaskGetEAIService extends AbsEAIService { |
|
|
List<CollectionDetailEntity> collectionDetailEntities = eaiRequest.getObject("get_data", new TypeReference<List<CollectionDetailEntity>>() {}); |
|
|
List<CollectionDetailEntity> collectionDetailEntities = eaiRequest.getObject("get_data", new TypeReference<List<CollectionDetailEntity>>() {}); |
|
|
|
|
|
|
|
|
for (CollectionDetailEntity collectionDetailEntity : collectionDetailEntities) { |
|
|
for (CollectionDetailEntity collectionDetailEntity : collectionDetailEntities) { |
|
|
if (StringUtils.isEmpty(collectionDetailEntity.getSalesOrder())||StringUtils.isEmpty(collectionDetailEntity.getSalesOrderNumber())){ |
|
|
|
|
|
|
|
|
if (StringUtils.isEmpty(collectionDetailEntity.getSalesOrder()) |
|
|
|
|
|
||StringUtils.isEmpty(collectionDetailEntity.getSalesOrderNumber()) |
|
|
|
|
|
||StringUtils.isEmpty(collectionDetailEntity.getProcessedBy())){ |
|
|
throw new DWBusinessException("缺少必要参数"); |
|
|
throw new DWBusinessException("缺少必要参数"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -55,6 +57,7 @@ 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()) |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|