|
@@ -44,8 +44,7 @@ import static com.rongwei.safecommon.utils.SaveConstans.FileName.PLANNING_TASK_F
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyContent.*;
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyContent.*;
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyTitle.*;
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyTitle.*;
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyType.*;
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyType.*;
|
|
-import static com.rongwei.safecommon.utils.SaveConstans.RoleCode.HOED;
|
|
|
|
-import static com.rongwei.safecommon.utils.SaveConstans.RoleCode.STORAGE;
|
|
|
|
|
|
+import static com.rongwei.safecommon.utils.SaveConstans.RoleCode.*;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author shangmi
|
|
* @author shangmi
|
|
@@ -335,7 +334,7 @@ public class EquipmentSendNotifyServiceImpl implements EquipmentSendNotifyServic
|
|
|
|
|
|
// 3.消息提醒
|
|
// 3.消息提醒
|
|
// 3.1发送人 取车间维修主管、设备部部长、设备部维修主管 角色中所有人员
|
|
// 3.1发送人 取车间维修主管、设备部部长、设备部维修主管 角色中所有人员
|
|
- List<String> userId = equMaintenanceOrderService.selectRoleList(Arrays.asList(HOED, STORAGE));
|
|
|
|
|
|
+ List<String> userId = equMaintenanceOrderService.selectRoleList(Arrays.asList(WMS,EDMS, EDMS));
|
|
if (userId.isEmpty()) {
|
|
if (userId.isEmpty()) {
|
|
log.info("车间维修主管、设备部部长、设备部维修主管角色无提醒人");
|
|
log.info("车间维修主管、设备部部长、设备部维修主管角色无提醒人");
|
|
return R.ok();
|
|
return R.ok();
|