?? iproducts.java
字號:
package com.gc.impl;
import java.util.*;
import com.gc.action.PagesBean;
import com.gc.action.Products;
public interface IProducts {
//查詢所有的商品信息
List<Products> selectAllProducts();
//按種類編號查詢商品信息
List<Products> selectProductsByPID(int pid);
//按商品名稱查詢商品信息
List<Products> selectProductsByPName(String pname);
//按類別查詢商品信息
List<Products> selectProductsBySCID(int scid);
//實現(xiàn)翻頁功能的方法
List<Products> GetProductsData(PagesBean pages);
//修改商品信息
boolean modifyProducts(Products pro);
//根據(jù)編號修改商品狀態(tài)
boolean modifyProductsByPID(int pid,String status);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -