diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/codeCollection/WsMaInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/codeCollection/WsMaInfoMapper.xml index 750e9bc4..a2867f62 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/codeCollection/WsMaInfoMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/codeCollection/WsMaInfoMapper.xml @@ -133,7 +133,7 @@ phone, result FROM ws_ma_info wmi - WHERE is_active = '1' + WHERE 1=1 and ( ma_name like concat('%', #{keyWord}, '%') or ma_model like concat('%', #{keyWord}, '%') or @@ -185,7 +185,6 @@ WHERE ma_code = #{maCode} and ma_name = #{maName} and ma_model = #{maModel} - and is_active = '1'