|
@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
|
|
+import com.fdkankan.manage_jp.common.PageInfo;
|
|
import com.fdkankan.manage_jp.entity.*;
|
|
import com.fdkankan.manage_jp.entity.*;
|
|
import com.fdkankan.manage_jp.httpClient.service.LaserService;
|
|
import com.fdkankan.manage_jp.httpClient.service.LaserService;
|
|
import com.fdkankan.manage_jp.mapper.IProjectSceneGpsMapper;
|
|
import com.fdkankan.manage_jp.mapper.IProjectSceneGpsMapper;
|
|
@@ -179,12 +180,10 @@ public class ProjectSceneGpsServiceImpl extends ServiceImpl<IProjectSceneGpsMapp
|
|
List<String> numList = tmContractorNumService.getNumListByCompanyId(param.getCompanyId());
|
|
List<String> numList = tmContractorNumService.getNumListByCompanyId(param.getCompanyId());
|
|
param.setCooperateSceneCodes(numList);
|
|
param.setCooperateSceneCodes(numList);
|
|
}
|
|
}
|
|
- List<SceneGpsDbVp> sceneGpsDbVps = new ArrayList<>();
|
|
|
|
- if(!param.getNeedPage()){
|
|
|
|
- sceneGpsDbVps = this.getBaseMapper().listGps(param);
|
|
|
|
- }else {
|
|
|
|
- sceneGpsDbVps = this.getBaseMapper().listGps(new Page<>(param.getPageNum(),param.getPageSize()) ,param);
|
|
|
|
|
|
+ if(param.getNeedPage()){
|
|
|
|
+ return PageInfo.PageInfo(this.getBaseMapper().listGps(new Page<>(param.getPageNum(),param.getPageSize()) ,param));
|
|
}
|
|
}
|
|
|
|
+ List<SceneGpsDbVp> sceneGpsDbVps = this.getBaseMapper().listGps(param);
|
|
if(param.getType() == 1){
|
|
if(param.getType() == 1){
|
|
return sceneGpsDbVps;
|
|
return sceneGpsDbVps;
|
|
}
|
|
}
|