5 лет назад
Родитель
Сommit
a0e93c7ff2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      cloud-model/src/main/resources/mapper/CompanyMapper.xml

+ 1 - 1
cloud-model/src/main/resources/mapper/CompanyMapper.xml

@@ -24,7 +24,7 @@
             <if test="keyName != null and keyName != ''">
                and company_name like concat('%',#{keyName},'%')
             </if>
-            <if test="keyName != null and keyName != ''">
+            <if test="companyType != null">
                 and company_type = #{companyType}
             </if>
         </where>