?? gbs_priceconditionactionlogic.java
字號:
package LOGIC;
import javax.sql.DataSource;
import COMMON.ReturnValue;
import COMMON.SystemConstants;
import DB.GBS_MCountry_DB;
import DB.GBS_MWideUse_DB;
/**
* public class GBS_PriceConditionActionLogic implements SystemConstants
* created on 07-30-2004
* @author wxf
* @version 1.0
*/
public class GBS_PriceConditionActionLogic implements SystemConstants {
private DataSource datasource = null;
/**
* Create Class GBS_PriceConditionActionLogic
* @param datasource
*/
public GBS_PriceConditionActionLogic(DataSource datasource) {
this.datasource = datasource;
}
/**
* @return all country inforamtion list
* @throws Exception
*/
public ReturnValue getCountryInfo() throws Exception {
GBS_MCountry_DB countryDB = new GBS_MCountry_DB(datasource);
return countryDB.seletAllCountry();
}
/**
* @return all productcategory information list
* @throws Exception
*/
public ReturnValue getProductCAtegoryInfo() throws Exception {
GBS_MWideUse_DB mWideUseDB = new GBS_MWideUse_DB(datasource);
return mWideUseDB.selectByTargetUse("PRODUCT_CATEGORY");
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -