parent
f23909ff24
commit
ac7f47f714
@ -1,23 +0,0 @@
|
||||
package com.tyj.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.tyj.domain.Product;
|
||||
|
||||
public interface ProductDaotyj {
|
||||
|
||||
//查询所有商品数据
|
||||
List<Product> findAll();
|
||||
//根据主键查询
|
||||
Product findById(String id);
|
||||
//按照类别进行查询
|
||||
List<Product> findByCategory(String category);
|
||||
|
||||
//创建商品信息
|
||||
int create(Product product);
|
||||
//修改商品
|
||||
int modify(Product product);
|
||||
//删除商品信息
|
||||
int remove(Product product);
|
||||
List<Product> findCategory(String category);
|
||||
}
|
Loading…
Reference in new issue