Commit b1c9ca0bea5ba50c4fd14e694e8748d87d72f932
1 parent
a1a6f6e4ec
Exists in
master
and in
8 other branches
commit
Showing 1 changed file with 3 additions and 1 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/BasicConfigService.java
View file @
b1c9ca0
... | ... | @@ -8,6 +8,7 @@ |
8 | 8 | import com.lyms.platform.common.dao.operator.Page; |
9 | 9 | import com.lyms.platform.common.enums.YnEnums; |
10 | 10 | import com.lyms.platform.common.utils.CacheHelper; |
11 | +import com.lyms.platform.common.utils.ExceptionUtils; | |
11 | 12 | import com.lyms.platform.pojo.BasicConfig; |
12 | 13 | import com.lyms.platform.query.BasicConfigQuery; |
13 | 14 | import org.apache.commons.lang.StringUtils; |
14 | 15 | |
... | ... | @@ -65,8 +66,9 @@ |
65 | 66 | try{ |
66 | 67 | return cached.get(id); |
67 | 68 | }catch (Exception e){ |
69 | + ExceptionUtils.catchException(e,"getOneBasicConfigById error."); | |
68 | 70 | } |
69 | - return null; | |
71 | + return basicConfigDao.getOneBasicConfigById(id); | |
70 | 72 | } |
71 | 73 | |
72 | 74 | public List<BasicConfig> queryByParentId(String parentId) { |