|
|
@ -192,9 +192,9 @@ public class ActInfoServiceImpl extends BaseServiceImpl<ActInfoDao, ActInfoEntit |
|
|
|
public Result cancelSignUp(TokenDto tokenDto, ResiActUserCancelSignUpFormDTO formDTO) { |
|
|
|
// 判断用户是否已报名该活动
|
|
|
|
ActInfoDTO actInfoDTO = baseDao.queryActAccordingToActIdAndUserId(formDTO.getActId(),formDTO.getUserId()); |
|
|
|
if (null == actInfoDTO){ |
|
|
|
throw new RenException(EpmetErrorCode.NO_ACT_TO_CANCEL_SIGN_UP_WERE_FOUND.getCode()); |
|
|
|
} |
|
|
|
// if (null == actInfoDTO){
|
|
|
|
// throw new RenException(EpmetErrorCode.NO_ACT_TO_CANCEL_SIGN_UP_WERE_FOUND.getCode());
|
|
|
|
// }
|
|
|
|
//1、更新用户活动关系表
|
|
|
|
// relationService.update();
|
|
|
|
//2、插入用户活动关系日志表
|
|
|
|