|
|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.epmet.dataaggre.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.Result; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
|
@ -14,7 +15,6 @@ 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; |
|
|
|
@ -114,6 +114,8 @@ public class EpmetTDuckController { |
|
|
|
|
|
|
|
/** |
|
|
|
* 查看详情 |
|
|
|
* 1、联系人组件统一用一个统计显示多少条,点击查看更多显示汇总列表,如有非必填项没有填写显示空(手机号验证不需要统计) |
|
|
|
* 2、单行文本、多行文本、时间选择、时间范围、日期选择、日期范围,统计填写人数,点击查看列表 |
|
|
|
* |
|
|
|
* @param formDTO |
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
@ -121,9 +123,9 @@ public class EpmetTDuckController { |
|
|
|
* @date 2021/9/22 1:37 下午 |
|
|
|
*/ |
|
|
|
@PostMapping("itemresdetail") |
|
|
|
public Result queryItemResDetail(@RequestBody ItemResDetailFormDTO formDTO){ |
|
|
|
public Result<PageData<List<String>>> queryItemResDetail(@RequestBody ItemResDetailFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO,ProjectKeyCommonDTO.AddUserInternalGroup.class); |
|
|
|
//todo
|
|
|
|
return null; |
|
|
|
PageData<List<String>> page=prUserProjectService.queryItemResDetail(formDTO); |
|
|
|
return new Result<PageData<List<String>>>().ok(page); |
|
|
|
} |
|
|
|
} |
|
|
|
|