43 lines
885 B
Java
43 lines
885 B
Java
package com.gxwebsoft.oa.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.gxwebsoft.common.core.web.PageResult;
|
|
import com.gxwebsoft.oa.entity.Product;
|
|
import com.gxwebsoft.oa.param.ProductParam;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 产品记录表Service
|
|
*
|
|
* @author 科技小王子
|
|
* @since 2023-12-14 14:18:01
|
|
*/
|
|
public interface ProductService extends IService<Product> {
|
|
|
|
/**
|
|
* 分页关联查询
|
|
*
|
|
* @param param 查询参数
|
|
* @return PageResult<Product>
|
|
*/
|
|
PageResult<Product> pageRel(ProductParam param);
|
|
|
|
/**
|
|
* 关联查询全部
|
|
*
|
|
* @param param 查询参数
|
|
* @return List<Product>
|
|
*/
|
|
List<Product> listRel(ProductParam param);
|
|
|
|
/**
|
|
* 根据id查询
|
|
*
|
|
* @param productId 产品ID
|
|
* @return Product
|
|
*/
|
|
Product getByIdRel(Integer productId);
|
|
|
|
}
|