d93e826b 康伟

kangwei:合同、入库、结算审批都增加消息推送提醒功能

        移动端也需要添加
1 个父辈 fc1d58f9
......@@ -134,6 +134,11 @@ public class ERPPurchaseContractServiceImpl extends ServiceImpl<ERPPurchaseContr
purchaseContractVO.setPurchaseMoney( purchaseMoney ) ;
this.baseMapper.updateById(purchaseContractVO ) ;
if("1".equals( purchaseContractVO.getStatus() )){
//发送信息
String roleId = configService.queryValueByKey("TGHT_SP_ROLE_ID");
smsService.pushMsgNoProcessByRoleId("统购合同审批","有统购合同["+purchaseContractVO.getContractName()+"]需要审批审批",roleId,"PurchaseContract");
}
}
/**
......@@ -159,6 +164,12 @@ public class ERPPurchaseContractServiceImpl extends ServiceImpl<ERPPurchaseContr
int count = this.baseMapper.updateById( purchaseContractVO );
purchaseMaterialMapper.changePurchaseContract( purchaseContractVO.getId(),purchaseContractVO.getUseFlag()) ;
if("1".equals( purchaseContractVO.getStatus() )){
//发送信息
String roleId = configService.queryValueByKey("TGHT_SP_ROLE_ID");
smsService.pushMsgNoProcessByRoleId("统购合同审批","有统购合同["+purchaseContractVO.getContractName()+"]需要审批审批",roleId,"PurchaseContract");
}
return count > 0 ? true :false;
}
/***
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!