|
|
@@ -59,8 +59,8 @@ public class PurchaseNotifyController {
|
|
|
List<List<PurchaseNotice>> lists = purchaseNotifyService.convertPurchaseNotify(notifies);
|
|
|
purchaseNoticeService.save(lists.get(0));
|
|
|
List<PurchaseNotice> oppNotices = lists.get(1);
|
|
|
- if(!CollectionUtils.isEmpty(oppNotices)) {
|
|
|
- for(PurchaseNotice notice : oppNotices) {
|
|
|
+ if (!CollectionUtils.isEmpty(oppNotices)) {
|
|
|
+ for (PurchaseNotice notice : oppNotices) {
|
|
|
PurchaseNotify notify = new PurchaseNotify();
|
|
|
notify.setPn_id(notice.getSourceId());
|
|
|
notify.setPn_qty(notice.getQty());
|