package com.bcxin.ins.dao.product;

import com.bcxin.ins.entity.product_core.ProResponsibility;
import com.bcxin.ins.spring.annotation.MyBatisDao;
import com.bcxin.ins.vo.ResponsibilityVo;
import com.bcxin.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * 保障责任Dao
 * Created by playboy on 2017/3/30.
 */
@MyBatisDao
public interface InsProductResponsibilityAPIDao extends BaseMapper<ProResponsibility> {

    public List<ResponsibilityVo> getResponsibilityVoListByProductID(@Param("product_id") Long product_id);
    public String findResponsibilityIdsByProductID(@Param("product_id") Long product_id,@Param("is_contain_repo") String is_contain_repo);
    public List<ResponsibilityVo> getResponsibilityVoListByResponsibilityIds(@Param("list") String[] list);

    public List<ResponsibilityVo> findResponsibilityVoList();
}
