|  | @@ -160,6 +160,7 @@ public class ReplacementInstrumentActivityServiceImpl extends BaseServiceImpl<In
 | 
	
		
			
				|  |  |          if (sysUser == null) {
 | 
	
		
			
				|  |  |              throw new BizException("用户信息获取失败,请重新登陆");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        replacementInstrumentActivity.setGoodsId(replacementInstrumentActivity.getInstrumentsId());
 | 
	
		
			
				|  |  |          replacementInstrumentActivity.setUserId(sysUser.getId());
 | 
	
		
			
				|  |  |          //如果用户是43分部,那么修改用户信息
 | 
	
		
			
				|  |  |          CooperationOrgan cooperationOrgan = cooperationOrganService.get(replacementInstrumentActivity.getCooperationOrganId());
 | 
	
	
		
			
				|  | @@ -211,7 +212,8 @@ public class ReplacementInstrumentActivityServiceImpl extends BaseServiceImpl<In
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          //已开启缴费推送购买链接
 | 
	
		
			
				|  |  |          if (sendPush && replacementInstrumentActivity.getOpenFlag().equals(1) && replacementInstrumentActivity.getInstrumentsId() != null) {
 | 
	
		
			
				|  |  | -            ReplacementInstrument replacementInstrument = replacementInstrumentDao.get(replacementInstrumentActivity.getInstrumentsId());
 | 
	
		
			
				|  |  | +            //换成商品列表中商品4.25
 | 
	
		
			
				|  |  | +            Goods goods = goodsDao.get(replacementInstrumentActivity.getGoodsId());
 | 
	
		
			
				|  |  |              Map<Integer, String> userMap = new HashMap<>();
 | 
	
		
			
				|  |  |              Map<Integer, String> userPhoneMap = new HashMap<>();
 | 
	
		
			
				|  |  |              Integer userId = replacementInstrumentActivity.getUserId();
 | 
	
	
		
			
				|  | @@ -219,11 +221,11 @@ public class ReplacementInstrumentActivityServiceImpl extends BaseServiceImpl<In
 | 
	
		
			
				|  |  |              String pushUrl = baseApiUrl + "/#/questionGoodsSale?id=";
 | 
	
		
			
				|  |  |              userMap.put(userId, userId.toString());
 | 
	
		
			
				|  |  |              sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.JIGUANG, MessageTypeEnum.REPLACEMENT_PAY_PUSH,
 | 
	
		
			
				|  |  | -                    userMap, null, 0, "5?" + pushUrl + replacementInstrumentActivity.getId(), "STUDENT", replacementInstrument.getBrand(), "");
 | 
	
		
			
				|  |  | +                    userMap, null, 0, "5?" + pushUrl + replacementInstrumentActivity.getId(), "STUDENT", goods.getBrand(), "");
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              userPhoneMap.put(replacementInstrumentActivity.getUserId(), replacementInstrumentActivity.getMobileNo());
 | 
	
		
			
				|  |  |              sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.REPLACEMENT_PAY_PUSH,
 | 
	
		
			
				|  |  | -                    userPhoneMap, null, 0, null, "STUDENT", replacementInstrument.getBrand(), HttpUtil.getSortUrl(pushUrl + replacementInstrumentActivity.getId()));
 | 
	
		
			
				|  |  | +                    userPhoneMap, null, 0, null, "STUDENT", goods.getBrand(), HttpUtil.getSortUrl(pushUrl + replacementInstrumentActivity.getId()));
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          return replacementInstrumentActivity;
 | 
	
		
			
				|  |  |      }
 |