Commit 2c8a60b4 authored by linruibiao's avatar linruibiao

Merge remote-tracking branch 'origin/develop' into develop

parents bb1b642a b8e1a13a
...@@ -66,6 +66,9 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper, ...@@ -66,6 +66,9 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper,
@Transactional(readOnly = true) @Transactional(readOnly = true)
public BusinessConfigVo selectOneConfig(String id) { public BusinessConfigVo selectOneConfig(String id) {
BusinessConfig co = baseMapper.selectById(id); BusinessConfig co = baseMapper.selectById(id);
if (org.apache.commons.lang3.ObjectUtils.isEmpty(co)){
throw new SysException("业务数据表不存在");
}
try { try {
if(StringUtils.isNotBlank(co.getField())) { if(StringUtils.isNotBlank(co.getField())) {
co.setField(URLDecoder.decode(co.getField(), StandardCharsets.UTF_8.name())); co.setField(URLDecoder.decode(co.getField(), StandardCharsets.UTF_8.name()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment