首页查询

This commit is contained in:
马三炮 2025-10-15 14:50:21 +08:00
parent 1ae17a8b0c
commit 6c6ddec4e5
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
and aaa.id_card = #{idCard}
</if>
<if test="diploma != null">
and aaa.diploma = #{diploma}
and aaa.diploma like concat('%', #{diploma}, '%')
</if>
<if test="proName != null">
and aaa.proName = #{proName}
@ -77,7 +77,7 @@
and aaa.used = #{used}
</if>
<if test="startTime != null and endTime != null">
and aaa.start_time BETWEEN STR_TO_DATE(#{startTime}, '%Y-%m-%d') AND STR_TO_DATE(#{endTime}, '%Y-%m-%d')
and aaa.startTime BETWEEN STR_TO_DATE(#{startTime}, '%Y-%m-%d') AND STR_TO_DATE(#{endTime}, '%Y-%m-%d')
</if>
</where>
</select>