物资类型删除

This commit is contained in:
mashuai 2024-10-25 16:24:10 +08:00
parent 9f9641ae7e
commit f9452e4517
1 changed files with 5 additions and 5 deletions

View File

@ -436,11 +436,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ma_type m3 ON m2.parent_id = m3.type_id LEFT JOIN ma_type m3 ON m2.parent_id = m3.type_id
and m3.del_flag = '0' and m3.del_flag = '0'
WHERE m.parent_id = #{typeId} and m.del_flag = '0' WHERE m.parent_id = #{typeId} and m.del_flag = '0'
<if test="keyword != null and keyword !=''"> <if test="type.keyword != null and type.keyword !=''">
AND (m.type_name like concat('%',#{keyword},'%') AND (m.type_name like concat('%',#{type.keyword},'%')
or m1.type_name like concat('%',#{keyword},'%') or m1.type_name like concat('%',#{type.keyword},'%')
or m2.type_name like concat('%',#{keyword},'%') or m2.type_name like concat('%',#{type.keyword},'%')
or m3.type_name like concat('%',#{keyword},'%') or m3.type_name like concat('%',#{type.keyword},'%')
) )
</if> </if>
</select> </select>