Ver Fonte

fix silly mapper error

dengjia há 4 meses atrás
pai
commit
8ce974310a

+ 2 - 2
hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/WmTaskV2Mapper.xml

@@ -52,12 +52,12 @@
     <foreach collection="nodeIds" item="nodeId" open="(" close=")" separator=",">
       #{nodeId}
     </foreach>
-    AND t.del_flag = '0'
     ORDER BY task_id) AS his
     ON his.task_id = t.id
     <where>
+        t.del_flag = '0'
       <if test="pkgIssueDate != null and pkgExpiryDate != null">
-        pkg.start_time &gt;= #{pkgIssueDate} AND pkg.end_time &lt;= #{pkgExpiryDate}
+        AND pkg.start_time &gt;= #{pkgIssueDate} AND pkg.end_time &lt;= #{pkgExpiryDate}
       </if>
       <if test="prov != null and prov != ''">
         AND ppkg.prov_abbr = #{prov}