mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 查询订单详情页时,检查订单状态
This commit is contained in:
@@ -13,7 +13,6 @@ import com.jsowell.common.core.domain.ykc.RealTimeMonitorData;
|
||||
import com.jsowell.common.core.page.PageResponse;
|
||||
import com.jsowell.common.core.redis.RedisCache;
|
||||
import com.jsowell.common.enums.ykc.PileConnectorDataBaseStatusEnum;
|
||||
import com.jsowell.common.enums.ykc.PileConnectorStatusEnum;
|
||||
import com.jsowell.common.enums.ykc.PileStatusEnum;
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
@@ -674,7 +673,7 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
|
||||
// 没有最后连接时间,返回离线
|
||||
return true;
|
||||
}
|
||||
long l = DateUtils.intervalTime(lastConnectionTime, DateUtils.getTime());
|
||||
long l = DateUtils.intervalTime(lastConnectionTime, DateUtils.getDateTime());
|
||||
return l >= 1L;
|
||||
}
|
||||
|
||||
|
||||
@@ -263,7 +263,7 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService {
|
||||
String pileSn = command.getPileSn();
|
||||
// Date date = new Date();
|
||||
// Date parseDate = DateUtils.parseDate("2023-02-28 16:45:20");
|
||||
Date date = DateUtils.parseDate(DateUtils.getTime());
|
||||
Date date = DateUtils.parseDate(DateUtils.getDateTime());
|
||||
// 根据不同程序版本获取工具类
|
||||
// String programVersion = redisCache.getCacheMapValue(CacheConstants.PILE_PROGRAM_VERSION, pileSn);
|
||||
// AbsCp56Time2aUtil cp56Time2aUtil = Cp56Time2aFactory.getInvokeStrategy(programVersion);
|
||||
|
||||
Reference in New Issue
Block a user