|
@@ -33,6 +33,7 @@ import com.zhongzheng.modules.course.service.IMajorService;
|
|
|
import com.zhongzheng.modules.exam.bo.ExamApplyQueryBo;
|
|
|
import com.zhongzheng.modules.exam.bo.ExamApplySiteTimeJson;
|
|
|
import com.zhongzheng.modules.exam.bo.ExamApplySiteTimeTwoAddBo;
|
|
|
+import com.zhongzheng.modules.exam.domain.ExamApply;
|
|
|
import com.zhongzheng.modules.exam.domain.ExamApplySite;
|
|
|
import com.zhongzheng.modules.exam.domain.ExamApplySiteTime;
|
|
|
import com.zhongzheng.modules.exam.domain.ExamSite;
|
|
@@ -390,24 +391,25 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
|
}
|
|
|
if (informRemindVo.getNoteStatus().equals(1)) {
|
|
|
- InformUserAddBo informUserAddBo = new InformUserAddBo();
|
|
|
- informUserAddBo.setUserId(bo.getUserId());
|
|
|
- informUserAddBo.setSendTime(DateUtils.getNowTime());
|
|
|
- informUserAddBo.setSendStatus(1);
|
|
|
- informUserAddBo.setCreateTime(DateUtils.getNowTime());
|
|
|
- informUserAddBo.setUpdateTime(DateUtils.getNowTime());
|
|
|
- informUserAddBo.setRemindId(informRemindVo.getId());
|
|
|
- informUserAddBo.setSystemStatus(3);
|
|
|
- informUserAddBo.setRemind("考试预约成功提醒");
|
|
|
- informUserAddBo.setGoodsId(bo.getGoodsId());
|
|
|
- GoodsVo goodsVo1 = iGoodsService.queryById(bo.getGoodsId());
|
|
|
- informUserAddBo.setText("尊敬的用户:已成功预约施工现场专业人员" + goodsVo1.getGoodsName() + "考试");
|
|
|
- content = "尊敬的用户:已成功预约施工现场专业人员" + goodsVo1.getGoodsName() + "考试";
|
|
|
- iInformUserService.insertByAddBo(informUserAddBo);
|
|
|
- UserVo userVo = iUserService.queryById(bo.getUserId());
|
|
|
- Map<String, Object> param = new HashMap<>();
|
|
|
- param.put("goods", goodsVo1.getGoodsName());
|
|
|
- IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), reservationSuccess);
|
|
|
+ //暂时不发送短信
|
|
|
+// InformUserAddBo informUserAddBo = new InformUserAddBo();
|
|
|
+// informUserAddBo.setUserId(bo.getUserId());
|
|
|
+// informUserAddBo.setSendTime(DateUtils.getNowTime());
|
|
|
+// informUserAddBo.setSendStatus(1);
|
|
|
+// informUserAddBo.setCreateTime(DateUtils.getNowTime());
|
|
|
+// informUserAddBo.setUpdateTime(DateUtils.getNowTime());
|
|
|
+// informUserAddBo.setRemindId(informRemindVo.getId());
|
|
|
+// informUserAddBo.setSystemStatus(3);
|
|
|
+// informUserAddBo.setRemind("考试预约成功提醒");
|
|
|
+// informUserAddBo.setGoodsId(bo.getGoodsId());
|
|
|
+// GoodsVo goodsVo1 = iGoodsService.queryById(bo.getGoodsId());
|
|
|
+// informUserAddBo.setText("尊敬的用户:已成功预约施工现场专业人员" + goodsVo1.getGoodsName() + "考试");
|
|
|
+// content = "尊敬的用户:已成功预约施工现场专业人员" + goodsVo1.getGoodsName() + "考试";
|
|
|
+// iInformUserService.insertByAddBo(informUserAddBo);
|
|
|
+// UserVo userVo = iUserService.queryById(bo.getUserId());
|
|
|
+// Map<String, Object> param = new HashMap<>();
|
|
|
+// param.put("goods", goodsVo1.getGoodsName());
|
|
|
+// IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), reservationSuccess);
|
|
|
}
|
|
|
if (informRemindVo.getGzhTpStatus().equals(1)) {
|
|
|
InformUserAddBo informUserAddBo = new InformUserAddBo();
|
|
@@ -428,9 +430,10 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
if(Validator.isNotEmpty(userVo.getOpenId())){
|
|
|
Map<String,String> paramMap = new HashMap<>();
|
|
|
paramMap.put("first","您已成功预约施工现场专业人员考试");
|
|
|
- paramMap.put("keyword1",goodsVo1.getGoodsName());
|
|
|
+ ExamApply apply = iExamApplyService.getById(bo.getApplyId());
|
|
|
+ paramMap.put("keyword1",apply.getApplyName());
|
|
|
paramMap.put("keyword2",DateUtils.getDate());
|
|
|
- paramMap.put("keyword3","已成功");
|
|
|
+ paramMap.put("keyword3","【已成功】考试当天请携带本人身份证提前30分钟到达考场。\n座位号:【号数】,\n考试地址:广州市天河区燕岭路123号建设大厦3楼 ,\n考试时间:2小时,\n考试形式:机考,\n考试成绩:提交试卷后即刻显示成绩,60分以上合格。带好随身物品即可离开考场。");
|
|
|
paramMap.put("remark","如您存在异议可联系学校老师进行核对。");
|
|
|
paramMap.put("pagepath","pages2/exam/exam_appointment?current=0");
|
|
|
iWxLoginService.sendQdySubStatusTpMsg(userVo.getOpenId(),paramMap);
|
|
@@ -746,7 +749,7 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
};
|
|
|
userSubscribeEditBo.setSubscribeId(s);
|
|
|
//发送消息
|
|
|
- sendExamcancel(userSubscribeEditBo);
|
|
|
+// sendExamcancel(userSubscribeEditBo);
|
|
|
}
|
|
|
|
|
|
return this.updateById(update);
|