Explorar el Código

prefixOverrides必须用大写

zhengqiang hace 5 años
padre
commit
55bf1457c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      common/src/main/resources/mapper/base/CompanyInfo.xml

+ 1 - 1
common/src/main/resources/mapper/base/CompanyInfo.xml

@@ -142,7 +142,7 @@
         from base_company_info a
         left join base_company_info b on a.parent_id = b.id_
         where a.del_flag=0
-        <trim prefix="and (" prefixOverrides="and | or" suffix=")">
+        <trim prefix="and (" prefixOverrides="AND|OR" suffix=")">
             <if test="code!=null">
                 a.code_ like #{code}
             </if>