Kaynağa Gözat

新增获取项目打卡月份数据表

anderx 1 yıl önce
ebeveyn
işleme
2536a88aa2

+ 1 - 2
ruoyi-system/src/main/java/com/ruoyi/project/service/impl/ProjectStaffRecordServiceImpl.java

@@ -847,8 +847,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
     }
 
     private ProjectTask getProjectTask(Integer id) {
-        ProjectTask projectTask = projectTaskMapper.selectByPrimaryKey(Long.valueOf(id));
-        return projectTask;
+        return projectTaskMapper.selectByPrimaryKey(Long.valueOf(id));
     }
 
     @Override