|
@@ -0,0 +1,14 @@
|
|
|
+package cn.dao;
|
|
|
+
|
|
|
+import cn.domain.Product;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public interface ProductDao {
|
|
|
+ public List<Product> findProduct()throws Exception;
|
|
|
+ public Product findProductById(String mid)throws Exception;
|
|
|
+ public List<Product> findProductByScompany(String scompany)throws Exception;
|
|
|
+ public void addProduct(Product product)throws Exception;
|
|
|
+ public void deleteProduct(String mid)throws Exception;
|
|
|
+ public void updateProduct(Product product)throws Exception;
|
|
|
+}
|