Commit 71b5afc5dfcc884ff107eee5ecd4d7609956da42
Exists in
master
and in
6 other branches
update
Showing 3 changed files
platform-common/pom.xml
View file @
71b5afc
platform-common/src/main/java/com/lyms/platform/common/dao/BaseMongoDAOImpl.java
View file @
71b5afc
... | ... | @@ -113,7 +113,7 @@ |
113 | 113 | public void delete(Query query) { |
114 | 114 | Object id = query.getQueryObject().get("id"); |
115 | 115 | if (id != null) { |
116 | - addSyncData("DELETE", this.getEntityClass(), id.toString()); | |
116 | + addSyncData("DELETE", this, id.toString()); | |
117 | 117 | } |
118 | 118 | mongoTemplate.findAllAndRemove(query, this.getEntityClass()); |
119 | 119 | } |
platform-job-index/src/main/resources/spring/applicationContext_biz_patient.xml
View file @
71b5afc
... | ... | @@ -8,10 +8,8 @@ |
8 | 8 | http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd |
9 | 9 | http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-3.1.xsd |
10 | 10 | http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd"> |
11 | - | |
12 | - <!-- | |
13 | - <context:component-scan base-package="com.lyms.platform" /> | |
14 | - <context:annotation-config /> | |
11 | + <context:component-scan base-package="com.lyms.platform.job" /> | |
12 | + <context:annotation-config /> | |
15 | 13 | <bean id="configProperties" |
16 | 14 | class="org.springframework.beans.factory.config.PropertiesFactoryBean"> |
17 | 15 | <property name="locations"> |