1
This commit is contained in:
1 parent
7f72fa0244
commit
8ad4e7ad42
1 file changed
+1
-1
+1
-1
@@ -166,7 +166,7 @@ public class ActCouponRecordServiceImpl extends ServiceImpl<ActCouponRecordMappe
|
||||
if (ObjectUtil.equals(uniqueCode, "1qRgFo")) {
|
||||
// 判断是否为食堂用户
|
||||
MchManageVo userMch = mchManageService.getFirstMchByDeptId(sysUser.getDeptId(), List.of(MerchantTypeEnum.CANTEEN));
|
||||
if (ObjectUtil.isEmpty(userMch) && false) {
|
||||
if (ObjectUtil.isEmpty(userMch)) {
|
||||
log.info("|{}|{}用户参加{}活动失败:不是食堂用户,用户属于食堂{}", TAG, sysUser.getName(), uniqueCode, JSONUtil.toJsonStr(userMch));
|
||||
return ActUserReceiveEnum.USER_CANNOT_PARTICIPATE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user