he2802 3 年之前
父節點
當前提交
04cbddd657
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/user/UserSubscribeMapper.xml

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/user/UserSubscribeMapper.xml

@@ -88,7 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         </if>
         <if test="canCancel != null and canCancel == 1 ">
             and us.subscribe_status = 1
-            and unix_timestamp(now()) >  LEFT(us.apply_site_start_time,2)*3600+us.apply_site_exam_time
+            and LEFT(us.apply_site_start_time,2)*3600+us.apply_site_exam_time >  unix_timestamp(now())
             and us.exam_status = 0
             and us.before_status = 0
         </if>