Commit ad4f97f3f8715c4b6b912fbc5b0c5326933f9af8
1 parent
addc0a3c0f
Exists in
master
and in
6 other branches
服务
Showing 1 changed file with 13 additions and 13 deletions
platform-operate-api/src/main/resources/spring/applicationContext-quartz.xml
View file @
ad4f97f
| ... | ... | @@ -316,19 +316,19 @@ |
| 316 | 316 | |
| 317 | 317 | |
| 318 | 318 | <!-- 服务结束任务--> |
| 319 | - <!--<bean id="patientSerivceEndJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">--> | |
| 320 | - <!--<!– 要调用的bean –>--> | |
| 321 | - <!--<property name="targetObject" ref="patientServiceFacade"/>--> | |
| 322 | - <!--<!– 要调用的Method –>--> | |
| 323 | - <!--<property name="targetMethod" value="doServiceEndExcute"/>--> | |
| 324 | - <!--<!– 是否并发,false表示 如果发生错误也不影响下一次的调用 –>--> | |
| 325 | - <!--<property name="concurrent" value="false"/>--> | |
| 326 | - <!--</bean>--> | |
| 319 | + <bean id="patientSerivceEndJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"> | |
| 320 | + <!-- 要调用的bean --> | |
| 321 | + <property name="targetObject" ref="patientServiceFacade"/> | |
| 322 | + <!-- 要调用的Method --> | |
| 323 | + <property name="targetMethod" value="doServiceEndExcute"/> | |
| 324 | + <!-- 是否并发,false表示 如果发生错误也不影响下一次的调用 --> | |
| 325 | + <property name="concurrent" value="false"/> | |
| 326 | + </bean> | |
| 327 | 327 | |
| 328 | - <!--<bean id="patientSerivceEndJobTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">--> | |
| 329 | - <!--<property name="jobDetail" ref="patientSerivceEndJob"/>--> | |
| 330 | - <!--<property name="cronExpression" value="0 0/5 * * * ?"/>--> | |
| 331 | - <!--</bean>--> | |
| 328 | + <bean id="patientSerivceEndJobTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> | |
| 329 | + <property name="jobDetail" ref="patientSerivceEndJob"/> | |
| 330 | + <property name="cronExpression" value="0 0/2 * * * ?"/> | |
| 331 | + </bean> | |
| 332 | 332 | |
| 333 | 333 | |
| 334 | 334 | |
| ... | ... | @@ -363,7 +363,7 @@ |
| 363 | 363 | <!--<ref bean="qhdFmHistoryTrigger"/>--> |
| 364 | 364 | |
| 365 | 365 | <!--<ref bean="zcChanJianTrigger"/>--> |
| 366 | - <!--<ref bean="patientSerivceEndJobTrigger"/>--> | |
| 366 | + <ref bean="patientSerivceEndJobTrigger"/> | |
| 367 | 367 | </list> |
| 368 | 368 | </property> |
| 369 | 369 | </bean> |