|
@@ -228,7 +228,7 @@ public class CollectService {
|
|
|
if ("1".equals(byTypeAndTradeName.get(0).getWarnFlag()) && whnum.compareTo(warnNum) <= 0 ) {
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
|
|
|
String day = format.format(new Date());
|
|
|
- String title = userDTO.getLoginName() + " 在 " + day + " 发起了 [库存提醒]";
|
|
|
+ String title = "管理员发起了 [库存提醒]";
|
|
|
//向多个用户发起通知 徐珊、黄丽、杨娟、崇祝燕
|
|
|
List<UserDTO> usersInfo = wareHouseDetailedMapper.getUsersInfo();
|
|
|
//获取目前领用流程的taskid,根据procInsId去查taskId
|
|
@@ -238,7 +238,7 @@ public class CollectService {
|
|
|
uuid = UUID.randomUUID().toString();
|
|
|
//发送通知
|
|
|
// myNoticeService.add(uuid, title, "", "库存提醒", userDTO.getLoginName(), day,userDTO1.getLoginName(), userDTO1.getId());
|
|
|
- myNoticeService.add(uuid, title, detailInfo.getBasicId(), "库存提醒", userDTO.getLoginName(), day,userDTO1.getLoginName(), userDTO1.getId());
|
|
|
+ myNoticeService.add(uuid, title, detailInfo.getBasicId(), "库存提醒", "管理员", day,userDTO1.getLoginName(), userDTO1.getId());
|
|
|
}
|
|
|
}
|
|
|
}
|