mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
42
43
44
45
46
47
48
49
50
package com.panzhihua.service_community.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.panzhihua.common.model.vos.community.VolunteerIntegralMerchantVO;
import com.panzhihua.service_community.entity.VolunteerIntegralMerchant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
@Mapper
public interface VolunteerIntegralMerchantDao extends BaseMapper<VolunteerIntegralMerchant>
{
 
    /**
     * 获取单个详情
     * @param id
     * @return
     */
    VolunteerIntegralMerchant queryById(@Param("id") String id);
 
    /**
     * 分页查询
     * @param
     * @return
     */
    IPage<VolunteerIntegralMerchant> queryList(Page page,
                                       @Param("name") String name,
                                       @Param("state") String state,
                                       @Param("goodType") String goodType,
                                       @Param("merchantId") String merchantId);
 
 
    /**
     * 新增
     * @param
     * @return
     */
    int insertVolunteer(@Param("vimVO") VolunteerIntegralMerchantVO vimVO);
 
 
    int updateById(@Param("vimVO") VolunteerIntegralMerchantVO vimVO);
 
 
    int deleteById(@Param("id") String id);
 
    int getNum(@Param("merchantId") String merchantId);
 
 
}