记得上下班打卡 | git大法好,push需谨慎

Commit 1444aa30 authored by 胡佳晨's avatar 胡佳晨

修改 我的券排序 根据 状态倒叙,激活时间倒叙

parent 3e39db77
......@@ -278,7 +278,9 @@ public class CouponBaseUtil {
if (state.equals(1)) {
if (bindType == 3 && effectAt == null) {
data = 22;
} else if (currentTime.isAfter(expireAt)) {
} else if(expireAt==null){
data = 21;
}else if (currentTime.isAfter(expireAt)) {
data = 3;
} else if (currentTime.isBefore(effectAt)) {
data = 31;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment