md
This commit is contained in:
parent
2de561fb26
commit
94b0761b8e
@ -2339,12 +2339,15 @@ public class EmisBaseService {
|
||||
* @param msg
|
||||
* @param clickPath
|
||||
*/
|
||||
public void sendNoticeToEmpUser(String empCode,String title,String msg,String clickPath){
|
||||
if(!StringUtils.isEmpty(empCode)){
|
||||
String [] empCodeArr=empCode.split(",");
|
||||
public void sendNoticeToEmpUser(String empCodeStr,String title,String msg,String clickPath){
|
||||
if(!StringUtils.isEmpty(empCodeStr)){
|
||||
String [] empCodeArr=empCodeStr.split(",");
|
||||
for(int i=0;i<empCodeArr.length;i++) {
|
||||
String empCode=empCodeArr[i];
|
||||
SysUser empUser = getEmisStaffByCode(empCode);
|
||||
sysNoticeService.addNoticeToUser(title, msg, clickPath, empUser.getUserId());
|
||||
if(empUser!=null) {
|
||||
sysNoticeService.addNoticeToUser(title, msg, clickPath, empUser.getUserId());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user