?? businessdelegate.java
字號:
package com.accp.gz.th.zm.server.action;
import java.util.ArrayList;
import com.accp.gz.th.zm.server.entity.Goods;
import com.accp.gz.th.zm.server.dao.*;
import com.accp.gz.th.zm.client.javabean.PageBean;
public class BusinessDelegate {
/**
* 查找所有商品記錄
*/
public static ArrayList select() {
return new GoodsDAO().select();
}
/**
* 根據(jù)分頁查找記錄
*/
public static ArrayList select(PageBean bean) {
return new GoodsDAO().select(bean);
}
/**
* 查找所有類型記錄
*/
public static ArrayList selectType() {
return new GoodsTypeDAO().select();
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -