Parcourir la source

Merge branch 'feature/master' into feature/develop

rainwer il y a 6 mois
Parent
commit
5eb97d27f8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main/resources/mybatis/business/BizWorkOrderMapper.xml

+ 1 - 1
src/main/resources/mybatis/business/BizWorkOrderMapper.xml

@@ -111,7 +111,7 @@
                 (case when t1.task_type_id
                 = 1 then DATE_ADD(t1.start_month,interval 1 month) else t1.start_month end) and
                 DATE_FORMAT(#{currentMonth}, '%Y-%m-%d') <=
-                (case when t1.is_continue=1 and t1.end_month != 0 then t1.end_month when t1.end_month = 0 then DATE_FORMAT(#{currentMonth},
+                (case when t1.is_continue=1 then #{currentMonth} when t1.end_month = 0 then DATE_FORMAT(#{currentMonth},
                 '%Y-%m-%d') when t1.task_type_id = 1 then
                 DATE_ADD(t1.end_month,interval 1 month) else t1.end_month end)
             </if>