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

Commit 2c3b2442 authored by 张国柄's avatar 张国柄

~goblin:coupon.valid;

parent e5efe9bf
......@@ -121,7 +121,11 @@ public class GoblinCouponImpl implements GoblinCouponService {
returnList.add(vo);
}
} else {
if (vo.getDuedAt().isBefore(now) || vo.getState().equals(3) || vo.getState().equals(5)) {
if (vo.getDuedAt().isBefore(now) || vo.getState().equals(3)) {
vo.setState(3);
returnList.add(vo);
}
if (vo.getState().equals(5)) {
returnList.add(vo);
}
}
......
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