mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 12:52:07 +08:00
报表基础模块:新增保存/修改/复制时校验xml、新增页眉页脚不支持的表达式提示
This commit is contained in:
+1
-2
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user