|
|
@@ -104,6 +104,9 @@ public class PurchaseNoticeServiceImpl implements PurchaseNoticeService {
|
|
|
@Autowired
|
|
|
private PurchaseNoticeEndDao noticeEndDao;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private EnterpriseDao enterpriseDao;
|
|
|
+
|
|
|
/**
|
|
|
* 最多数量
|
|
|
*/
|
|
|
@@ -366,7 +369,7 @@ public class PurchaseNoticeServiceImpl implements PurchaseNoticeService {
|
|
|
send.setVerifystatus(Constant.NO);
|
|
|
send.setCustUU(notice.getEnUU());
|
|
|
if (!StringUtils.isEmpty(notice.getOrderItem().getCustPurchaseCode())) {
|
|
|
- send.setCustUserUU(order.getUserUU());
|
|
|
+ send.setCustUserUU(enterpriseDao.findOne(notice.getEnUU()).getEnAdminuu());
|
|
|
} else {
|
|
|
send.setCustUserUU(order.getUserUU());
|
|
|
}
|