| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- package com.ydtech.modules.protocol.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.ydtech.modules.protocol.entity.po.PtlAgreementDept;
- import java.util.List;
- /**
- * @author Administrator
- * @description 针对表【ptl_agreement_dept(协议授权部门表)】的数据库操作Service
- * @createDate 2023-07-03 09:31:16
- */
- public interface PtlAgreementDeptService extends IService<PtlAgreementDept> {
- /**
- * 通过 协议id 批量添加 协议授权部门
- *
- * @param agreementId 协议id
- */
- void saveBatchDept(String agreementId, List<String> dept);
- /**
- * 通过 协议id 获取 协议授权部门
- *
- * @param agreementId 协议id
- */
- List<PtlAgreementDept> getByAgreementId(String agreementId);
- /**
- * 通过 协议id 删除 协议授权部门
- *
- * @param agreementId 协议id
- */
- void deleteByAgreementId(String agreementId);
- /**
- * 判断此协议是否授权
- */
- void agreementIsAuthorized(String deptId, String agreementId);
- }
|