Revert "搜索"

This reverts commit 9d3f74efd3.
This commit is contained in:
sxu 2024-12-16 17:22:19 +08:00
parent 9d3f74efd3
commit 1ecf93db48
1 changed files with 1 additions and 6 deletions

View File

@ -91,15 +91,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ma_type mt1 ON mt1.type_id = mt2.parent_id and mt1.del_flag = '0'
<where>
<if test="maId != null "> and d.ma_id = #{maId}</if>
<if test="code != null and code != ''"> and d.code = #{code}</if>
<if test="deviceName != null and deviceName != ''">
and d.device_name like concat('%',#{deviceName},'%')
</if>
<if test="deviceName != null and deviceName != ''">
and d.code like concat('%',#{code},'%')
</if>
<if test="deviceName != null and deviceName != ''">
and d.identify_code like concat('%',#{identifyCode},'%')
</if>
<if test="typeId != null">
<choose>
<when test="level != null and level == 4">