43 lines
890 B
Java
43 lines
890 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.Merchant;
|
|
import com.gxwebsoft.shop.param.MerchantParam;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 商户Service
|
|
*
|
|
* @author 科技小王子
|
|
* @since 2024-04-05 00:03:54
|
|
*/
|
|
public interface MerchantService extends IService<Merchant> {
|
|
|
|
/**
|
|
* 分页关联查询
|
|
*
|
|
* @param param 查询参数
|
|
* @return PageResult<Merchant>
|
|
*/
|
|
PageResult<Merchant> pageRel(MerchantParam param);
|
|
|
|
/**
|
|
* 关联查询全部
|
|
*
|
|
* @param param 查询参数
|
|
* @return List<Merchant>
|
|
*/
|
|
List<Merchant> listRel(MerchantParam param);
|
|
|
|
/**
|
|
* 根据id查询
|
|
*
|
|
* @param merchantId ID
|
|
* @return Merchant
|
|
*/
|
|
Merchant getByIdRel(Integer merchantId);
|
|
|
|
}
|