package com.sptg.estate.biz.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.sptg.estate.api.entity.NoticePushDetails;
import com.sptg.estate.biz.mapper.NoticePushDetailsMapper;
import com.sptg.estate.biz.service.NoticePushDetailsServiceInterface;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * title: NoticePushDetailsServiceImpl
 * package: com.sptg.estate.biz.security.impl
 * description: 公告发布详细-服务层实现层
 *
 *                
 *                 
 */
@Service
public class NoticePushDetailsServiceImpl  extends ServiceImpl<NoticePushDetailsMapper, NoticePushDetails> implements NoticePushDetailsServiceInterface {
    @Override
    public List<NoticePushDetails> getListByNoticePushId(long noticePushId){
        EntityWrapper<NoticePushDetails> entityWrapper=new EntityWrapper<NoticePushDetails>();
        entityWrapper.eq("l_notice_push_id",noticePushId);
        return this.selectList(entityWrapper);
    }
}
