Преглед изворни кода

单位列表增加上级单位查询。

zhengqiang пре 5 година
родитељ
комит
c949548e48
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      common/src/main/resources/mapper/base/CompanyInfo.xml

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

@@ -127,10 +127,10 @@
                 and a.name_ like #{searchParams.name}
             </if>
             <if test="searchParams.parentCode != null">
-                and b.code_ like #{searchParams.parentCode}
+                and a.code_ like #{searchParams.parentCode}
             </if>
             <if test="searchParams.bindCompanyCode != null">
-                and b.code_ like #{searchParams.bindCompanyCode}
+                and a.code_ like #{searchParams.bindCompanyCode}
             </if>
         </where>
         <foreach item="sort" collection="sortList" open="order by" separator=",">