package com.gkhy.hazmat.system.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.gkhy.hazmat.common.api.CommonPage;
|
import com.gkhy.hazmat.system.domain.HzProduct;
|
|
/**
|
* <p>
|
* 成品表 服务类
|
* </p>
|
*
|
* @author kzy
|
* @since 2024-08-06 16:03:53
|
*/
|
public interface HzProductService extends IService<HzProduct> {
|
|
/**
|
* 根据条件分页查询成品列表
|
* @param product
|
* @return
|
*/
|
CommonPage selectProductList(HzProduct product);
|
|
|
/**
|
* 根据id查询成品信息
|
*
|
* @param productId 成品ID
|
* @return
|
*/
|
public HzProduct selectProductById(Long productId);
|
|
|
/**
|
* 删除成品信息
|
*
|
* @param productId 成品ID
|
* @return 结果
|
*/
|
public int deleteProductById(Long productId);
|
|
/**
|
* 根据条码code查询成品信息
|
* @param code
|
* @return
|
*/
|
HzProduct selectProductByCode(String code);
|
|
/**
|
* 销售
|
* @param productId
|
*/
|
void productSold(Long productId);
|
|
/**
|
* 标签废弃
|
* @param productId
|
*/
|
void productDiscard(Long productId);
|
|
/**
|
* 修改状态
|
* @param product
|
*/
|
void changeState(HzProduct product);
|
|
/**
|
* 分页汇总仓库成品数据
|
* @param product
|
* @return
|
*/
|
CommonPage selectProductGroupWarehouse(HzProduct product);
|
}
|