diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/ma/TypeMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/ma/TypeMapper.xml index a7dfa44c..6632fbcd 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/ma/TypeMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/ma/TypeMapper.xml @@ -436,11 +436,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN ma_type m3 ON m2.parent_id = m3.type_id and m3.del_flag = '0' WHERE m.parent_id = #{typeId} and m.del_flag = '0' - - AND (m.type_name like concat('%',#{keyword},'%') - or m1.type_name like concat('%',#{keyword},'%') - or m2.type_name like concat('%',#{keyword},'%') - or m3.type_name like concat('%',#{keyword},'%') + + AND (m.type_name like concat('%',#{type.keyword},'%') + or m1.type_name like concat('%',#{type.keyword},'%') + or m2.type_name like concat('%',#{type.keyword},'%') + or m3.type_name like concat('%',#{type.keyword},'%') )