| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- package com.ydtech.modules.admin.dao;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.ydtech.modules.admin.model.SysDept;
- import com.ydtech.modules.admin.model.vo.SysDeptVo;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- public interface SysDeptMapper extends BaseMapper<SysDept> {
- /**
- * 查询Id 值
- * @param deptId 部门
- * @param deptType 类型
- * @return
- */
- String getMaxId(@Param(value = "deptId") String deptId, @Param(value = "deptType")String deptType,@Param(value = "comlevel")String comlevel);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/4/28 10:01
- * @Description: 通过县级code查询门店列表
- */
- List<SysDept> queryListByParentId(@Param(value = "level") String level,@Param(value = "parentId") String parentId);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/6/26 19:55
- * @Description: 获取前线机构列表
- */
- List<SysDept> queryListByQXDept();
- /**
- * @version
- * @author: hxl
- * @Date: 2024/6/28 9:24
- * @Description:
- */
- List<SysDept> queryHXDeptTree();
- /**
- * 通过订单号查询业务来源
- * @param orderNo 订单号
- * @return 业务来源
- */
- String getByOrderNoQueryManagementSource(@Param(value = "orderNo") String orderNo);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/9/18 11:58
- * @Description: 通过ids查询机构数据
- */
- List<SysDept> getListByIds(@Param(value = "ids") List<String> ids);
- /**
- *
- * @param sysDeptVo
- * @return 获取五级所有机构 除总部
- */
- List<SysDept> getFiveLevelDept(@Param("vo") SysDeptVo sysDeptVo);
- List<SysDept> queryFiveLevelDept(@Param("vo") SysDeptVo sysDeptVo);
- List<SysDept> getListByIdsByKzt(@Param("ids") List<String> deptIds);
- }
|