浏览代码

update 时间差列表的排序

周箭河 4 年之前
父节点
当前提交
87008e8d83
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/StudentRegistrationMapper.xml

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/StudentRegistrationMapper.xml

@@ -1351,6 +1351,9 @@
         <if test="orderByPerRegister != null and orderByPerRegister=='DESC'">
             IFNULL(spr.create_time_,'1990-12-31') perRegisterTime,
         </if>
+        <if test="orderByPayTime == null">
+            IFNULL(o.payTime,'2099-12-31') payTime,
+        </if>
         <if test="orderByPayTime != null and orderByPayTime=='ASC'">
             IFNULL(o.payTime,'2099-12-31') payTime,
         </if>