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 { /** * 添加新车判断规则 * * @param newCarJudgeRulesVo 新车判断规则保存实体 * @return HttpResult */ HttpResult saveNewCarJudgeRules(PtlNewCarJudgeRulesVo newCarJudgeRulesVo); /** * 修改新车判断规则 * * @param ruleId 规则id * @param newCarJudgeRulesVo 新车判断规则保存实体 * @return HttpResult */ HttpResult reviseNewCarJudgeRules(String ruleId, PtlNewCarJudgeRulesVo newCarJudgeRulesVo); /** * 通过规则id查询所有信息 * * @param ruleId 规则id * @return PtlNonCarInsuranceProductQueryVo */ HttpResult getByRuleId(String ruleId); /** * 删除新车判断规则 * * @param ruleId 规则id * @return HttpResult */ HttpResult deleteByRuleId(String ruleId); /** * 分页查询 * * @param newCarJudgeRulesVo 新车判断规则查询实体 * @return HttpResult> */ HttpResult> pageNewCarJudgeRules(PtlNewCarJudgeRulesVo newCarJudgeRulesVo); /** * 通过保险公司编号查询新车判断规则 * * @param companyId 保险公司编号 * @return List */ HttpResult> getByCompanyId(String companyId); }