Commit 77f6fa6c by zhouhaibao

[+]日期管理

1 parent 4ecaaedf
...@@ -32,4 +32,6 @@ public class StrategyCourseLearnProcessDTO implements Serializable { ...@@ -32,4 +32,6 @@ public class StrategyCourseLearnProcessDTO implements Serializable {
@ApiModelProperty(notes = "学习成绩") @ApiModelProperty(notes = "学习成绩")
private BigDecimal totalScore; private BigDecimal totalScore;
private Date completedTime;
} }
\ No newline at end of file \ No newline at end of file
...@@ -213,6 +213,7 @@ public class StrategyInfoService { ...@@ -213,6 +213,7 @@ public class StrategyInfoService {
if (learningRecord != null && 50==learningRecord.getLearnStatus()){ if (learningRecord != null && 50==learningRecord.getLearnStatus()){
strategyStaffRelnew.setProgressStatus(3); strategyStaffRelnew.setProgressStatus(3);
strategyStaffRelnew.setScore(learningRecord.getTotalScore()); strategyStaffRelnew.setScore(learningRecord.getTotalScore());
strategyStaffRelnew.setCompletionTime(learningRecord.getCompletedTime());
}else if (learningRecord != null && learningstatus.contains(learningRecord.getLearnStatus())){ }else if (learningRecord != null && learningstatus.contains(learningRecord.getLearnStatus())){
strategyStaffRelnew.setProgressStatus(2); strategyStaffRelnew.setProgressStatus(2);
}else { }else {
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</select> </select>
<select id="findCourseProcess" <select id="findCourseProcess"
resultType="cn.com.glsx.dj.strategy.model.StrategyCourseLearnProcessDTO"> resultType="cn.com.glsx.dj.strategy.model.StrategyCourseLearnProcessDTO">
select t1.user_id as userId,t1.course_id as courseId, t1.learn_status as learnStatus,t1.total_score as totalScore from dj_beisen_course_staff t1 select t1.user_id as userId,t1.course_id as courseId, t1.learn_status as learnStatus,t1.total_score as totalScore,t1.learn_end_time as completedTime from dj_beisen_course_staff t1
where where
t1.user_id in t1.user_id in
<foreach item="item" index="index" collection="beisenUserList" separator="," open="(" close=")"> <foreach item="item" index="index" collection="beisenUserList" separator="," open="(" close=")">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!