Browse Source

活动扫码签到接口 bug修改

feature/syp_points
liuchuang 5 years ago
parent
commit
d3cbf32b1d
  1. 4
      esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActSignInQrCodeServiceImpl.java

4
esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActSignInQrCodeServiceImpl.java

@ -292,7 +292,9 @@ public class ActSignInQrCodeServiceImpl extends BaseServiceImpl<ActSignInQrCodeD
private ActUserRelationDTO checkSignInUser(String userId, String actId) {
// 校验用户
ActUserRelationDTO actUserRelationDto = actUserRelationService.getActUserRelationId(userId, actId, null);
if (null == actUserRelationDto) {
if (null == actUserRelationDto
|| StringUtils.isEmpty(actUserRelationDto.getId())
|| StringUtils.isEmpty(actUserRelationDto.getStatus())) {
throw new RenException(ActSignInQrCodeConstant.ACT_SIGN_IN_MSG_NOT_SIGN_UP);
}
switch (actUserRelationDto.getStatus()) {

Loading…
Cancel
Save