Преглед на файлове

投资效益系统-项目分页查询调整

LHB преди 3 месеца
родител
ревизия
02cf0a22ab
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/main/java/org/springblade/modules/investment/mapper/IbaProjectMapper.xml

+ 3 - 3
src/main/java/org/springblade/modules/investment/mapper/IbaProjectMapper.xml

@@ -201,16 +201,16 @@
             <if test="query.projectName != null and query.projectName != ''">
                 AND a.project_name LIKE CONCAT('%',#{query.projectName},'%')
             </if>
-            <if test="query.type != null">
+            <if test="query.type != null and query.type != ''">
                 AND a.type = #{query.type}
             </if>
-            <if test="query.routeType != null">
+            <if test="query.routeType != null and query.routeType != ''">
                 AND a.route_type = #{query.routeType}
             </if>
             <if test="query.stage != null">
                 AND a.stage = #{query.stage}
             </if>
-            <if test="query.operationCompany != null">
+            <if test="query.operationCompany != null and query.operationCompany != ''">
                 AND a.operation_company = #{query.operationCompany}
             </if>
         </where>