add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.iotechn.unimall.data.mapper;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dobbinsoft.fw.support.mapper.IMapper;
import com.dobbinsoft.fw.support.model.Page;
import com.iotechn.unimall.data.domain.GroupShopDO;
import com.iotechn.unimall.data.dto.product.GroupShopDTO;
import org.apache.ibatis.annotations.Param;
 
public interface GroupShopMapper extends IMapper<GroupShopDO> {
 
    public Page<GroupShopDTO> getGroupShopPage(IPage page);
 
    public GroupShopDTO detail(Long groupShopId);
 
    /**
     * 增加当前人数
     * @param id 团购活动Id
     * @param num 增加人数量
     * @return
     */
    public Integer incCurrentNum(@Param("id") Long id, @Param("num") Integer num);
 
}