|
|
@@ -47,7 +47,7 @@
|
|
|
and t.punishment_type_id = #{dto.punishmentTypeId}
|
|
|
</if>
|
|
|
<if test="dto.startTime != null and dto.startTime != '' and dto.endTime != null and dto.endTime != ''">
|
|
|
- and t1.start_time between date_format(#{dto.startTime}, '%Y-%m-%d') and date_format(#{dto.endTime}, '%Y-%m-%d')
|
|
|
+ and t.start_time between date_format(#{dto.startTime}, '%Y-%m-%d') and date_format(#{dto.endTime}, '%Y-%m-%d')
|
|
|
</if>
|
|
|
<if test="dto.credentialNumber != null and dto.credentialNumber != ''">
|
|
|
and t5.credential_number = #{dto.credentialNumber}
|