|
|
@ -149,8 +149,11 @@ public class ActSignInRecordServiceImpl extends BaseServiceImpl<ActSignInRecordD |
|
|
|
@Override |
|
|
|
public void signIn(SignInFormDTO formDTO) { |
|
|
|
if(queryUserSignInRec(formDTO.getGroupActId(),formDTO.getUserId())){ |
|
|
|
//已经签到无需重复签到
|
|
|
|
//已经签到无需重复签到,更新时间
|
|
|
|
log.warn(String.format("当前用户userId=%s,已经签到,groupActId=%s",formDTO.getUserId(),formDTO.getGroupActId())); |
|
|
|
ActSignInRecordEntity updateEntity=baseDao.queryActSignInRecord(formDTO.getGroupActId(),formDTO.getUserId()); |
|
|
|
updateEntity.setUpdatedTime(new Date()); |
|
|
|
baseDao.updateById(updateEntity); |
|
|
|
return; |
|
|
|
} |
|
|
|
GroupActInfoDTO originalActInfo = groupActInfoService.getGroupActInfoDTO(formDTO.getGroupActId()); |
|
|
|