|
@@ -211,9 +211,14 @@ public class RepairApplicationFormServiceImpl extends BaseServiceImpl<RepairAppl
|
|
|
System.out.println(LocalDateTime.now());
|
|
|
NoticeNumberVO noticeNumberVO=new NoticeNumberVO();
|
|
|
//先判断是否超级管理员
|
|
|
-// UserInfo userInfo=SecurityUtils.getUserInfo();
|
|
|
- UserInfo userInfo=new UserInfo();
|
|
|
- userInfo.setSuperAdmin(1);
|
|
|
+ UserInfo userInfo=SecurityUtils.getUserInfo();
|
|
|
+// UserInfo userInfo=new UserInfo();
|
|
|
+// userInfo.setSuperAdmin(0);
|
|
|
+// List list=new ArrayList();
|
|
|
+// list.add("Maintenance");
|
|
|
+// userInfo.setUserId("629ec2cc6f900a3658c4726f");
|
|
|
+
|
|
|
+// userInfo.setRoleCodes(list);
|
|
|
InStoreFormDTO inStoreFormDTO=new InStoreFormDTO();
|
|
|
OutStoreFormDTO outStoreFormDTO=new OutStoreFormDTO();
|
|
|
StoreCheckJobDTO storeCheckJobDTO=new StoreCheckJobDTO();
|
|
@@ -242,7 +247,6 @@ public class RepairApplicationFormServiceImpl extends BaseServiceImpl<RepairAppl
|
|
|
if(sb.toString().contains(SysRoleCodeEnum.Maintenance.name())){
|
|
|
noticeNumberVO.setRoleFlag(1);
|
|
|
//维修人员,获取自己名下的维修数量
|
|
|
- repairApplicationFormDTO.setRepairUserId(userInfo.getUserId());
|
|
|
repairApplicationFormDTO.setRepairUserId(userInfo.getUserId());
|
|
|
repairApplicationFormVOS= mapper.getRepairCount(repairApplicationFormDTO);
|
|
|
noticeNumberVO=addRepairNums(noticeNumberVO,repairApplicationFormVOS);
|