|
|
@ -148,9 +148,9 @@ public class GridLatestServiceImpl extends BaseServiceImpl<GridLatestDao, GridLa |
|
|
|
@Override |
|
|
|
public Result<LatestGridInfoResultDTO> getLatestGridInfoByUserId(String userId) { |
|
|
|
LatestGridInfoResultDTO latestGridInfoResultDTO= baseDao.selectLatestGridInfoByUserId(userId); |
|
|
|
if (null == latestGridInfoResultDTO) { |
|
|
|
/*if (null == latestGridInfoResultDTO) { |
|
|
|
return new Result<LatestGridInfoResultDTO>().ok(new LatestGridInfoResultDTO()); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
return new Result<LatestGridInfoResultDTO>().ok(latestGridInfoResultDTO); |
|
|
|
} |
|
|
|
|
|
|
|