|
@@ -166,7 +166,7 @@ public class ConsumeController {
|
|
|
if (Objects.equals(type, "requestConsume")) {
|
|
if (Objects.equals(type, "requestConsume")) {
|
|
|
if (ObjectUtil.equals(bo.getCreditType(), CreditTypeEnum.TERM_CONSUME.code())) {
|
|
if (ObjectUtil.equals(bo.getCreditType(), CreditTypeEnum.TERM_CONSUME.code())) {
|
|
|
// 如果是消费机请求消费,将消费时间设置为当前时间,以防消费时时钟不对造成实际消费时间不正确
|
|
// 如果是消费机请求消费,将消费时间设置为当前时间,以防消费时时钟不对造成实际消费时间不正确
|
|
|
- bo.setConsumeDate(DateUtil.date());
|
|
|
|
|
|
|
+ //bo.setConsumeDate(DateUtil.date());
|
|
|
}
|
|
}
|
|
|
errorInfo = consumeBusiness.createOrder(bo, mac, xfPwd);
|
|
errorInfo = consumeBusiness.createOrder(bo, mac, xfPwd);
|
|
|
} else if (Objects.equals(type, "uploadRecord")) {
|
|
} else if (Objects.equals(type, "uploadRecord")) {
|