PriceMapper.java 402 Bytes
Newer Older
licc's avatar
licc committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package cn.wisenergy.mapper;

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

import java.util.List;

/**
 * @author 86187
 */
public interface PriceMapper extends BaseMapper<Price> {
    int add(Price price);

    List<Price> getList();

    int count();

    Price getByMoney(@Param("money") Integer money);
}