|
@@ -46,8 +46,8 @@ public class ReplacementInstrumentCooperationServiceImpl extends BaseServiceImpl
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public ReplacementInstrumentCooperation openPay(Integer cooperationId) {
|
|
|
- ReplacementInstrumentCooperation replacementInstrumentCooperation = replacementInstrumentCooperationDao.get(cooperationId);
|
|
|
+ public ReplacementInstrumentCooperation openPay(Integer id) {
|
|
|
+ ReplacementInstrumentCooperation replacementInstrumentCooperation = replacementInstrumentCooperationDao.get(id);
|
|
|
if (replacementInstrumentCooperation == null) {
|
|
|
throw new BizException("合作单位乐器置换活动不存在");
|
|
|
}
|
|
@@ -59,9 +59,9 @@ public class ReplacementInstrumentCooperationServiceImpl extends BaseServiceImpl
|
|
|
|
|
|
//发送推送链接
|
|
|
//家长您好!您订购的 {乐器品牌}品牌乐器已经开始接受预定,请点击{链接地址}完成付款,付款后15个工作日以内到货,如有疑问请咨询乐团管理老师。
|
|
|
- List<ReplacementInstrumentActivityStatDto> pushUsers = replacementInstrumentActivityDao.getPushUsers(cooperationId);
|
|
|
+ List<ReplacementInstrumentActivityStatDto> pushUsers = replacementInstrumentActivityDao.getPushUsers(id);
|
|
|
|
|
|
- replacementInstrumentActivityDao.openPay(replacementInstrumentCooperation.getCooperationOrganId());
|
|
|
+ replacementInstrumentActivityDao.openPay(id);
|
|
|
|
|
|
|
|
|
String baseApiUrl = sysConfigDao.findConfigValue("base_api_url");
|