|
@@ -15,6 +15,7 @@ import com.ym.mec.biz.dal.dao.*;
|
|
|
import com.ym.mec.biz.dal.entity.*;
|
|
|
import com.ym.mec.biz.dal.enums.*;
|
|
|
import com.ym.mec.biz.service.*;
|
|
|
+import com.ym.mec.thirdparty.message.MessageSenderPluginContext;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
@@ -743,6 +744,13 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
studentRegistrationService.update(studentRegistration);
|
|
|
|
|
|
if ("205".equals(studentPaymentOrder.getPaymentAccountNo())) {
|
|
|
+ Integer teacherId = musicGroup.getEducationalTeacherId();
|
|
|
+ SysUser endTeacher = sysUserFeignService.queryUserById(teacherId);
|
|
|
+ Map<Integer, String> userPhoneMap = new HashMap<>();
|
|
|
+ userPhoneMap.put(endTeacher.getId(),endTeacher.getPhone());
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.NO_BY_CLOUD_TEACHER_MSG,
|
|
|
+ userPhoneMap, null, 0, null, null,musicGroup.getName(),studentRegistration.getName());
|
|
|
+
|
|
|
Map<String, String> notifyMap = new HashMap<>();
|
|
|
notifyMap.put("hasPaidZero", "205");
|
|
|
notifyMap.put("orderNo", studentPaymentOrder.getOrderNo());
|