Showing
1 changed file
with
9 additions
and
0 deletions
| @@ -23,6 +23,7 @@ import com.lframework.starter.web.inner.service.system.SysDeptService; | @@ -23,6 +23,7 @@ import com.lframework.starter.web.inner.service.system.SysDeptService; | ||
| 23 | import com.lframework.starter.web.inner.service.system.SysRoleService; | 23 | import com.lframework.starter.web.inner.service.system.SysRoleService; |
| 24 | import com.lframework.starter.web.inner.service.system.SysUserDeptService; | 24 | import com.lframework.starter.web.inner.service.system.SysUserDeptService; |
| 25 | import com.lframework.starter.web.inner.service.system.SysUserService; | 25 | import com.lframework.starter.web.inner.service.system.SysUserService; |
| 26 | +import com.lframework.xingyun.sc.handlers.MessageHandler; | ||
| 26 | import com.lframework.xingyun.sc.procurement.entity.SupplierQuotationDeal; | 27 | import com.lframework.xingyun.sc.procurement.entity.SupplierQuotationDeal; |
| 27 | import com.lframework.xingyun.sc.procurement.entity.SupplierQuotationProject; | 28 | import com.lframework.xingyun.sc.procurement.entity.SupplierQuotationProject; |
| 28 | import com.lframework.xingyun.sc.procurement.entity.SupplierQuotationProjectQuote; | 29 | import com.lframework.xingyun.sc.procurement.entity.SupplierQuotationProjectQuote; |
| @@ -75,6 +76,8 @@ public class SupplierQuotationDealServiceImpl | @@ -75,6 +76,8 @@ public class SupplierQuotationDealServiceImpl | ||
| 75 | private SysUserService sysUserService; | 76 | private SysUserService sysUserService; |
| 76 | @Resource | 77 | @Resource |
| 77 | private SysRoleService sysRoleService; | 78 | private SysRoleService sysRoleService; |
| 79 | + @Resource | ||
| 80 | + private MessageHandler messageHandler; | ||
| 78 | 81 | ||
| 79 | @Transactional(rollbackFor = Exception.class) | 82 | @Transactional(rollbackFor = Exception.class) |
| 80 | @Override | 83 | @Override |
| @@ -158,6 +161,12 @@ public class SupplierQuotationDealServiceImpl | @@ -158,6 +161,12 @@ public class SupplierQuotationDealServiceImpl | ||
| 158 | .eq(SupplierQuotationDeal::getId, data.getId()); | 161 | .eq(SupplierQuotationDeal::getId, data.getId()); |
| 159 | getBaseMapper().update(updateWrapper); | 162 | getBaseMapper().update(updateWrapper); |
| 160 | 163 | ||
| 164 | + //消息提醒 | ||
| 165 | + List<String> userIdList = new ArrayList<>(); | ||
| 166 | + userIdList.add(principal.getId()); | ||
| 167 | + messageHandler.sendMsg(userIdList, "供应商报价分配提醒", "您在项目" + data.getProductName() | ||
| 168 | + + "中被分配为供应商" + data.getSupplierName() + "的负责人,请尽快为此供应商发起业务员报价!", data.getId(), null); | ||
| 169 | + | ||
| 161 | OpLogUtil.setExtra(vo); | 170 | OpLogUtil.setExtra(vo); |
| 162 | } | 171 | } |
| 163 | 172 |