获取营销推送任务用户列表失败 问题
This commit is contained in:
parent
c3bc743f71
commit
5bd4fd8091
|
|
@ -43,7 +43,7 @@ public interface ShopUserMapper extends BaseMapper<ShopUser> {
|
||||||
* @param shopId 店铺ID
|
* @param shopId 店铺ID
|
||||||
* @return 分页结果
|
* @return 分页结果
|
||||||
*/
|
*/
|
||||||
Page<ShopUser> selectPushEventUser(
|
List<ShopUser> selectPushEventUser(
|
||||||
@Param("mainShopId") Long mainShopId,
|
@Param("mainShopId") Long mainShopId,
|
||||||
@Param("shopId") Long shopId,
|
@Param("shopId") Long shopId,
|
||||||
SmsPushEventUser smsPushEventUser
|
SmsPushEventUser smsPushEventUser
|
||||||
|
|
|
||||||
|
|
@ -102,11 +102,9 @@ public class AShopUserServiceImpl implements AShopUserService {
|
||||||
PageHelper.startPage(smsPushEventUser.getPage(), smsPushEventUser.getSize());
|
PageHelper.startPage(smsPushEventUser.getPage(), smsPushEventUser.getSize());
|
||||||
Long mainShopId = shopInfoService.getMainIdByShopId(smsPushEventUser.getShopId());
|
Long mainShopId = shopInfoService.getMainIdByShopId(smsPushEventUser.getShopId());
|
||||||
// 调用Mapper层查询
|
// 调用Mapper层查询
|
||||||
return shopUserMapper.selectPushEventUser(
|
List<ShopUser> shopUsers = shopUserMapper.selectPushEventUser(mainShopId,
|
||||||
mainShopId,
|
smsPushEventUser.getShopId(), smsPushEventUser);
|
||||||
smsPushEventUser.getShopId(),
|
return PageUtil.convert(new PageInfo<>(shopUsers));
|
||||||
smsPushEventUser
|
|
||||||
);
|
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.info("获取营销推送任务用户列表失败{},{}", smsPushEventUser, e.getMessage());
|
log.info("获取营销推送任务用户列表失败{},{}", smsPushEventUser, e.getMessage());
|
||||||
return new Page<>();
|
return new Page<>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue