package com.ydtech.modules.protocol.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ydtech.modules.protocol.entity.dto.PtlAgreementInsCompanyDto; import com.ydtech.modules.protocol.entity.po.PtlAgreementGroupLinkDept; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author Administrator * @description 针对表【ptl_agreement_group_link_dept(协议组关联部门)】的数据库操作Mapper * @createDate 2024-10-24 09:54:37 * @Entity generator.domain.PtlAgreementGroupLinkDept */ public interface PtlAgreementGroupLinkDeptMapper extends BaseMapper { /** * @version * @author: hxl * @Date: 2024/10/25 11:35 * @Description: 查询授权的协议 */ List getAgreementCompany(@Param("localDate") String localDate, @Param("deptId") String deptId); /** * @version * @author: hxl * @Date: 2024/10/25 18:04 * @Description: 通過部門id和协议id判断是否授权 */ List getAgreementByDeptId(@Param("agreementId") String agreementId, @Param("deptList") List deptList); }