|
@@ -213,6 +213,21 @@
|
|
</property>
|
|
</property>
|
|
</bean>
|
|
</bean>
|
|
|
|
|
|
|
|
+ <!-- 定时推送模板消息给开启订餐的用户,通知他们提前订明天的餐 -->
|
|
|
|
+ <bean id="orderDinnerPushTempMsgTimer"
|
|
|
|
+ class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
|
|
|
+ <property name="targetObject" ref="orderDinnerPushTempMsgTimerTask"/>
|
|
|
|
+ <property name="targetMethod" value="run"/>
|
|
|
|
+ </bean>
|
|
|
|
+
|
|
|
|
+ <bean id="orderDinnerPushTempMsgTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
|
|
|
|
+ <property name="jobDetail" ref="orderDinnerPushTempMsgTimer"/>
|
|
|
|
+ <property name="cronExpression">
|
|
|
|
+ <value>0 30 15 * * ?</value>
|
|
|
|
+ <!-- 每天15:30推一次消息 -->
|
|
|
|
+ </property>
|
|
|
|
+ </bean>
|
|
|
|
+
|
|
<!-- 定时每天10执行一次 提醒用户需要订餐了 -->
|
|
<!-- 定时每天10执行一次 提醒用户需要订餐了 -->
|
|
<bean id="orderDinnerPushTimer"
|
|
<bean id="orderDinnerPushTimer"
|
|
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
|
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
|
@@ -365,6 +380,7 @@
|
|
<ref local="orderDinnerDatePushTrigger"/>
|
|
<ref local="orderDinnerDatePushTrigger"/>
|
|
<ref local="orderDinnerPushMessageTrigger"/>
|
|
<ref local="orderDinnerPushMessageTrigger"/>
|
|
<ref local="orderDinnerPushTrigger"/>
|
|
<ref local="orderDinnerPushTrigger"/>
|
|
|
|
+ <ref local="orderDinnerPushTempMsgTrigger"/>
|
|
<ref local="dinnerConfirmServiceTrigger"/>
|
|
<ref local="dinnerConfirmServiceTrigger"/>
|
|
<ref local="dinnerTransferAccountsTrigger"/>
|
|
<ref local="dinnerTransferAccountsTrigger"/>
|
|
<ref local="orderDinnerRechargeTrigger"/>
|
|
<ref local="orderDinnerRechargeTrigger"/>
|