|
@ -125,6 +125,10 @@ public class ActSignInRecordServiceImpl extends BaseServiceImpl<ActSignInRecordD |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
throw new RenException("签到起止时间格式错误"); |
|
|
throw new RenException("签到起止时间格式错误"); |
|
|
} |
|
|
} |
|
|
|
|
|
if(groupActInfoEntity.getSignInEndTime().getTime()<groupActInfoEntity.getSignInStartTime().getTime()){ |
|
|
|
|
|
log.warn("签到截止时间应晚于签到开始时间"); |
|
|
|
|
|
throw new RenException(EpmetErrorCode.ACT_SIGN_IN_START_TIME_ERROR.getCode(),EpmetErrorCode.ACT_SIGN_IN_START_TIME_ERROR.getMsg()); |
|
|
|
|
|
} |
|
|
groupActInfoDao.updateById(groupActInfoEntity); |
|
|
groupActInfoDao.updateById(groupActInfoEntity); |
|
|
SetSignTimeResultDTO result = new SetSignTimeResultDTO(); |
|
|
SetSignTimeResultDTO result = new SetSignTimeResultDTO(); |
|
|
result.setGroupActId(formDTO.getGroupActId()); |
|
|
result.setGroupActId(formDTO.getGroupActId()); |
|
|