ProgressPrizeMapper.java 690 Bytes
Newer Older
licc's avatar
licc committed
1 2 3 4 5 6
package cn.wisenergy.mapper;

import cn.wisenergy.model.app.ProgressPrize;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

licc's avatar
licc committed
7 8 9
import java.util.Date;
import java.util.List;

licc's avatar
licc committed
10 11 12 13 14 15 16 17 18 19
/**
 * @author 86187
 */
public interface ProgressPrizeMapper extends BaseMapper<ProgressPrize> {

    int add(ProgressPrize progressPrize);

    int edit(ProgressPrize progressPrize);

    int delById(@Param("id") Integer id);
licc's avatar
licc committed
20 21 22 23 24 25 26 27

    /**
     * 根据 年月 获取月的最大进步奖用户列表
     *
     * @param yearMonth 年月
     * @return 最大进步奖用户列表
     */
    List<ProgressPrize> getByYearMonth(@Param("yearMonth") String yearMonth);
licc's avatar
licc committed
28
}