igoodsservice.java
来自「一个关于物流的管理系统」· Java 代码 · 共 26 行
JAVA
26 行
package com.shunshi.ssh.service;
import java.util.List;
import org.extremecomponents.table.limit.Limit;
import com.shunshi.ssh.entity.AllInfo;
import com.shunshi.ssh.entity.Goods;
import com.shunshi.ssh.entity.Page;
import com.shunshi.ssh.exception.GoodsServiceException;
public interface IGoodsService {
public void addGoods(Goods goods) throws GoodsServiceException; //�����»�Դ��Ϣ
public void deleteGoods(Long[] ls) throws GoodsServiceException; //���idɾ���Դ��Ϣ
public void updateState(long id,int state) throws GoodsServiceException;//���»�Դ��Ϣ״̬
public Goods findGoodsById(long id) throws GoodsServiceException; //���id���в�ѯ
public List findGoodsByUserId(long userId) throws GoodsServiceException; //��ѯijһuser�����л�Դ��Ϣ
public List findAllGoods() throws GoodsServiceException; //��ѯ���л�Դ��Ϣ
public Page findByState(int state,Limit size,int totalRows) throws GoodsServiceException;//���״̬��ѯ
public void updateGoods(Goods goods)throws GoodsServiceException;
public AllInfo getAllInfo()throws GoodsServiceException;
public void saveAllInfo(AllInfo allInfo)throws GoodsServiceException;
public void deleteAll(Long id,String type)throws GoodsServiceException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?