fix
This commit is contained in:
parent
5a94bafff3
commit
268d157203
|
|
@ -92,13 +92,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="isActive != null and isActive != ''"> and d.is_active = #{isActive}</if>
|
||||
<if test="keyWord != null and keyWord != ''">
|
||||
and (
|
||||
locate(#{typeName},t.type_name) > 0
|
||||
or locate(#{companyName},c.company_name) > 0
|
||||
or locate(#{maId},d.ma_id) > 0
|
||||
or locate(#{modelName},d.model_name) > 0
|
||||
or locate(#{specification},d.specification) > 0
|
||||
or locate(#{serialNumber},d.serial_number) > 0
|
||||
or locate(#{description},d.description) > 0
|
||||
locate(#{keyWord},t.type_name) > 0
|
||||
or locate(#{keyWord},c.company_name) > 0
|
||||
or locate(#{keyWord},d.ma_id) > 0
|
||||
or locate(#{keyWord},d.model_name) > 0
|
||||
or locate(#{keyWord},d.specification) > 0
|
||||
or locate(#{keyWord},d.serial_number) > 0
|
||||
or locate(#{keyWord},d.description) > 0
|
||||
)
|
||||
</if>
|
||||
and d.is_active='1'
|
||||
|
|
|
|||
Loading…
Reference in New Issue