解决敏感词导出excel内容为500错误问题

pull/2/head
shizhong 2023-04-14 22:14:34 +08:00
parent b27964b483
commit 27c5b5f369
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.system.controller.admin.sensitiveword.vo;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.framework.excel.core.convert.JsonConvert;
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
@ -23,7 +24,7 @@ public class SensitiveWordExcelVO {
@ExcelProperty("敏感词")
private String name;
@ExcelProperty("标签")
@ExcelProperty(value = "标签", converter = JsonConvert.class)
private List<String> tags;
@ExcelProperty(value = "状态", converter = DictConvert.class)