|
@@ -1,5 +1,6 @@
|
|
|
package cn.com.ty.lift.ud.neety.task;
|
|
|
|
|
|
+import java.time.ZoneOffset;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
@@ -49,7 +50,7 @@ public class RedisRunner implements CommandLineRunner {
|
|
|
roomInfo.setCaseType(fistUserinfo.getCaseType());
|
|
|
roomInfo.setAcceptStatus(fistUserinfo.getAcceptStatus());
|
|
|
roomInfo.setExpression(fistUserinfo.getExpression());
|
|
|
- roomInfo.setLastTime(fistUserinfo.getCreateTime());
|
|
|
+ roomInfo.setLastTime(fistUserinfo.getCreateTime().toInstant(ZoneOffset.of("+8")).toEpochMilli());
|
|
|
|
|
|
List<UserInfo> users = new ArrayList<>();
|
|
|
for (ChatSessionEntity chatSessionEntity : userList) {
|