|
|
@@ -1,12 +1,12 @@
|
|
|
package cn.com.yusys.yusp.controller;
|
|
|
|
|
|
+import cn.com.yusys.yusp.annotation.ApiOperationType;
|
|
|
import cn.com.yusys.yusp.commons.module.adapter.web.rest.ResultDto;
|
|
|
import cn.com.yusys.yusp.domain.entity.AitagTagLogEntity;
|
|
|
import cn.com.yusys.yusp.domain.vo.*;
|
|
|
import cn.com.yusys.yusp.service.AitagTagLogService;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
@@ -39,7 +39,7 @@ public class AitagTagLogController {
|
|
|
* @param taggingResult 智能打标结果
|
|
|
* @return ResultDto
|
|
|
*/
|
|
|
- @ApiOperation("数据概览")
|
|
|
+ @ApiOperationType("数据概览")
|
|
|
@PostMapping("/dataOverview")
|
|
|
public ResultDto<DataOverviewVo> dataOverview(@RequestBody SmartTaggingResultVo taggingResult) {
|
|
|
DataOverviewVo dataOverviewDTO = aitagTagLogService.dataOverview(taggingResult);
|
|
|
@@ -54,7 +54,7 @@ public class AitagTagLogController {
|
|
|
* @param taggingTrendReq 打标趋势
|
|
|
* @return ResultDto
|
|
|
*/
|
|
|
- @ApiOperation("打标趋势")
|
|
|
+ @ApiOperationType("打标趋势")
|
|
|
@PostMapping("/taggingTrend")
|
|
|
public ResultDto<List<IconResVo>> taggingTrend(@RequestBody TaggingTrendReqVo taggingTrendReq) {
|
|
|
List<IconResVo> taggingTrendRes = aitagTagLogService.taggingTrend(taggingTrendReq);
|
|
|
@@ -67,7 +67,7 @@ public class AitagTagLogController {
|
|
|
* @param resultDTO 智能打标结果
|
|
|
* @return ResultDto
|
|
|
*/
|
|
|
- @ApiOperation("标签分布统计")
|
|
|
+ @ApiOperationType("标签分布统计")
|
|
|
@PostMapping("/tagDistStats")
|
|
|
public ResultDto<List<IconResVo>> tagDistStats(@RequestBody TagDistStatsReqVo resultDTO) {
|
|
|
List<IconResVo> taggingTrendRes = aitagTagLogService.tagDistStats(resultDTO);
|
|
|
@@ -81,7 +81,7 @@ public class AitagTagLogController {
|
|
|
* @param transactionReqVo
|
|
|
* @return ResultDto
|
|
|
*/
|
|
|
- @ApiOperation("打标明细")
|
|
|
+ @ApiOperationType("打标明细")
|
|
|
@PostMapping("/taggingTransaction")
|
|
|
public ResultDto<IPage<AitagTagLogEntity>> taggingTransaction(@RequestBody TaggingTransactionReqVo transactionReqVo) {
|
|
|
IPage<AitagTagLogEntity> page = aitagTagLogService.taggingDetails(transactionReqVo);
|
|
|
@@ -94,7 +94,7 @@ public class AitagTagLogController {
|
|
|
* @param id
|
|
|
* @return ResultDto
|
|
|
*/
|
|
|
- @ApiOperation("打标结果详情")
|
|
|
+ @ApiOperationType("打标结果详情")
|
|
|
@PostMapping("/show")
|
|
|
public ResultDto<AitagTagLogEntity> show(@RequestBody String id) {
|
|
|
AitagTagLogEntity taggingDetailsResDTO = aitagTagLogService.show(id);
|
|
|
@@ -107,7 +107,7 @@ public class AitagTagLogController {
|
|
|
* @param ids
|
|
|
* @return ResultDto
|
|
|
*/
|
|
|
- @ApiOperation("删除")
|
|
|
+ @ApiOperationType("打标结果删除")
|
|
|
@PostMapping("/delete")
|
|
|
public ResultDto delete(@RequestBody String[] ids) {
|
|
|
aitagTagLogService.removeByIds(Arrays.asList(ids));
|