|
|
|
@ -17,7 +17,7 @@ |
|
|
|
|
|
|
|
package com.epmet.service.impl; |
|
|
|
|
|
|
|
import cn.hutool.json.JSONObject; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
|
@ -34,8 +34,6 @@ import com.epmet.dto.result.LatestGridInfoResultDTO; |
|
|
|
import com.epmet.entity.GridLatestEntity; |
|
|
|
import com.epmet.redis.GridLatestRedis; |
|
|
|
import com.epmet.service.GridLatestService; |
|
|
|
import com.google.gson.Gson; |
|
|
|
import com.google.gson.GsonBuilder; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
@ -133,6 +131,7 @@ public class GridLatestServiceImpl extends BaseServiceImpl<GridLatestDao, GridLa |
|
|
|
} else { |
|
|
|
dto.setUpdatedBy(visitedFormDTO.getUserId()); |
|
|
|
dto.setUpdatedTime(date); |
|
|
|
dto.setLatestTime(date); |
|
|
|
return BaseServiceImpl.retBool(gridLatestDao.updateByLatestId(dto)); |
|
|
|
} |
|
|
|
|
|
|
|
|