|
@@ -346,7 +346,7 @@ public class RepairApplicationFormController {
|
|
|
@SysLog("获取维修单,保养任务,待办,通知的数量")
|
|
|
@GetMapping("/getNums")
|
|
|
public R getNums() {
|
|
|
- NoticeNumberVO noticeNumberVO=repairApplicationFormService.getNoticeNumberVO();
|
|
|
+ NoticeNumberVO noticeNumberVO= repairApplicationFormService.getNoticeNumberVO();
|
|
|
return new R<>(noticeNumberVO);
|
|
|
}
|
|
|
|
|
@@ -355,9 +355,9 @@ public class RepairApplicationFormController {
|
|
|
public R getRepairApplicationForm() {
|
|
|
// UserInfo userInfo=new UserInfo();
|
|
|
// List list=new ArrayList();
|
|
|
-//// list.add("维修人员");
|
|
|
-// list.add("workplace_store_manage");
|
|
|
-// userInfo.setUserId("1");
|
|
|
+// list.add("维修人员");
|
|
|
+// list.add("Maintenance");
|
|
|
+// userInfo.setUserId("629ec5456f900a3658c472b5");
|
|
|
// userInfo.setRoleCodes(list);
|
|
|
|
|
|
UserInfo userInfo= SecurityUtils.getUserInfo();
|
|
@@ -375,7 +375,7 @@ public class RepairApplicationFormController {
|
|
|
return new R(repairApplicationFormService.getStoreForm());
|
|
|
}
|
|
|
}
|
|
|
- return new R<>(null);
|
|
|
+ return new R<>();
|
|
|
}
|
|
|
|
|
|
}
|