Pārlūkot izejas kodu

批注接口提交

shenhao 3 gadi atpakaļ
vecāks
revīzija
6761e15a57

+ 1 - 1
src/main/java/com/ssj/dao/sys/homework/dao/impl/HomeworkQueryDaoImpl.java

@@ -311,7 +311,7 @@ public class HomeworkQueryDaoImpl implements HomeworkQueryDao {
         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("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("else '作业已超时' end state_msg,b.state \n");
         selSQL.append("from (\n");