| | |
| | | package com.yeshi.fanli.dao.mybatis.help; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.entity.bus.help.HelpCenter; |
| | | import com.yeshi.fanli.exception.HelpCenterException; |
| | | |
| | | public interface HelpCenterMapper { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(HelpCenter record); |
| | | |
| | | int insertSelective(HelpCenter record); |
| | | |
| | | HelpCenter selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(HelpCenter record); |
| | | |
| | | int updateByPrimaryKey(HelpCenter record); |
| | | |
| | | |
| | | List<HelpCenter> queryIdAndTitle(@Param("start") int start, @Param("count") int count, |
| | | @Param("key") String title, @Param("cid") Long cid); |
| | | |
| | | |
| | | List<HelpCenter> query(@Param("start") int start, @Param("count") int count, |
| | | @Param("key") String title, @Param("cid") Long cid, |
| | | @Param("orderMode") Integer orderMode); |
| | | |
| | | long countQuery(@Param("key") String title, @Param("cid") Long cid); |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * @param idList |
| | | * @return |
| | | * @throws HelpCenterException |
| | | */ |
| | | int deleteBatchById(@Param("idList") List<String> idList); |
| | | |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.help;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.help.HelpCenter;
|
| | | import com.yeshi.fanli.exception.config.HelpCenterException;
|
| | |
|
| | | public interface HelpCenterMapper {
|
| | |
|
| | | int deleteByPrimaryKey(Long id);
|
| | |
|
| | | int insert(HelpCenter record);
|
| | |
|
| | | int insertSelective(HelpCenter record);
|
| | |
|
| | | HelpCenter selectByPrimaryKey(Long id);
|
| | |
|
| | | int updateByPrimaryKeySelective(HelpCenter record);
|
| | |
|
| | | int updateByPrimaryKey(HelpCenter record);
|
| | | |
| | | |
| | | List<HelpCenter> queryIdAndTitle(@Param("start") int start, @Param("count") int count, |
| | | @Param("key") String title, @Param("cid") Long cid);
|
| | | |
| | | |
| | | List<HelpCenter> query(@Param("start") int start, @Param("count") int count, |
| | | @Param("key") String title, @Param("cid") Long cid,
|
| | | @Param("orderMode") Integer orderMode);
|
| | | |
| | | long countQuery(@Param("key") String title, @Param("cid") Long cid);
|
| | | |
| | | /**
|
| | | * 批量删除
|
| | | * @param idList
|
| | | * @return
|
| | | * @throws HelpCenterException
|
| | | */
|
| | | int deleteBatchById(@Param("idList") List<String> idList);
|
| | | |
| | | |
| | | } |