smartor/src/main/resources/mapper/smartor/SchemeCategoryMapper.xml
@@ -26,6 +26,7 @@ <select id="selectSchemeCategoryList" parameterType="SchemeCategory" resultMap="SchemeCategoryResult"> <include refid="selectSchemeCategoryVo"/> WHERE 1=1 <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> <if test="categoryname != null and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if> <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if>