Commit ce4f9c5f013cbfc8fe902689da6e6857d7a13a89
1 parent
b4817457d0
Exists in
master
and in
8 other branches
修改新电子病历
Showing 1 changed file with 4 additions and 2 deletions
platform-biz-service/src/main/java/com/lyms/platform/permission/DataAccessLayerService.java
View file @
ce4f9c5
... | ... | @@ -3,6 +3,7 @@ |
3 | 3 | import org.springframework.beans.factory.InitializingBean; |
4 | 4 | import org.springframework.beans.factory.annotation.Value; |
5 | 5 | import org.springframework.context.support.ApplicationObjectSupport; |
6 | +import org.springframework.stereotype.Component; | |
6 | 7 | |
7 | 8 | import java.util.concurrent.ConcurrentHashMap; |
8 | 9 | |
9 | 10 | |
10 | 11 | |
... | ... | @@ -20,15 +21,16 @@ |
20 | 21 | * @version BME V100R001 2016-9-13 |
21 | 22 | * @since BME V100R001C40B104 |
22 | 23 | */ |
23 | - | |
24 | +@Component | |
24 | 25 | public class DataAccessLayerService extends ApplicationObjectSupport implements InitializingBean{ |
25 | 26 | //启动方式 1 单机 2 服务器 |
26 | 27 | @Value("#{configProperties['server.startup']}") |
27 | - private String startUpModel="1"; | |
28 | + private String startUpModel="2"; | |
28 | 29 | private java.util.Map<Class,Object> clazzCached=new ConcurrentHashMap<>(); |
29 | 30 | |
30 | 31 | @Override |
31 | 32 | public void afterPropertiesSet() throws Exception { |
33 | + System.out.print("startUpModel:--------------------" +startUpModel); | |
32 | 34 | } |
33 | 35 | public Object getBean(Class clazz){ |
34 | 36 | try{ |