浏览代码

更新 CellValueService.java

解决导入无法使用Dict的问题
4.1.3.A
liuyaoduan 6 年前
父节点
当前提交
7b6fd7b300
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      easypoi-base/src/main/java/cn/afterturn/easypoi/excel/imports/CellValueService.java

+ 1
- 2
easypoi-base/src/main/java/cn/afterturn/easypoi/excel/imports/CellValueService.java 查看文件

@@ -213,9 +213,8 @@ public class CellValueService {
if (entity != null) {
result = handlerSuffix(entity.getSuffix(), result);
result = replaceValue(entity.getReplace(), result);
result = replaceValue(entity.getReplace(), result);
if (dictHandler != null && StringUtils.isNoneBlank(entity.getDict())) {
dictHandler.toValue(entity.getDict(), object, entity.getName(), result);
result = dictHandler.toValue(entity.getDict(), object, entity.getName(), result);
}
}
result = handlerValue(dataHandler, object, result, titleString);


正在加载...
取消
保存