|
|
@ -54,7 +54,7 @@ public class BsBankActivityRosterServiceImpl implements BsBankActivityRosterServ |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(propagation= Propagation.REQUIRES_NEW) |
|
|
|
@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); |
|
|
|
BsBankActivityRoster roster = getActivityRoster(bankActivityId, merId); |
|
|
|
if (roster != null) { |
|
|
|
if (roster != null) { |
|
|
@ -71,7 +71,7 @@ public class BsBankActivityRosterServiceImpl implements BsBankActivityRosterServ |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的商户"); |
|
|
|
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(); |
|
|
|
BsBankActivityRoster bankActivityRoster = new BsBankActivityRoster(); |
|
|
|
bankActivityRoster.setBankActivityId(bankActivityId); |
|
|
|
bankActivityRoster.setBankActivityId(bankActivityId); |
|
|
|