package com.yifu.cloud.plus.v1.yifu.insurances.service.insurance;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceTypeStandard;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_insurance_type_standard(购买标准表)】的数据库操作Service
* @createDate 2022-07-18 17:19:41
*/
public interface TInsuranceTypeStandardService extends IService<TInsuranceTypeStandard> {
	/**
	 * 查询购买标准列表
	 *
	 * @author zhaji
	 * @param id
	 * @return {@link R}
	 */
	R getInsuranceTypeStandard(String id);

	/**
	 * 删除购买标准
	 *
	 * @author zhaji
	 * @param id
	 * @return {@link R}
	 */
	R deleteInsuranceTypeStandard(String id);

	/**
	 * 新增购买标准
	 *
	 * @author zhaji
	 * @param insuranceTypeStandard
	 * @return {@link R}
	 */
	R saveInsuranceTypeStandard(TInsuranceTypeStandard insuranceTypeStandard);

	R enableById(String id, String enable);

	R<List<TInsuranceTypeStandard>> getInsuranceTypeStandardList(String riskId);
}
