Просмотр исходного кода

update 时间差列表的排序

周箭河 4 лет назад
Родитель
Сommit
87008e8d83

+ 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>