|
@@ -161,7 +161,7 @@ public class StatisticsQueryImpl implements IStatisticsQueryDao {
|
|
|
" or (DATE_FORMAT(t.create_time,'%H:%i')<'20:30' and DATE_FORMAT(t11.end_time,'%Y-%m-%d %H:%i:%s')>concat(DATE_FORMAT(t.create_time,'%Y-%m-%d'),' 23:59:59')),true,null)) as overtime_nums,\n");
|
|
|
sql.append("count(1) as total,\n");
|
|
|
sql.append("DATE_FORMAT(t.create_time,'%Y-%m-%d') as calculate_date,\n");
|
|
|
- sql.append("count(if(t11.start_time is null and t.is_mark in (0,2),true,null)) as not_correct_nums,\n");
|
|
|
+ sql.append("count(if(t.is_feedback=0 and t.is_mark in (0,2),true,null)) as not_correct_nums,\n");
|
|
|
sql.append("count(if(t.is_mark=10,true,null)) as not_comment_nums,\n");
|
|
|
sql.append("count(if(t.is_mark=15,true,null)) as repeat_nums,\n");
|
|
|
sql.append("count(if(t11.is_check_error=1,true,null)) as error_nums\n");
|