增加数据存储redis集合
parent
340691e8e1
commit
059661d3db
|
@ -9,6 +9,7 @@ import com.god.common.core.domain.Result;
|
|||
import com.god.common.core.web.page.TableDataInfo;
|
||||
import com.god.common.redis.service.RedisService;
|
||||
import com.god.common.security.utils.SecurityUtils;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
@ -22,6 +23,7 @@ import java.util.List;
|
|||
* @Date 2023/11/29 21:31
|
||||
**/
|
||||
@Component
|
||||
@Log4j2
|
||||
public class CarFenceMonitor {
|
||||
|
||||
|
||||
|
@ -33,6 +35,7 @@ public class CarFenceMonitor {
|
|||
private RedisService redisService;
|
||||
|
||||
public void getCarFencesList(){
|
||||
log.info("开始获取车辆围栏信息");
|
||||
|
||||
//获取车辆信息
|
||||
Result<List<Car>> listResult = carService.carList(String.valueOf(SecurityUtils.getUserId()));
|
||||
|
|
Loading…
Reference in New Issue