模板名称 异步发放优惠券
This commit is contained in:
@@ -35,6 +35,7 @@ import org.apache.dubbo.config.annotation.DubboService;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -102,12 +103,23 @@ public class AShopUserServiceImpl implements AShopUserService {
|
||||
List<ShopUser> shopUsers = shopUserMapper.selectPushEventUser(mainShopId,
|
||||
smsPushEventUser.getShopId(), smsPushEventUser);
|
||||
return PageUtil.convert(new PageInfo<>(shopUsers));
|
||||
}catch (Exception e){
|
||||
} catch (Exception e) {
|
||||
log.info("获取营销推送任务用户列表失败{},{}", smsPushEventUser, e.getMessage());
|
||||
return PageUtil.convert(new PageInfo<>());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ShopUser> getPushEventUserList(SmsPushEventUser smsPushEventUser) {
|
||||
List<Long> shopUserIds = new ArrayList<>();
|
||||
Long mainShopId = shopInfoService.getMainIdByShopId(smsPushEventUser.getShopId());
|
||||
smsPushEventUser.checkIsAll();
|
||||
// 调用Mapper层查询
|
||||
List<ShopUser> shopUsers = shopUserMapper.selectPushEventUser(mainShopId,
|
||||
smsPushEventUser.getShopId(), smsPushEventUser);
|
||||
return shopUsers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean updateInfo(Long shopId, ShopUserEditDTO shopUserEditDTO) {
|
||||
if (StrUtil.isNotBlank(shopUserEditDTO.getPhone())) {
|
||||
|
||||
Reference in New Issue
Block a user