mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 查询订单详情页时,检查订单状态
This commit is contained in:
@@ -67,7 +67,7 @@ public abstract class AbstractHandler implements InitializingBean {
|
||||
*/
|
||||
protected void saveLastTime(String pileSn) {
|
||||
String redisKey = CacheConstants.PILE_LAST_CONNECTION + pileSn;
|
||||
redisCache.setCacheObject(redisKey, DateUtils.getTime(), CacheConstants.cache_expire_time_1d);
|
||||
redisCache.setCacheObject(redisKey, DateUtils.getDateTime(), CacheConstants.cache_expire_time_1d);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -126,7 +126,7 @@ public class GroundLockDataUploadHandler extends AbstractHandler{
|
||||
.parkingStatus(parkingStatus)
|
||||
.groundLockElectric(groundLockElectric)
|
||||
.alarmStatus(alarmStatus)
|
||||
.time(DateUtils.getTime())
|
||||
.time(DateUtils.getDateTime())
|
||||
.build();
|
||||
|
||||
// 地锁信息放缓存中 缓存10分钟
|
||||
|
||||
Reference in New Issue
Block a user