ソースを参照

【CHG】修改查询条件

zhaomn 2 年 前
コミット
404e7813b7

+ 8 - 8
railway-business/src/main/resources/mapper/bi/ShowTestPlanDtMapper.xml

@@ -159,17 +159,17 @@
       <if test="sbmc!=null and sbmc!=''">
         and sbmc like concat('%', #{sbmc}, '%')
       </if>
-      <if test="testPlanDate_Start!=null">
-        and test_plan_date <![CDATA[ >= ]]> #{testPlanDate_Start}
+      <if test="testPlanDateStart!=null">
+        and test_plan_date <![CDATA[ >= ]]> #{testPlanDateStart}
       </if>
-      <if test="testPlanDate_End!=null">
-        and test_plan_date <![CDATA[ <= ]]> #{testPlanDate_End}
+      <if test="testPlanDateEnd!=null">
+        and test_plan_date <![CDATA[ <= ]]> #{testPlanDateEnd}
       </if>
-      <if test="completionDate_Start!=null">
-        and completion_date <![CDATA[ >= ]]> #{completionDate_Start}
+      <if test="completionDateStart!=null">
+        and completion_date <![CDATA[ >= ]]> #{completionDateStart}
       </if>
-      <if test="completionDate_End!=null">
-        and completion_date <![CDATA[ <= ]]> #{completionDate_End}
+      <if test="completionDateEnd!=null">
+        and completion_date <![CDATA[ <= ]]> #{completionDateEnd}
       </if>
 
       <if test="fileId!=null ">

+ 8 - 8
railway-business/src/main/resources/mapper/bi/ShowTestPlanKgMapper.xml

@@ -138,17 +138,17 @@
       <if test="substationName!=null and substationName!=''">
         and substation_name like concat('%', #{substationName}, '%')
       </if>
-      <if test="testPlanDate_Start!=null">
-        and test_plan_date <![CDATA[ >= ]]> #{testPlanDate_Start}
+      <if test="testPlanDateStart!=null">
+        and test_plan_date <![CDATA[ >= ]]> #{testPlanDateStart}
       </if>
-      <if test="testPlanDate_End!=null">
-        and test_plan_date <![CDATA[ <= ]]> #{testPlanDate_End}
+      <if test="testPlanDateEnd!=null">
+        and test_plan_date <![CDATA[ <= ]]> #{testPlanDateEnd}
       </if>
-      <if test="completionDate_Start!=null">
-        and completion_date <![CDATA[ >= ]]> #{completionDate_Start}
+      <if test="completionDateStart!=null">
+        and completion_date <![CDATA[ >= ]]> #{completionDateStart}
       </if>
-      <if test="completionDate_End!=null">
-        and completion_date <![CDATA[ <= ]]> #{completionDate_End}
+      <if test="completionDateEnd!=null">
+        and completion_date <![CDATA[ <= ]]> #{completionDateEnd}
       </if>
       <if test="fileId!=null ">
         and file_id=#{fileId}