md
This commit is contained in:
parent
29818115c9
commit
3e03f11bf0
@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="entryDate != null "> and entry_date = #{entryDate}</if>
|
||||
<if test="confirmStatus != null and confirmStatus != ''"> and confirm_status=#{confirmStatus}</if>
|
||||
<if test="confirmDate != null "> and confirm_date = #{confirmDate}</if>
|
||||
<if test="usedStatus != null and usedStatus != ''"> and used_status= #{usedStatus}</if>
|
||||
|
||||
<if test="status != null and status != ''"> and status=#{status}</if>
|
||||
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
||||
<if test="tenantId != null and tenantId != ''"> and tenant_id like concat('%', #{tenantId}, '%')</if>
|
||||
@ -49,6 +49,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||
<if test="createSite != null and createSite != ''"> and create_site like concat('%', #{createSite}, '%')</if>
|
||||
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
|
||||
|
||||
<if test="usedStatus != null and usedStatus == 1">
|
||||
and used_status= '1'
|
||||
</if>
|
||||
|
||||
<if test="usedStatus != null and usedStatus == 0">
|
||||
and used_status= '0'
|
||||
</if>
|
||||
|
||||
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user