43 lines
840 B
Java
43 lines
840 B
Java
package com.gxwebsoft.shop.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.gxwebsoft.common.core.web.PageResult;
|
|
import com.gxwebsoft.shop.entity.Spec;
|
|
import com.gxwebsoft.shop.param.SpecParam;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 规格Service
|
|
*
|
|
* @author 科技小王子
|
|
* @since 2024-07-25 03:00:41
|
|
*/
|
|
public interface SpecService extends IService<Spec> {
|
|
|
|
/**
|
|
* 分页关联查询
|
|
*
|
|
* @param param 查询参数
|
|
* @return PageResult<Spec>
|
|
*/
|
|
PageResult<Spec> pageRel(SpecParam param);
|
|
|
|
/**
|
|
* 关联查询全部
|
|
*
|
|
* @param param 查询参数
|
|
* @return List<Spec>
|
|
*/
|
|
List<Spec> listRel(SpecParam param);
|
|
|
|
/**
|
|
* 根据id查询
|
|
*
|
|
* @param specId 规格ID
|
|
* @return Spec
|
|
*/
|
|
Spec getByIdRel(Integer specId);
|
|
|
|
}
|