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

【CHG】修改查询条件

zhaomn преди 2 години
родител
ревизия
03e65449dd
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      railway-business/src/main/resources/mapper/bi/ShowGsyMapper.xml

+ 2 - 2
railway-business/src/main/resources/mapper/bi/ShowGsyMapper.xml

@@ -204,8 +204,8 @@
     FROM show_gsy
     <where>
       del_flag='0'
-      <if test="testPlan1!=null and testPlan1!=''">
-        and LPAD(MONTH(test_plan1), 2, 0) like concat('%', #{testPlan1})
+      <if test="testPlanMonth!=null and testPlanMonth!=''">
+        and LPAD(MONTH(test_plan1), 2, 0) like concat('%', #{testPlanMonth})
       </if>
       <if test="completionDate1!=null and completionDate1!=''">
         and completion_date1=#{completionDate1}