首页>代码>完整的微信小程序商城,包含java web后端管理系统代码,前端代码,小程序代码>/wx-mall/wx-mall-commons/src/main/java/com/yun/smart/base/BaseService.java
package com.yun.smart.base;

import java.util.List;

import com.baomidou.mybatisplus.service.IService;

/**
 * 基础接口
 * @author qihh
 *
 * @param <T>
 */
public interface BaseService<T extends BaseModel> extends IService<T> {

	/**
	 * 查询列表
	 * @param model
	 * @return List<T>
	 */
	List<T> getList(T model);

	/**
	 * 查询详情
	 * @param model
	 * @return T
	 */
	T getDetail(T model);

	/**
	 * 添加数据
	 * @param model
	 */
	void addModel(T model, Long userId);
	
	/**
	 * 修改数据
	 * @param model
	 */
	void updateModel(T model, Long userId);
	
	/**
	 * 删除明细
	 * @param model
	 */
	void deleteModel(T model, Long userId);
}
最近下载更多
huaiyuejiu  LV9 7月22日
Adguard  LV2 6月27日
zeyang_wang  LV8 5月27日
sunlea  LV20 5月12日
nyb4613  LV8 4月4日
mariolc  LV6 4月1日
James24  LV2 3月23日
半夏bx  LV14 2023年10月21日
lc19960718  LV1 2023年10月3日
3263394665  LV9 2023年9月10日
最近浏览更多
huaiyuejiu  LV9 7月22日
wangyz  LV8 7月15日
曾显示  LV6 7月7日
binzhuyou  LV2 7月4日
nurxshat_outl 7月3日
暂无贡献等级
wertjn 6月30日
暂无贡献等级
Adguard  LV2 6月27日
hongdongdong  LV14 6月25日
Xppasdf  LV2 6月16日
xuweisong2010  LV28 6月11日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友