|
@@ -259,7 +259,7 @@
|
|
|
and t.create_date < #{dto.endTime}
|
|
and t.create_date < #{dto.endTime}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="dto.year != null and dto.month != null">
|
|
<if test="dto.year != null and dto.month != null">
|
|
|
- and DATE_FORMAT(t.assessment_date, '%Y-%m') = concat(#{dto.year}, '-', #{dto.month})
|
|
|
|
|
|
|
+ and YEAR(t.assessment_date) = #{dto.year} and month(t.assessment_date) = #{dto.month}
|
|
|
</if>
|
|
</if>
|
|
|
group by t.class_ids;
|
|
group by t.class_ids;
|
|
|
</select>
|
|
</select>
|