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