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

import cn.wisenergy.model.app.Price;
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

import java.util.List;

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

    List<Price> getList();

    int count();
18

cy's avatar
cy committed
19
    Price getByMoney(@Param("money") Double money);
licc's avatar
licc committed
20
}