解决敏感词导出excel内容为500错误问题
parent
b27964b483
commit
27c5b5f369
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue