|
|
@ -5,10 +5,7 @@ import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.PrPublishRangeDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.form.ProjectKeyCommonDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.form.TDuckDetailFormDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.form.TDuckHeaderInfoFormDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.form.TDuckListFormDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.form.*; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.result.AnalysisReportResDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.result.GetRangeResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmettduck.result.ProjectProfileResultDTO; |
|
|
@ -17,6 +14,7 @@ import com.epmet.dataaggre.entity.epmettduck.PrUserProjectEntity; |
|
|
|
import com.epmet.dataaggre.entity.epmettduck.PrUserProjectItemEntity; |
|
|
|
import com.epmet.dataaggre.service.epmettduck.PrUserProjectItemService; |
|
|
|
import com.epmet.dataaggre.service.epmettduck.PrUserProjectService; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
@ -73,6 +71,7 @@ public class EpmetTDuckController { |
|
|
|
*/ |
|
|
|
@PostMapping("analysisreport") |
|
|
|
public Result<List<AnalysisReportResDTO>> queryAnalysisReport(@RequestBody ProjectKeyCommonDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO,ProjectKeyCommonDTO.AddUserInternalGroup.class); |
|
|
|
return new Result<List<AnalysisReportResDTO>>().ok(prUserProjectService.queryAnalysisReport(formDTO.getProjectKey())); |
|
|
|
} |
|
|
|
|
|
|
@ -113,4 +112,18 @@ public class EpmetTDuckController { |
|
|
|
return new Result<GetRangeResultDTO>().ok(prUserProjectService.getRange(formDTO.getProjectKey())); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 查看详情 |
|
|
|
* |
|
|
|
* @param formDTO |
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
* @author yinzuomei |
|
|
|
* @date 2021/9/22 1:37 下午 |
|
|
|
*/ |
|
|
|
@PostMapping("itemresdetail") |
|
|
|
public Result queryItemResDetail(@RequestBody ItemResDetailFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO,ProjectKeyCommonDTO.AddUserInternalGroup.class); |
|
|
|
//todo
|
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|