Commit 76972593 authored by 耿迪迪's avatar 耿迪迪

培训统计培训时长问题修改

parent 0ad8b707
...@@ -13,7 +13,7 @@ public class TrainCourseStatDetail { ...@@ -13,7 +13,7 @@ public class TrainCourseStatDetail {
private String deptName; private String deptName;
@Excel(name = "培训时长") @Excel(name = "培训时长")
private Integer finishDuration; private String finishDuration;
private Integer trainState; private Integer trainState;
...@@ -44,11 +44,11 @@ public class TrainCourseStatDetail { ...@@ -44,11 +44,11 @@ public class TrainCourseStatDetail {
this.deptName = deptName; this.deptName = deptName;
} }
public Integer getFinishDuration() { public String getFinishDuration() {
return finishDuration; return finishDuration;
} }
public void setFinishDuration(Integer finishDuration) { public void setFinishDuration(String finishDuration) {
this.finishDuration = finishDuration; this.finishDuration = finishDuration;
} }
......
...@@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
courseUse.user_course_id, courseUse.user_course_id,
us.nick_name, us.nick_name,
dept.dept_name, dept.dept_name,
courseUse.finish_duration, SEC_TO_TIME(courseUse.finish_duration)AS finish_duration,
courseUse.train_state, courseUse.train_state,
( (
CASE courseUse.train_state CASE courseUse.train_state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment