CultivatingPrizeMapper.java 730 Bytes
Newer Older
codezwjava's avatar
codezwjava committed
1 2 3 4 5
package cn.wisenergy.mapper;

import cn.wisenergy.model.app.CultivatingPrize;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

6
import java.util.List;
codezwjava's avatar
codezwjava committed
7 8 9

/**
 * 培育奖金额对应表
licc's avatar
licc committed
10
 *
codezwjava's avatar
codezwjava committed
11 12 13 14 15 16
 * @author zw
 */
public interface CultivatingPrizeMapper extends BaseMapper<CultivatingPrize> {

    /**
     * 根据用户等级获取培育奖对应金额
licc's avatar
licc committed
17
     *
codezwjava's avatar
codezwjava committed
18 19 20
     * @return
     */
    CultivatingPrize getcultivatingPrizeByUserLevel(int userLevel);
21 22 23

    /**
     * 查询所有信息
licc's avatar
licc committed
24
     *
25 26 27 28
     * @return
     */
    List<CultivatingPrize> getCultivatingPrizeList();

licc's avatar
licc committed
29 30 31 32 33 34 35 36
    /**
     * 编辑培育奖信息
     *
     * @param cultivatingPrize 信息
     * @return 1
     */
    int edit(CultivatingPrize cultivatingPrize);

codezwjava's avatar
codezwjava committed
37
}