|
|
|
@ -54,7 +54,7 @@ public class BsBankActivityRosterServiceImpl implements BsBankActivityRosterServ |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Transactional(propagation= Propagation.REQUIRES_NEW) |
|
|
|
|
public void enrollActivity(Long bankActivityId, Long merId) throws Exception { |
|
|
|
|
public void enrollActivity(Long bankActivityId, Long merId, String branchBankNo) throws Exception { |
|
|
|
|
// 查询报名
|
|
|
|
|
BsBankActivityRoster roster = getActivityRoster(bankActivityId, merId); |
|
|
|
|
if (roster != null) { |
|
|
|
@ -71,7 +71,7 @@ public class BsBankActivityRosterServiceImpl implements BsBankActivityRosterServ |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的商户"); |
|
|
|
|
} |
|
|
|
|
// 渠道报名
|
|
|
|
|
saasActivityService.customerRegisterActivity(activity.getActivityNo().toString(), null, Arrays.asList(merPlatform.getCupNo())); |
|
|
|
|
saasActivityService.customerRegisterActivity(activity.getActivityNo().toString(), branchBankNo, Arrays.asList(merPlatform.getCupNo())); |
|
|
|
|
|
|
|
|
|
BsBankActivityRoster bankActivityRoster = new BsBankActivityRoster(); |
|
|
|
|
bankActivityRoster.setBankActivityId(bankActivityId); |
|
|
|
|