| | |
| | | import com.ycl.mapper.NewsInformationDao;
|
| | | import com.ycl.entity.NewsInformation;
|
| | | import com.ycl.service.NewsInformationService;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | /**
|
| | |
| | | @Service("newsInformationService")
|
| | | public class NewsInformationServiceImpl extends ServiceImpl<NewsInformationDao, NewsInformation> implements NewsInformationService {
|
| | |
|
| | | @Autowired
|
| | | NewsInformationDao newsInformationDao;
|
| | |
|
| | | @Override
|
| | | public int insertOneInformation(NewsInformation entity) {
|
| | | return newsInformationDao.insertOneInformation(entity);
|
| | | }
|
| | | }
|
| | |
|