|
@@ -3,7 +3,12 @@ package com.ruoyi.project.plant.controller.weekMeeting;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
+import com.ruoyi.common.utils.DictUtils;
|
|
|
import com.ruoyi.project.plant.controller.TMtMeetingController;
|
|
|
+import com.ruoyi.project.plant.domain.TMtKeymaintenance;
|
|
|
+import com.ruoyi.project.system.domain.SysUser;
|
|
|
+import com.ruoyi.project.system.service.ISysUserService;
|
|
|
+import org.apache.commons.lang.StringUtils;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -36,7 +41,8 @@ public class TMtEhsopenitemController extends BaseController {
|
|
|
private ITMtEhsopenitemService tMtEhsopenitemService;
|
|
|
@Autowired
|
|
|
private TMtMeetingController tMtMeetingController;
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private ISysUserService sysUserService;
|
|
|
/**
|
|
|
* 查询EHS开项跟踪列表
|
|
|
*/
|
|
@@ -45,6 +51,13 @@ public class TMtEhsopenitemController extends BaseController {
|
|
|
public TableDataInfo list(TMtEhsopenitem tMtEhsopenitem) {
|
|
|
startPage();
|
|
|
List<TMtEhsopenitem> list = tMtEhsopenitemService.selectTMtEhsopenitemList(tMtEhsopenitem);
|
|
|
+ for (TMtEhsopenitem t:list
|
|
|
+ ) {
|
|
|
+ if (t.getUpdaterCode() != null) {
|
|
|
+ SysUser updater = sysUserService.selectUserById( Long.parseLong(t.getUpdaterCode()));
|
|
|
+ t.setUpdaterCode(updater.getNickName());
|
|
|
+ }
|
|
|
+ }
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|