| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- package com.ydtech.modules.protocol.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.ydtech.core.page.HttpResult;
- import com.ydtech.core.page.PageResult;
- import com.ydtech.modules.protocol.entity.po.PtlNewCarJudgeRules;
- import com.ydtech.modules.protocol.entity.vo.PtlNewCarJudgeRulesVo;
- import java.util.List;
- /**
- * @author CXP
- * @description 针对表【ptl_new_car_judge_rules(新车判断规则)】的数据库操作Service
- * @createDate 2023-08-11 15:50:20
- */
- public interface PtlNewCarJudgeRulesService extends IService<PtlNewCarJudgeRules> {
- /**
- * 添加新车判断规则
- *
- * @param newCarJudgeRulesVo 新车判断规则保存实体
- * @return HttpResult
- */
- HttpResult<Object> saveNewCarJudgeRules(PtlNewCarJudgeRulesVo newCarJudgeRulesVo);
- /**
- * 修改新车判断规则
- *
- * @param ruleId 规则id
- * @param newCarJudgeRulesVo 新车判断规则保存实体
- * @return HttpResult
- */
- HttpResult<Object> reviseNewCarJudgeRules(String ruleId, PtlNewCarJudgeRulesVo newCarJudgeRulesVo);
- /**
- * 通过规则id查询所有信息
- *
- * @param ruleId 规则id
- * @return PtlNonCarInsuranceProductQueryVo
- */
- HttpResult<PtlNewCarJudgeRulesVo> getByRuleId(String ruleId);
- /**
- * 删除新车判断规则
- *
- * @param ruleId 规则id
- * @return HttpResult
- */
- HttpResult<Object> deleteByRuleId(String ruleId);
- /**
- * 分页查询
- *
- * @param newCarJudgeRulesVo 新车判断规则查询实体
- * @return HttpResult<PageResult < PtlNewCarJudgeRules>>
- */
- HttpResult<PageResult<PtlNewCarJudgeRules>> pageNewCarJudgeRules(PtlNewCarJudgeRulesVo newCarJudgeRulesVo);
- /**
- * 通过保险公司编号查询新车判断规则
- *
- * @param companyId 保险公司编号
- * @return List<PtlNonCarInsuranceProduct>
- */
- HttpResult<List<PtlNewCarJudgeRules>> getByCompanyId(String companyId);
- }
|