|
|
@@ -36,7 +36,6 @@ public class APCheckServiceImpl implements APCheckService {
|
|
|
for (APCheck apCheck : apChecks) {
|
|
|
List<PurchaseApCheck> existChecks = purchaseAPCheckDao.findByCustUuAndCode(vendUU, apCheck.getAc_code());
|
|
|
if (!CollectionUtils.isEmpty(existChecks)) {// 客户UU正确,否则不保存
|
|
|
- // PurchaseApCheck purchseAPCheck = apCheck.convert();
|
|
|
PurchaseApCheck apcheckb2b = existChecks.get(0);
|
|
|
apcheckb2b.setCheckStatus(apCheck.getAc_confirmstatus());
|
|
|
apcheckb2b.setCustreply(apCheck.getAc_reason());
|
|
|
@@ -59,23 +58,6 @@ public class APCheckServiceImpl implements APCheckService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- // if (!CollectionUtils.isEmpty(purchseAPCheck.getItems()))
|
|
|
- // {
|
|
|
- // for (PurchaseApCheckItem item :
|
|
|
- // purchseAPCheck.getItems()) {
|
|
|
- // for (PurchaseApCheckItem exitItem :
|
|
|
- // apcheckb2b.getItems()) {
|
|
|
- // if (exitItem.getNumber() != null &&
|
|
|
- // exitItem.getNumber().equals(item.getNumber())) {
|
|
|
- // exitItem.setCheckQty(item.getCheckQty());
|
|
|
- // exitItem.setApCheck(apcheckb2b);
|
|
|
- // apCheckItems.add(exitItem);
|
|
|
- // }
|
|
|
- // }
|
|
|
- //
|
|
|
- // }
|
|
|
- // }
|
|
|
}
|
|
|
}
|
|
|
}
|