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

Commit 068f51b5 authored by 胡佳晨's avatar 胡佳晨

修改 再次支付

parent 1be51657
......@@ -913,10 +913,16 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
}
if (item.getStatus().equals(KylinTableStatusConst.ORDER_STATUS0)) {
try {
item.setRestTime(DateUtil.intervalSeconds(
DateUtil.parse(item.getOverdueAt(), "yyyy-MM-dd HH:mm:ss"),
DateUtil.parse(DateUtil.getNowTime(), "yyyy-MM-dd HH:mm:ss")
));
}catch (Exception e){
e.printStackTrace();
}
log.debug("item.getOverdueAt() = "+ item.getOverdueAt());
log.debug("DateUtil.getNowTime() = "+ DateUtil.getNowTime());
} else {
item.setRestTime(0L);
}
......
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