package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.MerchantRejectDesc;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bzg
 * @since 2021-01-11
 */
public interface MerchantRejectDescMapper extends BaseMapper<MerchantRejectDesc> {

    @Select("select IFNULL(max(sort)+1,1) from tb_pluss_merchant_reject_desc")
    Integer getMaxSort();
}
