PtlAgreementGroupLinkDeptMapper.java 1.1 KB

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