فهرست منبع

prefixOverrides必须用大写

zhengqiang 5 سال پیش
والد
کامیت
55bf1457c3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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
         from base_company_info a
         left join base_company_info b on a.parent_id = b.id_
         left join base_company_info b on a.parent_id = b.id_
         where a.del_flag=0
         where a.del_flag=0
-        <trim prefix="and (" prefixOverrides="and | or" suffix=")">
+        <trim prefix="and (" prefixOverrides="AND|OR" suffix=")">
             <if test="code!=null">
             <if test="code!=null">
                 a.code_ like #{code}
                 a.code_ like #{code}
             </if>
             </if>