智慧农业后台管理
tangzy
2022-06-30 373513b5e5c32f935320625e35d18abace6c0720
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 
package org.springblade.modules.farm.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.farm.entity.Farm;
import org.springblade.modules.farm.vo.FarmVO;
 
/**
 * 农场服务类
 * @since 2022-05-10
 * @author zhongrj
 */
public interface FarmService extends IService<Farm> {
 
    /**
     * 自定义分页
     *
     * @param page
     * @param farm
     * @return
     */
    IPage<FarmVO> selectFarmPage(IPage<FarmVO> page, FarmVO farm);
 
 
    /**
     * 更新农场信息
     * @param farm
     * @return
     */
    boolean updateFarmById(Farm farm);
 
    /**
     * 详情信息(自定义查询)
     * @param farm
     * @return
     */
    Farm getFarmInfo(FarmVO farm);
    Integer selectCountFarm();
    Integer selectCountUser();
}