2024-03-11 14:39:29 +08:00
|
|
|
package com.qihang.oms.service;
|
|
|
|
|
|
|
|
|
|
import com.qihang.oms.domain.OGoods;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
2024-03-17 17:52:17 +08:00
|
|
|
import com.qihang.oms.vo.GoodsSpecListVo;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
2024-03-11 14:39:29 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author TW
|
|
|
|
|
* @description 针对表【o_goods(商品库存管理)】的数据库操作Service
|
|
|
|
|
* @createDate 2024-03-11 14:24:49
|
|
|
|
|
*/
|
|
|
|
|
public interface OGoodsService extends IService<OGoods> {
|
2024-03-17 17:52:17 +08:00
|
|
|
List<GoodsSpecListVo> searchGoodsSpec(String keyword);
|
|
|
|
|
List<OGoods> selectGoodsList(OGoods goods);
|
|
|
|
|
OGoods selectGoodsById(Long id);
|
|
|
|
|
/**
|
|
|
|
|
* 新增商品管理
|
|
|
|
|
*
|
|
|
|
|
* @param goods 商品管理
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
public int insertGoods(OGoods goods);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改商品管理
|
|
|
|
|
*
|
|
|
|
|
* @param goods 商品管理
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
public int updateGoods(OGoods goods);
|
2024-03-11 14:39:29 +08:00
|
|
|
|
2024-03-17 17:52:17 +08:00
|
|
|
/**
|
|
|
|
|
* 批量删除商品管理
|
|
|
|
|
*
|
|
|
|
|
* @param ids 需要删除的商品管理主键集合
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
public int deleteGoodsByIds(Long[] ids);
|
2024-03-11 14:39:29 +08:00
|
|
|
}
|