javacodeadmin/ruoyi-system/src/main/java/com/ruoyi/system/service/IUserGroupBuyingService.java

71 lines
1.7 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.ruoyi.system.service;
import java.util.List;
import java.util.Map;
import com.ruoyi.system.domain.UserGroupBuying;
/**
* 拼团专区管理Service接口
*
* @author ruoyi
* @date 2025-07-02
*/
public interface IUserGroupBuyingService
{
/**
* 查询拼团专区管理
*
* @param id 拼团专区管理主键
* @return 拼团专区管理
*/
public UserGroupBuying selectUserGroupBuyingById(Long id);
/**
* 查询拼团专区管理列表
*
* @param userGroupBuying 拼团专区管理
* @return 拼团专区管理集合
*/
public List<UserGroupBuying> selectUserGroupBuyingList(UserGroupBuying userGroupBuying);
/**
* 新增拼团专区管理
*
* @param userGroupBuying 拼团专区管理
* @return 结果
*/
public int insertUserGroupBuying(UserGroupBuying userGroupBuying);
/**
* 修改拼团专区管理
*
* @param userGroupBuying 拼团专区管理
* @return 结果
*/
public int updateUserGroupBuying(UserGroupBuying userGroupBuying);
/**
* 批量删除拼团专区管理
*
* @param ids 需要删除的拼团专区管理主键集合
* @return 结果
*/
public int deleteUserGroupBuyingByIds(Long[] ids);
/**
* 删除拼团专区管理信息
*
* @param id 拼团专区管理主键
* @return 结果
*/
public int deleteUserGroupBuyingById(Long id);
/**
* 分组查询返回name和image为字符串数组按product_id和orderid分组
* @param productId 产品ID可为null
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> selectGroupBuyingGroupByProductAndOrder(Integer productId);
}