PtlTaxSourceNewService.java 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. package com.ydtech.modules.protocol.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.ydtech.modules.order.entity.BasePageResult;
  4. import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
  5. import com.ydtech.modules.protocol.entity.dto.PtlTaxSourceNewDto;
  6. import com.ydtech.modules.protocol.entity.po.PtlTaxSourceNew;
  7. import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewAddDeptIdsVo;
  8. import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewAddVo;
  9. import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewSaveVo;
  10. import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewVo;
  11. import com.ydtech.modules.protocols.entity.po.PtlAgreementDispatchRulesAttr;
  12. import java.util.List;
  13. public interface PtlTaxSourceNewService extends IService<PtlTaxSourceNew> {
  14. /**
  15. * @version
  16. * @author: hxl
  17. * @Date: 2024/5/22 14:54
  18. * @Description: 分页查询
  19. */
  20. BasePageResult<PtlTaxSourceNewVo> queryPage(PtlTaxSourceNewDto ptlTaxSourceNewDto);
  21. /**
  22. * @version
  23. * @author: hxl
  24. * @Date: 2024/5/22 15:10
  25. * @Description:修改
  26. */
  27. void update(PtlTaxSourceNewAddVo ptlTaxSourceNewAddVo);
  28. /**
  29. * @version
  30. * @author: hxl
  31. * @Date: 2024/5/22 15:16
  32. * @Description: 批量删除数据
  33. */
  34. void deleteByIds(List<Long> ids);
  35. /**
  36. * @version
  37. * @author: hxl
  38. * @Date: 2024/5/22 15:31
  39. * @Description: 保存排除的保险公司机构
  40. */
  41. void saveDeptIds(PtlTaxSourceNewAddDeptIdsVo taxSourceVo);
  42. /**
  43. * @version
  44. * @author: hxl
  45. * @Date: 2024/5/22 15:42
  46. * @Description: 通过保险公司id查询排除部门ids
  47. */
  48. List<String> getDeptIdsByCompanyId(String companyId);
  49. /**
  50. * @version
  51. * @author: hxl
  52. * @Date: 2024/5/23 14:37
  53. * @Description: 添加
  54. */
  55. void add(PtlTaxSourceNewAddVo ptlTaxSourceNewAddVo);
  56. /**
  57. * @version
  58. * @author: hxl
  59. * @Date: 2024/5/24 15:33
  60. * @Description: 校验车牌、排量、排除部门
  61. */
  62. String getAgreementId(String deptId, String userId, String companyId, BaseQuoteInfoVo quoteInfo,String riskCode,String orderno);
  63. /**
  64. * @version
  65. * @author: hxl
  66. * @Date: 2024/5/24 18:05
  67. * @Description: 通过id查询对象
  68. */
  69. PtlTaxSourceNewSaveVo rulesGet(Long id, List<PtlAgreementDispatchRulesAttr> dispatchRulesAttrList);
  70. }