mirror of
https://github.com/oddfar/campus-imaotai.git
synced 2026-06-03 21:00:53 +08:00
pref:优化中签日志
This commit is contained in:
parent
4ba0855d29
commit
b1c13377c3
@ -586,7 +586,7 @@ public class IMTServiceImpl implements IMTService {
|
||||
JSONObject item = JSON.parseObject(itemVO.toString());
|
||||
// 预约时间在24小时内的
|
||||
if (item.getInteger("status") == 2 && DateUtil.between(item.getDate("reservationTime"), new Date(), DateUnit.HOUR) < 24) {
|
||||
String logContent = DateUtil.formatDate(item.getDate("reservationTime")) + " 申购" + item.getString("itemName") + "成功";
|
||||
String logContent = DateUtil.formatDate(item.getDate("reservationTime")) + " 申购" + item.getString("itemName") + "成功,中签了";
|
||||
IMTLogFactory.reservation(iUser, logContent);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user