package com.wzj.soopin.transaction.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzj.soopin.transaction.domain.po.DivideRule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 意见反馈Mapper接口
 *
 * @author zcc
 */
@Mapper
public interface DivideRuleMapper extends BaseMapper<DivideRule> {

    @Select("select * from trans_divide_rule where type = #{type} and status = #{status} and del_flag = '0'")
    DivideRule getByTypeAndStatus(@Param("type") Integer type, @Param("status") int status);
}
