|
@@ -40,8 +40,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectUsageRecordVo"/>
|
|
|
<where>
|
|
|
<if test="creditId != null and creditId != ''"> and credit_id = #{creditId}</if>
|
|
|
- <if test="creditName != null and creditName != ''"> and credit_name = #{creditName}</if>
|
|
|
+ <if test="creditName != null and creditName != ''"> and credit_name like concat( #{creditName}, '%')</if>
|
|
|
<if test="recordYear != null and recordYear != ''"> and record_year = #{recordYear }</if>
|
|
|
+ <if test="recordLevel != null and recordLevel != ''"> and record_level = #{recordLevel}</if>
|
|
|
<if test="createTime != null "> and create_time like concat( #{createTime}, '%')</if>
|
|
|
</where>
|
|
|
</select>
|