fangyuan
2022-11-18 69ee7c605579c009ee3c087fa265619ba55155f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.ycl.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
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;
 
/**
 * 资讯表(NewsInformation)表服务实现类
 *
 * @author makejava
 * @since 2022-11-17 11:38:27
 */
@Service("newsInformationService")
public class NewsInformationServiceImpl extends ServiceImpl<NewsInformationDao, NewsInformation> implements NewsInformationService {
 
    @Autowired
    NewsInformationDao newsInformationDao;
 
    @Override
    public int insertOneInformation(NewsInformation entity) {
        return newsInformationDao.insertOneInformation(entity);
    }
}