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.NoticePushImg;
import com.sptg.estate.biz.mapper.NoticePushImgMapper;
import com.sptg.estate.biz.service.NoticePushImgServiceInterface;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * title: NoticePushImgServiceImpl
 * package: com.sptg.estate.biz.security.impl
 * description: 公告发布图片-服务层实现
 *
 *                
 *                 
 */
@Service
public class NoticePushImgServiceImpl extends ServiceImpl<NoticePushImgMapper, NoticePushImg> implements NoticePushImgServiceInterface {
    @Override
    public List<NoticePushImg> selectNoticePushImgList(long noticePushId){
        EntityWrapper<NoticePushImg> wrapper=new EntityWrapper<NoticePushImg>();
        wrapper.eq("l_notice_push_id",noticePushId);
        List<NoticePushImg> noticePushImgList=this.selectList(wrapper);
        return noticePushImgList;
    }
}
