|
@@ -3,6 +3,7 @@ package cn.com.yusys.yusp.controller;
|
|
|
import cn.com.yusys.yusp.annotation.ApiOperationType;
|
|
import cn.com.yusys.yusp.annotation.ApiOperationType;
|
|
|
import cn.com.yusys.yusp.commons.module.adapter.web.rest.ResultDto;
|
|
import cn.com.yusys.yusp.commons.module.adapter.web.rest.ResultDto;
|
|
|
import cn.com.yusys.yusp.domain.dto.TagLogDto;
|
|
import cn.com.yusys.yusp.domain.dto.TagLogDto;
|
|
|
|
|
+import cn.com.yusys.yusp.domain.dto.TagLogDetailDto;
|
|
|
import cn.com.yusys.yusp.domain.dto.TagResultDto;
|
|
import cn.com.yusys.yusp.domain.dto.TagResultDto;
|
|
|
import cn.com.yusys.yusp.domain.entity.AitagTagLogEntity;
|
|
import cn.com.yusys.yusp.domain.entity.AitagTagLogEntity;
|
|
|
import cn.com.yusys.yusp.domain.vo.*;
|
|
import cn.com.yusys.yusp.domain.vo.*;
|
|
@@ -14,6 +15,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
|
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
@@ -99,16 +101,23 @@ public class AitagTagLogController {
|
|
|
/**
|
|
/**
|
|
|
* 打标结果详情
|
|
* 打标结果详情
|
|
|
*
|
|
*
|
|
|
- * @param id
|
|
|
|
|
|
|
+ * @param dto
|
|
|
* @return ResultDto
|
|
* @return ResultDto
|
|
|
*/
|
|
*/
|
|
|
@ApiOperationType("打标结果详情")
|
|
@ApiOperationType("打标结果详情")
|
|
|
@PostMapping("/show")
|
|
@PostMapping("/show")
|
|
|
- public ResultDto<TagLogDto> show(@RequestParam("id") String id) {
|
|
|
|
|
- TagLogDto taggingDetailsResDTO = aitagTagLogService.show(id);
|
|
|
|
|
|
|
+ public ResultDto<TagLogDto> show(@Validated @RequestBody TagLogDetailDto dto) {
|
|
|
|
|
+ TagLogDto taggingDetailsResDTO = aitagTagLogService.show(dto.getId());
|
|
|
return ResultDto.success(taggingDetailsResDTO);
|
|
return ResultDto.success(taggingDetailsResDTO);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// @ApiOperationType("打标结果详情")
|
|
|
|
|
+// @GetMapping("/show/{id}")
|
|
|
|
|
+// public ResultDto<TagLogDto> show(@PathVariable("id") String id) {
|
|
|
|
|
+// TagLogDto taggingDetailsResDTO = aitagTagLogService.show(id);
|
|
|
|
|
+// return ResultDto.success(taggingDetailsResDTO);
|
|
|
|
|
+// }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 导出数据
|
|
* 导出数据
|
|
@@ -143,12 +152,7 @@ public class AitagTagLogController {
|
|
|
.doWrite(exportDataVos);
|
|
.doWrite(exportDataVos);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// @ApiOperationType("打标结果详情")
|
|
|
|
|
-// @GetMapping("/show/{id}")
|
|
|
|
|
-// public ResultDto<TagLogDto> show(@PathVariable("id") String id) {
|
|
|
|
|
-// TagLogDto taggingDetailsResDTO = aitagTagLogService.show(id);
|
|
|
|
|
-// return ResultDto.success(taggingDetailsResDTO);
|
|
|
|
|
-// }
|
|
|
|
|
|
|
+
|
|
|
//
|
|
//
|
|
|
//
|
|
//
|
|
|
// /**
|
|
// /**
|