weaver-hrm-organization/src/com/engine/organization/mapper/department/DepartmentMapper.java

22 lines
509 B
Java
Raw Normal View History

2022-05-20 15:00:03 +08:00
package com.engine.organization.mapper.department;
import com.engine.organization.entity.department.po.DepartmentPO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @Author weaver_cl
* @Description: TODO
* @Date 2022/5/20
* @Version V1.0
**/
public interface DepartmentMapper {
List<DepartmentPO> getDeptListByCompId(@Param("parentComp") int parentComp);
List<DepartmentPO> getDeptListByPId(@Param("PId")Long PId);
String getDeptNameById(@Param("id")int id);
}