mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-17 23:06:53 +08:00
fix:【FCJDFDXTXS-142】学习时长字段表头与.学习状态字段枚举值应为“未开始、进行中、已完成”修改
This commit is contained in:
@@ -345,7 +345,7 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
exportMap.put("部门", "部门");
|
||||
exportMap.put("学习开始时间", "学习开始时间");
|
||||
exportMap.put("学习结束时间", "学习结束时间");
|
||||
exportMap.put("学习时长(分)", "学习时长(分)");
|
||||
exportMap.put("学习时长", "学习时长");
|
||||
exportMap.put("学习状态", "学习状态");
|
||||
exportMap.put("学习进度", "学习进度");
|
||||
// 2.查询课程的所有考试答卷信息,拼接动态表头(XXX考试成绩)
|
||||
@@ -454,7 +454,7 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
// 结束时间为空的,说明还没学习结束(有值)
|
||||
map.put("学习结束时间", studyCourse1.getFinishTime());
|
||||
// 学习时长(保留两位小数):
|
||||
map.put("学习时长(分)", studyCourse1.getTotalDuration() == null ? null : String.format("%.2f", studyCourse1.getTotalDuration() / 60.0));
|
||||
map.put("学习时长", studyCourse1.getTotalDuration() == null ? null : String.format("%.2f", studyCourse1.getTotalDuration() / 60.0));
|
||||
// 学习状态需要转换
|
||||
String statusText = "";
|
||||
if (studyCourse1.getStatus() != null) {
|
||||
|
||||
Reference in New Issue
Block a user