|
@@ -10,6 +10,7 @@ import com.fdkankan.manage.entity.JyUserShare;
|
|
|
import com.fdkankan.manage.entity.ScenePlus;
|
|
|
import com.fdkankan.manage.entity.UserShareParam;
|
|
|
import com.fdkankan.manage.exception.BusinessException;
|
|
|
+import com.fdkankan.manage.httpClient.service.LaserService;
|
|
|
import com.fdkankan.manage.mapper.IJyUserShareMapper;
|
|
|
import com.fdkankan.manage.service.IJyUserService;
|
|
|
import com.fdkankan.manage.service.IJyUserShareService;
|
|
@@ -97,13 +98,20 @@ public class JyUserShareServiceImpl extends ServiceImpl<IJyUserShareMapper, JyUs
|
|
|
return this.getOne(wrapper);
|
|
|
}
|
|
|
|
|
|
+ @Autowired
|
|
|
+ LaserService laserService;
|
|
|
+
|
|
|
@Override
|
|
|
public Object sceneList(UserShareParam param) {
|
|
|
if(param.getJyUserId() == null){
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
|
Page<UserShareSceneVo> page = scenePlusService.shareScenePageList(new Page<>(param.getPageNum(), param.getPageSize()),param);
|
|
|
-
|
|
|
+ List<String> ssNumList = page.getRecords().stream().filter(e -> e.getSceneSource().equals(4) || e.getSceneSource().equals(5)).map(UserShareSceneVo::getNum).collect(Collectors.toList());
|
|
|
+ for (UserShareSceneVo record : page.getRecords()) {
|
|
|
+ //替换深时标题,链接
|
|
|
+ record.getSceneSource();
|
|
|
+ }
|
|
|
return PageInfo.PageInfo(page);
|
|
|
}
|
|
|
}
|