package com.patzn.lims.staff.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.patzn.lims.staff.entity.LmsStaffRelOrg;
import com.patzn.lims.staff.vo.LmsStaffScheduleVO;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
 * 人员关联部门表 Mapper 接口
 * </p>
 *
 * @author patzn
 * @since 2018-05-14
 */
public interface LmsStaffRelOrgMapper extends BaseMapper<LmsStaffRelOrg> {
   @SqlParser(filter = true)
   List<LmsStaffRelOrg> selectDepartmentList(Page page, @Param("ew") LmsStaffScheduleVO org, @Param("companyId") Long companyId);

   @SqlParser(filter = true)
   List<LmsStaffRelOrg> selectDepartmentList(@Param("ew") LmsStaffScheduleVO org, @Param("companyId") Long companyId);

}
