瀏覽代碼

1、学生处分查询调整

dzx 1 年之前
父節點
當前提交
511d57915f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/student/BaseStudentPunishmentInfoMapper.xml

+ 1 - 1
src/main/resources/mapper/student/BaseStudentPunishmentInfoMapper.xml

@@ -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}