MonthManureMapper.java 794 Bytes
Newer Older
licc's avatar
licc committed
1 2 3 4
package cn.wisenergy.mapper;

import cn.wisenergy.model.app.MonthManure;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
import org.apache.ibatis.annotations.Param;
licc's avatar
licc committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

/**
 * @author 86187
 */
public interface MonthManureMapper extends BaseMapper<MonthManure> {
    /**
     * 添加月度肥料
     *
     * @param monthManure 月度肥料信息
     * @return 1
     */
    int add(MonthManure monthManure);

    /**
     * 编辑月度肥料
     *
     * @param monthManure 月度肥料信息
     * @return 1
     */
    int edit(MonthManure monthManure);
26 27 28 29 30 31 32 33

    /**
     * 通过年月获取月度肥料剩余奖金信息
     *
     * @param yearMonth 年月
     * @return 月度肥料剩余奖金信息
     */
    MonthManure queryByTime(@Param("yearMonth") String yearMonth);
licc's avatar
licc committed
34
}