| | |
| | | package com.yeshi.fanli.dao.mybatis.homemodule; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.homemodule.HomeNavbarUser; |
| | | |
| | | public interface HomeNavbarUserMapper extends BaseMapper<HomeNavbarUser> { |
| | | |
| | | |
| | | /** |
| | | * 批量插入 |
| | | * @param list |
| | | */ |
| | | void insertBatch (List<HomeNavbarUser> list); |
| | | |
| | | /** |
| | | * 批量更新- 目前只更新排序 |
| | | * @param list |
| | | */ |
| | | void updateSelectiveBatch (List<HomeNavbarUser> list); |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int deleteByPrimaryKeyBatch(List<Long> list); |
| | | |
| | | /** |
| | | * 删除用户自定义 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | void deleteByUid(@Param("uid")Long uid); |
| | | |
| | | |
| | | /** |
| | | * 删除设备自定义 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | void deleteByDevice(@Param("device")String device); |
| | | |
| | | |
| | | /** |
| | | * 查询自定义有效的导航栏 |
| | | */ |
| | | List<HomeNavbarUser> listEffectiveNavbars(@Param("uid")Long uid, @Param("device")String device); |
| | | |
| | | |
| | | /** |
| | | * 查询自定义导航栏 |
| | | */ |
| | | List<HomeNavbarUser> listMyNavbars(@Param("uid")Long uid, @Param("device")String device); |
| | | |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.homemodule;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.bus.homemodule.HomeNavbarUser;
|
| | |
|
| | | public interface HomeNavbarUserMapper extends BaseMapper<HomeNavbarUser> {
|
| | | |
| | | |
| | | /**
|
| | | * 批量插入
|
| | | * @param list
|
| | | */
|
| | | void insertBatch (List<HomeNavbarUser> list);
|
| | | |
| | | /**
|
| | | * 批量更新- 目前只更新排序
|
| | | * @param list
|
| | | */
|
| | | void updateSelectiveBatch (List<HomeNavbarUser> list);
|
| | | |
| | | /**
|
| | | * 批量删除
|
| | | * |
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | int deleteByPrimaryKeyBatch(List<Long> list);
|
| | | |
| | | /**
|
| | | * 删除用户自定义
|
| | | * |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | void deleteByUid(@Param("uid")Long uid);
|
| | | |
| | | |
| | | /**
|
| | | * 删除设备自定义
|
| | | * |
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | void deleteByDevice(@Param("device")String device);
|
| | | |
| | | |
| | | /**
|
| | | * 查询自定义有效的导航栏
|
| | | */
|
| | | List<HomeNavbarUser> listEffectiveNavbars(@Param("uid")Long uid, @Param("device")String device);
|
| | | |
| | | |
| | | /**
|
| | | * 查询自定义导航栏
|
| | | */
|
| | | List<HomeNavbarUser> listMyNavbars(@Param("uid")Long uid, @Param("device")String device);
|
| | | |
| | | |
| | | } |