kangwei:合同、入库、结算审批都增加消息推送提醒功能
移动端也需要添加
正在显示
1 个修改的文件
包含
11 行增加
和
0 行删除
... | @@ -134,6 +134,11 @@ public class ERPPurchaseContractServiceImpl extends ServiceImpl<ERPPurchaseContr | ... | @@ -134,6 +134,11 @@ public class ERPPurchaseContractServiceImpl extends ServiceImpl<ERPPurchaseContr |
134 | 134 | ||
135 | purchaseContractVO.setPurchaseMoney( purchaseMoney ) ; | 135 | purchaseContractVO.setPurchaseMoney( purchaseMoney ) ; |
136 | this.baseMapper.updateById(purchaseContractVO ) ; | 136 | this.baseMapper.updateById(purchaseContractVO ) ; |
137 | if("1".equals( purchaseContractVO.getStatus() )){ | ||
138 | //发送信息 | ||
139 | String roleId = configService.queryValueByKey("TGHT_SP_ROLE_ID"); | ||
140 | smsService.pushMsgNoProcessByRoleId("统购合同审批","有统购合同["+purchaseContractVO.getContractName()+"]需要审批审批",roleId,"PurchaseContract"); | ||
141 | } | ||
137 | } | 142 | } |
138 | 143 | ||
139 | /** | 144 | /** |
... | @@ -159,6 +164,12 @@ public class ERPPurchaseContractServiceImpl extends ServiceImpl<ERPPurchaseContr | ... | @@ -159,6 +164,12 @@ public class ERPPurchaseContractServiceImpl extends ServiceImpl<ERPPurchaseContr |
159 | int count = this.baseMapper.updateById( purchaseContractVO ); | 164 | int count = this.baseMapper.updateById( purchaseContractVO ); |
160 | 165 | ||
161 | purchaseMaterialMapper.changePurchaseContract( purchaseContractVO.getId(),purchaseContractVO.getUseFlag()) ; | 166 | purchaseMaterialMapper.changePurchaseContract( purchaseContractVO.getId(),purchaseContractVO.getUseFlag()) ; |
167 | |||
168 | if("1".equals( purchaseContractVO.getStatus() )){ | ||
169 | //发送信息 | ||
170 | String roleId = configService.queryValueByKey("TGHT_SP_ROLE_ID"); | ||
171 | smsService.pushMsgNoProcessByRoleId("统购合同审批","有统购合同["+purchaseContractVO.getContractName()+"]需要审批审批",roleId,"PurchaseContract"); | ||
172 | } | ||
162 | return count > 0 ? true :false; | 173 | return count > 0 ? true :false; |
163 | } | 174 | } |
164 | /*** | 175 | /*** | ... | ... |
-
请 注册 或 登录 后发表评论