123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- package com.ruoyi.asset.service;
- import java.util.List;
- import cn.hutool.core.lang.tree.Tree;
- import com.ruoyi.asset.domain.TbLocation;
- import com.ruoyi.common.core.domain.TreeEntity;
- import com.ruoyi.common.core.domain.TreeSelect;
- /**
- * 所属位置Service接口
- *
- * @author 原动力
- * @date 2023-05-15
- */
- public interface ITbLocationService
- {
- /**
- * 查询所属位置
- *
- * @param id 所属位置主键
- * @return 所属位置
- */
- public TbLocation selectTbLocationById(Long id);
- /**
- * 查询所属位置列表
- *
- * @param tbLocation 所属位置
- * @return 所属位置集合
- */
- public List<TbLocation> selectTbLocationList(TbLocation tbLocation);
- public List<TbLocation> selectTree(Long id);
- public List<TreeSelect> selectTreeSelect(Long id);
- /**
- * 新增所属位置
- *
- * @param tbLocation 所属位置
- * @return 结果
- */
- public int insertTbLocation(TbLocation tbLocation);
- /**
- * 修改所属位置
- *
- * @param tbLocation 所属位置
- * @return 结果
- */
- public int updateTbLocation(TbLocation tbLocation);
- /**
- * 批量删除所属位置
- *
- * @param ids 需要删除的所属位置主键集合
- * @return 结果
- */
- public int deleteTbLocationByIds(Long[] ids);
- /**
- * 删除所属位置信息
- *
- * @param id 所属位置主键
- * @return 结果
- */
- public int deleteTbLocationById(Long id);
- }
|