diff --git a/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/service/template/ReportTemplateServiceImpl.java b/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/service/template/ReportTemplateServiceImpl.java index 9fea9bd66..cef2e3949 100644 --- a/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/service/template/ReportTemplateServiceImpl.java +++ b/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/service/template/ReportTemplateServiceImpl.java @@ -57,7 +57,6 @@ import com.cf.imes.module.report.dal.mysql.datasource.ReportDatasourceMapper; import com.cf.imes.module.report.dal.mysql.template.ReportTemplateMapper; import com.cf.imes.module.report.enums.template.ReportTemplateTypeEnum; import com.cf.imes.module.report.utils.TenantParamsUtils; -import jodd.util.StringUtil; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; @@ -190,7 +189,7 @@ public class ReportTemplateServiceImpl implements ReportTemplateService { copyTemplateDO.setCreateTime(null); // 解析xml String content = copyTemplateDO.getContent(); - if (StringUtil.isNotEmpty(content)) { + if (StringUtils.isNotEmpty(content)) { // 解析xml new ReportParser().parse(new ByteArrayInputStream(content.getBytes()), createReqVO.getName()); }