|
@@ -311,7 +311,7 @@ public class HomeworkQueryDaoImpl implements HomeworkQueryDao {
|
|
List<Object> queryParams = new ArrayList<Object>();
|
|
List<Object> queryParams = new ArrayList<Object>();
|
|
selSQL.append("SELECT b.homework_id,b.student_name ,b.`subject`,b.grade,b.correctNums as correct_nums,b.totalNums as total_nums,\n");
|
|
selSQL.append("SELECT b.homework_id,b.student_name ,b.`subject`,b.grade,b.correctNums as correct_nums,b.totalNums as total_nums,\n");
|
|
selSQL.append("case when state in (6,7) then concat(DATE_FORMAT(SEC_TO_TIME(b.next_1),'%i分%s秒'),'/张') \n");
|
|
selSQL.append("case when state in (6,7) then concat(DATE_FORMAT(SEC_TO_TIME(b.next_1),'%i分%s秒'),'/张') \n");
|
|
- selSQL.append("when state =4 then concat(DATE_FORMAT(SEC_TO_TIME(b.start_time),'%i:%s'),'开始批注')\n");
|
|
|
|
|
|
+ selSQL.append("when state =4 then concat(DATE_FORMAT(b.start_time,'%i:%s'),'开始批注')\n");
|
|
selSQL.append("when state = 2 then concat('等待',SEC_TO_TIME(TIMESTAMPDIFF(SECOND,b.allot_time,NOW())))\n");
|
|
selSQL.append("when state = 2 then concat('等待',SEC_TO_TIME(TIMESTAMPDIFF(SECOND,b.allot_time,NOW())))\n");
|
|
selSQL.append("else '作业已超时' end state_msg,b.state \n");
|
|
selSQL.append("else '作业已超时' end state_msg,b.state \n");
|
|
selSQL.append("from (\n");
|
|
selSQL.append("from (\n");
|