|
@@ -179,6 +179,8 @@ public class CouponCommonServiceImpl implements CouponCommonService {
|
|
|
if (corpUserAuth != null) {
|
|
if (corpUserAuth != null) {
|
|
|
corpUser = corpUserMapper.selectOne(Wrappers.lambdaQuery(CorpUser.class).eq(CorpUser::getId, corpUserAuth.getCorpUserId()).last("limit 1"));
|
|
corpUser = corpUserMapper.selectOne(Wrappers.lambdaQuery(CorpUser.class).eq(CorpUser::getId, corpUserAuth.getCorpUserId()).last("limit 1"));
|
|
|
}
|
|
}
|
|
|
|
|
+ } else {
|
|
|
|
|
+ corpUser = corpUserMapper.selectOne(Wrappers.lambdaQuery(CorpUser.class).eq(CorpUser::getId, corpUserAuth.getCorpUserId()).last("limit 1"));
|
|
|
}
|
|
}
|
|
|
if (corpUser == null) {
|
|
if (corpUser == null) {
|
|
|
log.info("该客户{}不存在", externalUserId);
|
|
log.info("该客户{}不存在", externalUserId);
|