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

【CHG】修改查询条件

zhaomn преди 2 години
родител
ревизия
614db9dd80

+ 1 - 1
railway-business/src/main/resources/mapper/bi/ShowBpdjxjhMapper.xml

@@ -157,7 +157,7 @@
         and substation_name like concat('%', #{substationName}, '%')
       </if>
       <if test="jhMonth!=null and jhMonth!=''">
-        and jh_month=#{jhMonth}
+        and jh_month like concat('%', #{jhMonth})
       </if>
       <if test="fileId!=null ">
         and file_id=#{fileId}

+ 1 - 1
railway-business/src/main/resources/mapper/bi/ShowGsdMapper.xml

@@ -243,7 +243,7 @@
         and wxfs like concat('%', #{wxfs}, '%')
       </if>
       <if test="planMonth!=null and planMonth!=''">
-        and plan_month=#{planMonth}
+        and plan_month like concat('%', #{planMonth})
       </if>
       <if test="fileId!=null ">
         and file_id=#{fileId}

+ 1 - 1
railway-business/src/main/resources/mapper/bi/ShowYdtsMapper.xml

@@ -226,7 +226,7 @@
         and line_name like concat('%', #{lineName}, '%')
       </if>
       <if test="planMonth!=null and planMonth!=''">
-        and plan_month=#{planMonth}
+        and plan_month like concat('%', #{planMonth})
       </if>
       <if test="fileId!=null ">
         and file_id=#{fileId}