|
@@ -206,7 +206,7 @@ public interface StandardlyMapper {
|
|
|
"LEFT JOIN sys_dept d ON d.id = t.dept_id \n" +
|
|
|
"<where>" +
|
|
|
"1=1 " +
|
|
|
- "<if test='name != null and name != '''>and ( d.dept_name like concat('%', #{name}, '%') or t.attendance_table_username like concat('%', #{name}, '%'))</if>"+
|
|
|
+ "<if test=\"name != null and name != ''\">and ( d.dept_name like concat('%', #{name}, '%') or t.attendance_table_username like concat('%', #{name}, '%'))</if>"+
|
|
|
"<if test='date!=null'>and DATE_FORMAT(t.create_time,'%Y-%m') = #{date} </if>"+
|
|
|
"</where>" +
|
|
|
"GROUP BY\n" +
|