|
@@ -319,10 +319,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
InformRemindVo informRemindVo = informRemindService.queryById(1L);
|
|
InformRemindVo informRemindVo = informRemindService.queryById(1L);
|
|
//查找购买后没发送消息的商品,发送购买消息
|
|
//查找购买后没发送消息的商品,发送购买消息
|
|
List<OrderGoodsVo> orderGoodsVo = iOrderGoodsService.selectOrderGoods();
|
|
List<OrderGoodsVo> orderGoodsVo = iOrderGoodsService.selectOrderGoods();
|
|
-
|
|
|
|
InformRemindVo informRemindTwoVo = informRemindService.queryById(2L);
|
|
InformRemindVo informRemindTwoVo = informRemindService.queryById(2L);
|
|
- //获取小程序链接
|
|
|
|
- String studyCentreLink = iWxLoginService.getWxSmallStudyCentreLink();
|
|
|
|
if (!CollectionUtils.isEmpty(orderGoodsVo)) {
|
|
if (!CollectionUtils.isEmpty(orderGoodsVo)) {
|
|
for (OrderGoodsVo goodsVo : orderGoodsVo) {
|
|
for (OrderGoodsVo goodsVo : orderGoodsVo) {
|
|
ProfileTpVo profileTpVo = iProfileTpService.queryByGoodsId(goodsVo.getGoodsId());
|
|
ProfileTpVo profileTpVo = iProfileTpService.queryByGoodsId(goodsVo.getGoodsId());
|
|
@@ -340,7 +337,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
informUserAddBo.setGradeId(goodsVo.getGradeId());
|
|
informUserAddBo.setGradeId(goodsVo.getGradeId());
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
- informUserAddBo.setText("尊敬的用户:您购买的" + goodsVo1.getGoodsName() + "已经开通,请尽快去学习吧。点击链接去学习:"+studyCentreLink);
|
|
|
|
|
|
+ informUserAddBo.setText("尊敬的用户:您购买的" + goodsVo1.getGoodsName() + "已经开通,请尽快去学习吧。");
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
}
|
|
}
|
|
if (informRemindTwoVo.getWayStatus() == 1 && profileTpVo != null) {
|
|
if (informRemindTwoVo.getWayStatus() == 1 && profileTpVo != null) {
|
|
@@ -357,7 +354,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
informUserAddBo.setGradeId(goodsVo.getGradeId());
|
|
informUserAddBo.setGradeId(goodsVo.getGradeId());
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
- informUserAddBo.setText("尊敬的用户:已为您开通了" + goodsVo1.getGoodsName() + "课程,本课程需完善信息方可学习,请尽快去完善资料吧。点击链接去学习:"+studyCentreLink);
|
|
|
|
|
|
+ informUserAddBo.setText("尊敬的用户:已为您开通了" + goodsVo1.getGoodsName() + "课程,本课程需完善信息方可学习,请尽快去完善资料吧。");
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -381,7 +378,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
informUserAddBo.setGoodsId(goodsVo.getGoodsId());
|
|
informUserAddBo.setGoodsId(goodsVo.getGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
- informUserAddBo.setText("尊敬的用户:您购买的" + goodsVo1.getGoodsName() + "已经开通,请尽快去学习吧。点击链接去学习:"+studyCentreLink);
|
|
|
|
|
|
+ informUserAddBo.setText("尊敬的用户:您购买的" + goodsVo1.getGoodsName() + "已经开通,请尽快去学习吧。");
|
|
UserVo userVo = iUserService.queryById(goodsVo.getUserId());
|
|
UserVo userVo = iUserService.queryById(goodsVo.getUserId());
|
|
Map<String, Object> param = new HashMap<>();
|
|
Map<String, Object> param = new HashMap<>();
|
|
param.put("goods", goodsVo1.getGoodsName());
|
|
param.put("goods", goodsVo1.getGoodsName());
|
|
@@ -405,7 +402,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
informUserAddBo.setGoodsId(goodsVo.getGoodsId());
|
|
informUserAddBo.setGoodsId(goodsVo.getGoodsId());
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
informUserAddBo.setOrderGoodsId(goodsVo.getOrderGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(goodsVo.getGoodsId());
|
|
- informUserAddBo.setText("尊敬的用户:已为您开通了" + goodsVo1.getGoodsName() + "课程,本课程需完善信息方可学习,请尽快去完善资料吧。点击链接去学习:"+studyCentreLink);
|
|
|
|
|
|
+ informUserAddBo.setText("尊敬的用户:已为您开通了" + goodsVo1.getGoodsName() + "课程,本课程需完善信息方可学习,请尽快去完善资料吧。");
|
|
UserVo userVo = iUserService.queryById(goodsVo.getUserId());
|
|
UserVo userVo = iUserService.queryById(goodsVo.getUserId());
|
|
Map<String, Object> param = new HashMap<>();
|
|
Map<String, Object> param = new HashMap<>();
|
|
param.put("goods", goodsVo1.getGoodsName());
|
|
param.put("goods", goodsVo1.getGoodsName());
|