chao hace 3 años
padre
commit
447251f958
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/resources/mapper/CouponMapper.xml

+ 1 - 1
src/main/resources/mapper/CouponMapper.xml

@@ -139,7 +139,7 @@
             AND couponType = 4))
             and NOW() <![CDATA[ > ]]> startDate
             and NOW() <![CDATA[ < ]]> if(receiveFlag = 1,endDate,
-            date_add(if(#{registerTime} <![CDATA[ > ]]> startDate,#{registerTime},startDate),
+            date_add(if(#{registerTime} <![CDATA[ > ]]> startDate,#{registerTime},startDate)),
             interval receivePeriod day))
         </if>
         ORDER BY