88 lines
2.1 KiB
Java
88 lines
2.1 KiB
Java
package com.ruoyi.system.service;
|
|
|
|
import java.util.List;
|
|
import com.ruoyi.system.domain.GoodsOrder;
|
|
|
|
/**
|
|
* 商品订单Service接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2025-05-13
|
|
*/
|
|
public interface IGoodsOrderService
|
|
{
|
|
/**
|
|
* 查询商品订单
|
|
*
|
|
* @param id 商品订单主键
|
|
* @return 商品订单
|
|
*/
|
|
public GoodsOrder selectGoodsOrderById(Long id);
|
|
|
|
/**
|
|
* 查询商品订单列表
|
|
*
|
|
* @param goodsOrder 商品订单
|
|
* @return 商品订单集合
|
|
*/
|
|
public List<GoodsOrder> selectGoodsOrderList(GoodsOrder goodsOrder);
|
|
public GoodsOrder selectGoodsOrderByMainOrderId(String orderId);
|
|
|
|
public List<GoodsOrder> selectGoodsOrdergrouBymAIDList(GoodsOrder goodsOrder);
|
|
|
|
public GoodsOrder selectGoodsOrderByorderId(String orderId);
|
|
|
|
public int selectCountGoodsOrderByUid(Long uid,Long status);
|
|
|
|
public int selectAllCountGoodsOrderByUid(Long uid);
|
|
|
|
/**
|
|
* 统计指定用户和状态的商品订单数量
|
|
* @param uid 用户id
|
|
* @param status 订单状态
|
|
* @return 订单数量
|
|
*/
|
|
Integer countGoodsOrderByUidAndStatus(Long uid, Integer status);
|
|
|
|
|
|
/**
|
|
* 新增商品订单
|
|
*
|
|
* @param goodsOrder 商品订单
|
|
* @return 结果
|
|
*/
|
|
public int insertGoodsOrder(GoodsOrder goodsOrder);
|
|
|
|
/**
|
|
* 修改商品订单
|
|
*
|
|
* @param goodsOrder 商品订单
|
|
* @return 结果
|
|
*/
|
|
public int updateGoodsOrder(GoodsOrder goodsOrder);
|
|
|
|
/**
|
|
* 批量删除商品订单
|
|
*
|
|
* @param ids 需要删除的商品订单主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteGoodsOrderByIds(Long[] ids);
|
|
|
|
/**
|
|
* 删除商品订单信息
|
|
*
|
|
* @param id 商品订单主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteGoodsOrderById(Long id);
|
|
|
|
/**
|
|
* 查询商品订单列表(导出专用,按主订单分组,包含所有关联信息)
|
|
*
|
|
* @param goodsOrder 商品订单
|
|
* @return 商品订单集合
|
|
*/
|
|
public List<GoodsOrder> selectGoodsOrderListForExport(GoodsOrder goodsOrder);
|
|
}
|