ITaxSourceService.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.ydtech.modules.protocol.service;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.baomidou.mybatisplus.extension.service.IService;
  5. import com.ydtech.modules.esm.model.EsmInsCompany;
  6. import com.ydtech.modules.protocol.entity.dto.PtlAgreementInsCompanyDto;
  7. import com.ydtech.modules.protocol.entity.dto.TaxSourceDto;
  8. import com.ydtech.modules.protocol.entity.po.PtlAgreement;
  9. import com.ydtech.modules.protocol.entity.vo.CompanyPageVo;
  10. import com.ydtech.modules.protocol.entity.vo.TaxSourceVo;
  11. import java.util.List;
  12. public interface ITaxSourceService extends IService<TaxSourceDto> {
  13. Page<EsmInsCompany> getInsureCompany(Page page, CompanyPageVo companyPageVo);
  14. List<PtlAgreement> getAgreementByCompanyId(String companyId,String deptId,String userId);
  15. boolean saveTaxSource(TaxSourceVo taxSourceVo);
  16. TaxSourceVo getTaxSource(String companyId);
  17. // List<PtlAgreementInsCompanyDto> getAgreementInsCompany(String deptId, String userId,String license,String volume);
  18. List<PtlAgreementInsCompanyDto> getAllAgreement(String deptId, String userId);
  19. String getAgreementId(String deptId, String userId, String companyId, String license, String volume, String productid);
  20. /**
  21. * @version
  22. * @author: hxl
  23. * @Date: 2024/4/18 10:17
  24. * @Description: 通过用户id查询关联的协议
  25. */
  26. List<PtlAgreementInsCompanyDto> getAllAgreementByUserId(String userId);
  27. /**
  28. * 设置保险公司排序
  29. * @param companyId
  30. * @param sort
  31. * @return
  32. */
  33. boolean modifySort(String companyId,String sort);
  34. }