| 123456789101112131415161718192021222324252627282930313233343536373839 |
- package com.ydtech.modules.protocol.service.impl;
- import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
- import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
- import com.ydtech.modules.protocol.dao.PtlAgreementGroupLinkDeptMapper;
- import com.ydtech.modules.protocol.entity.po.PtlAgreementGroupLinkDept;
- import com.ydtech.modules.protocol.service.PtlAgreementGroupLinkDeptService;
- import org.springframework.stereotype.Service;
- import java.util.List;
- /**
- * @author Administrator
- * @description 针对表【ptl_agreement_group_link_dept(协议组关联部门)】的数据库操作Service实现
- * @createDate 2024-10-24 09:54:37
- */
- @Service
- public class PtlAgreementGroupLinkDeptServiceImpl extends ServiceImpl<PtlAgreementGroupLinkDeptMapper, PtlAgreementGroupLinkDept>
- implements PtlAgreementGroupLinkDeptService {
- /**
- * @version
- * @author: hxl
- * @Date: 2024/10/25 8:59
- * @Description: 通过协议组id查询绑定机构
- */
- @Override
- public List<PtlAgreementGroupLinkDept> findByGroupId(Long agreementGroupId) {
- LambdaQueryWrapper<PtlAgreementGroupLinkDept> infoWapper = new LambdaQueryWrapper<>();
- infoWapper.eq(PtlAgreementGroupLinkDept::getPtlAgreementGroupId, agreementGroupId);
- return this.list(infoWapper);
- }
- }
|