Showing
1 changed file
with
1 additions
and
1 deletions
@@ -94,7 +94,7 @@ public class CouponServiceImpl implements ICouponService,IBusinessExportService{ | @@ -94,7 +94,7 @@ public class CouponServiceImpl implements ICouponService,IBusinessExportService{ | ||
94 | userCouponQueryResps.add(new UserCouponQueryResp(userCoupon.getCouponCode(),userCoupon.getUid(), | 94 | userCouponQueryResps.add(new UserCouponQueryResp(userCoupon.getCouponCode(),userCoupon.getUid(), |
95 | com.yoho.ufo.util.DateUtil.int2DateStr(userCoupon.getCreateTime(),"yyyy-MM-dd HH:mm:ss"), | 95 | com.yoho.ufo.util.DateUtil.int2DateStr(userCoupon.getCreateTime(),"yyyy-MM-dd HH:mm:ss"), |
96 | UserCoupon.UserCouponStatusEnum.getKey(userCoupon.getStatus()), | 96 | UserCoupon.UserCouponStatusEnum.getKey(userCoupon.getStatus()), |
97 | - null == userCoupon.getUseTime()?null:com.yoho.ufo.util.DateUtil.int2DateStr(userCoupon.getUseTime(),"yyyy-MM-dd HH:mm:ss") | 97 | + null == userCoupon.getUseTime() || 0 == userCoupon.getUseTime()?null:com.yoho.ufo.util.DateUtil.int2DateStr(userCoupon.getUseTime(),"yyyy-MM-dd HH:mm:ss") |
98 | ,userCoupon.getStatus())); | 98 | ,userCoupon.getStatus())); |
99 | } | 99 | } |
100 | return userCouponQueryResps; | 100 | return userCouponQueryResps; |
-
Please register or login to post a comment