|
|
@ -17,9 +17,7 @@ |
|
|
|
|
|
|
|
package com.epmet.controller; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
import com.epmet.commons.tools.utils.ExcelUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.AssertUtils; |
|
|
@ -33,6 +31,7 @@ import com.epmet.dto.result.*; |
|
|
|
import com.epmet.excel.ProjectExcel; |
|
|
|
import com.epmet.resi.mine.dto.from.MyPartProjectsFormDTO; |
|
|
|
import com.epmet.service.ProjectService; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
@ -204,4 +203,18 @@ public class ProjectController { |
|
|
|
List<ProjectOfCreateTopicUserResultDTO> projects = projectService.listProjectsByCreateTopicUserId(form.getUserId(), form.getCustomerId(), form.getPageNo(), form.getPageSize()); |
|
|
|
return new Result().ok(projects); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param projectId |
|
|
|
* @author yinzuomei |
|
|
|
* @description 查询项目信息(龙湾临时调用) |
|
|
|
* @Date 2021/2/24 17:04 |
|
|
|
**/ |
|
|
|
@GetMapping("queryprojectinfobyprojectid/{projectId}") |
|
|
|
public Result<ProjectInfoDTO> queryProjectInfoByProjectId(@PathVariable("projectId")String projectId){ |
|
|
|
if(StringUtils.isNotBlank(projectId)){ |
|
|
|
return new Result<ProjectInfoDTO>().ok(projectService.queryProjectInfoByProjectId(projectId)); |
|
|
|
} |
|
|
|
return new Result<>(); |
|
|
|
} |
|
|
|
} |