md
This commit is contained in:
parent
2de561fb26
commit
94b0761b8e
@ -2339,12 +2339,15 @@ public class EmisBaseService {
|
|||||||
* @param msg
|
* @param msg
|
||||||
* @param clickPath
|
* @param clickPath
|
||||||
*/
|
*/
|
||||||
public void sendNoticeToEmpUser(String empCode,String title,String msg,String clickPath){
|
public void sendNoticeToEmpUser(String empCodeStr,String title,String msg,String clickPath){
|
||||||
if(!StringUtils.isEmpty(empCode)){
|
if(!StringUtils.isEmpty(empCodeStr)){
|
||||||
String [] empCodeArr=empCode.split(",");
|
String [] empCodeArr=empCodeStr.split(",");
|
||||||
for(int i=0;i<empCodeArr.length;i++) {
|
for(int i=0;i<empCodeArr.length;i++) {
|
||||||
|
String empCode=empCodeArr[i];
|
||||||
SysUser empUser = getEmisStaffByCode(empCode);
|
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