|
|
@@ -1228,7 +1228,7 @@ public class PurchaseApCheckServiceImpl implements PurchaseApCheckService {
|
|
|
double checkAmount = 0;
|
|
|
for (PurchaseApCheckItem apCheckItem : apCheck.getItems()) {
|
|
|
List<ErpProdIODetail> erpProdIODetails = erpProdIODetailService.getBySourceTableAndSourceId(apCheckItem.getSourceTable(), apCheckItem.getSourceId());
|
|
|
- if(CollectionUtils.isEmpty(erpProdIODetails)) {
|
|
|
+ if(!CollectionUtils.isEmpty(erpProdIODetails)) {
|
|
|
ErpProdIODetail erpProdIODetail = erpProdIODetails.get(0);
|
|
|
// 赋值明细
|
|
|
convertErpProdIODetail(apCheckItem, erpProdIODetail);
|