ShyActivityMapper.java 763 Bytes
package com.cnlive.shenhe.mapper;

import com.cnlive.shenhe.entity.ShyActivity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ShyActivityMapper extends Mapper<ShyActivity> {


    /**
     * 根据免审状态查询
     *
     * @param exempt_from_trial
     * @return
     */
    List<Integer> selectAllByExempt_from_trial(@Param("exempt_from_trial") Integer exempt_from_trial);

    /**
     * 根据id查询是否存在该对象
     *
     * @param id
     * @return
     */
    ShyActivity selectById(@Param("id") Integer id);

    /**
     * 根据 source 查询审核类型
     *
     * @param id
     * @return
     */
    Integer selectBySource(@Param("id") Integer id);
}