...
|
...
|
@@ -13,6 +13,7 @@ func RunTaskSmsNotify() { |
|
|
taskSmsNotify = ¬ifySms{}
|
|
|
taskSmsNotify.init()
|
|
|
taskSmsNotify.regist(notifyStaffAssess{})
|
|
|
taskSmsNotify.regist(notifyStaffAssess2{})
|
|
|
taskSmsNotify.regist(notifySummaryEvaluation{})
|
|
|
taskSmsNotify.regist(notifyConfirmEvaluationScore{})
|
|
|
taskSmsNotify.runTask()
|
...
|
...
|
@@ -23,17 +24,15 @@ func AddNotifyStaffAssess(param *domain.StaffAssess) { |
|
|
|
|
|
newNotify := notifyStaffAssess{}
|
|
|
newSms := newNotify.makeNotify(param)
|
|
|
if newSms == nil {
|
|
|
return
|
|
|
}
|
|
|
if newSms != nil {
|
|
|
taskSmsNotify.addTask(newSms)
|
|
|
}
|
|
|
|
|
|
newNotify2 := notifyStaffAssess2{}
|
|
|
newSms2 := newNotify2.makeNotify(param)
|
|
|
if newSms2 == nil {
|
|
|
return
|
|
|
}
|
|
|
if newSms2 != nil {
|
|
|
taskSmsNotify.addTask(newSms2)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 周期自评短信通知 ,预创建待发送的短信消息
|
...
|
...
|
|