|
@@ -296,6 +296,7 @@ public class PurchaseApCheckServiceImpl implements PurchaseApCheckService {
|
|
|
items = purchaseApCheckItemDao.save(items);
|
|
items = purchaseApCheckItemDao.save(items);
|
|
|
if (!CollectionUtils.isEmpty(items)) {
|
|
if (!CollectionUtils.isEmpty(items)) {
|
|
|
ContextUtils.publishEvent(new PurchaseApCheckSaveEvent(PurchaseApCheckItem.distinct(items)));
|
|
ContextUtils.publishEvent(new PurchaseApCheckSaveEvent(PurchaseApCheckItem.distinct(items)));
|
|
|
|
|
+ saveUserOrders(PurchaseApCheckItem.distinct(items));
|
|
|
}
|
|
}
|
|
|
// TODO 把items转成主记录的形式
|
|
// TODO 把items转成主记录的形式
|
|
|
return purchaseApCheck;
|
|
return purchaseApCheck;
|