Quellcode durchsuchen

【CHG】修改查询条件

zhaomn vor 2 Jahren
Ursprung
Commit
03e65449dd
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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}