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 selectGoodsOrderList(GoodsOrder goodsOrder); public int selectCountGoodsOrderByUid(Long uid,Long status); public int selectAllCountGoodsOrderByUid(Long uid); /** * 新增商品订单 * * @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); }