|
|
@@ -5,7 +5,6 @@ import com.uas.platform.b2b.core.util.SplitArray;
|
|
|
import com.uas.platform.b2b.core.util.ThreadTask;
|
|
|
import com.uas.platform.b2b.dao.*;
|
|
|
import com.uas.platform.b2b.erp.model.PurchaseNotify;
|
|
|
-import com.uas.platform.b2b.event.PurchaseNoticeSaveReleaseEvent;
|
|
|
import com.uas.platform.b2b.event.SaleSendAcceptReleaseEvent;
|
|
|
import com.uas.platform.b2b.event.SaleSendRefuseReleaseEvent;
|
|
|
import com.uas.platform.b2b.model.*;
|
|
|
@@ -63,9 +62,6 @@ public class PurchaseNoticeServiceImpl implements PurchaseNoticeService {
|
|
|
@Autowired
|
|
|
private SaleSendItemVerifyDao saleSendItemVerifyDao;
|
|
|
|
|
|
- @Autowired
|
|
|
- private UserBaseInfoDao userBaseInfoDao;
|
|
|
-
|
|
|
@Autowired
|
|
|
private B2bCodeSetDao b2bCodeSetDao;
|
|
|
|
|
|
@@ -105,9 +101,6 @@ public class PurchaseNoticeServiceImpl implements PurchaseNoticeService {
|
|
|
@Autowired
|
|
|
private PersonalProductService personalProductService;
|
|
|
|
|
|
- @Autowired
|
|
|
- private PurchaseOrderItemDao orderItemDao;
|
|
|
-
|
|
|
@Autowired
|
|
|
private PurchaseNoticeEndDao noticeEndDao;
|
|
|
|
|
|
@@ -120,7 +113,6 @@ public class PurchaseNoticeServiceImpl implements PurchaseNoticeService {
|
|
|
public List<PurchaseNotice> save(List<PurchaseNotice> notices) {
|
|
|
notices = purchaseNoticeDao.save(notices);
|
|
|
saveUserOrders(notices);
|
|
|
- ContextUtils.publishEvent(new PurchaseNoticeSaveReleaseEvent(notices));
|
|
|
return notices;
|
|
|
}
|
|
|
|