| | |
| | | package com.nq.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.nq.pojo.AgentUser; |
| | | import com.nq.pojo.SiteNews; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | public interface SiteNewsMapper { |
| | | public interface SiteNewsMapper extends BaseMapper<SiteNews> { |
| | | |
| | | /** |
| | | * [新增] |
| | | * @author lr |
| | | * @date 2020/08/05 |
| | | **/ |
| | | int insert(SiteNews siteNews); |
| | | |
| | | /** |
| | | * [刪除] |
| | | * @author lr |
| | | * @date 2020/08/05 |
| | | **/ |
| | | int delete(int id); |
| | | |
| | | /** |
| | | * [更新] |
| | | * @author lr |
| | | * @date 2020/08/05 |
| | | **/ |
| | | int update(SiteNews siteNews); |
| | | |
| | | /** |
| | | * [查询] 根据主键 id 查询 |