Merge #6 into master from cc_20251203_bugfix
feat:getPosToken * cc_20251203_bugfix: (1 commits squashed) - feat:getPosToken Signed-off-by: 苏竹红 <accounts_68551bf01395375227aee211@mail.teambition.com> Merged-by: 苏竹红 <accounts_68551bf01395375227aee211@mail.teambition.com> CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/6
This commit is contained in:
@@ -213,8 +213,10 @@ public class PushServiceImpl implements PushService {
|
||||
userRoleIds.contains(UserRoleEnum.SERVICE_PACKAGE_DEDICATED.getCode()) ||
|
||||
userRoleIds.contains(UserRoleEnum.REGION_MANAGER.getCode())) {
|
||||
StoreDO store = storeDao.getByStoreNum(dto.getShopCode());
|
||||
if (store != null&&store.getTelephone()!=null){
|
||||
if (store != null&&StringUtils.isNotEmpty(store.getTelephone())){
|
||||
dto.setMobile(store.getTelephone());
|
||||
}else {
|
||||
throw new ServiceException(ErrorCodeEnum.STORE_MOBILE_NOT_EXIST);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user