⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gbs_ndaactionlogic.java

📁 对日软件外包 为东芝做的一个全球商业管理系统
💻 JAVA
字号:
package LOGIC;

/** 
 * method GBS_NDAActionLogic.java
 * created on 08-10-2004
 * @author XUSHENG
 * @version1.0
 */
import javax.sql.DataSource;

import COMMON.ReturnValue;
import COMMON.SystemConstants;
import DB.GBS_MSubsidiary_DB;
import DB.GBS_Nda_DB;
import DataBean.GBS_Nda_stBean;

public class GBS_NdaActionLogic implements SystemConstants {
	private DataSource datasource = null;

	/**
	 * trans datasource to db
	 * @param datasource
	 */
	public GBS_NdaActionLogic(DataSource datasource) {
		this.datasource = datasource;
	}

	/**
	 * get NDA Data from DB by customerId 
	 * @param String customerId
	 * @param int rfpNo
	 * @return ReturnValue
	 * @throws Exception
	 */
	public ReturnValue selectRFPNo(String customerId,int rfpNo) throws Exception {
		GBS_Nda_DB nda_DB = new GBS_Nda_DB(this.datasource);
		return nda_DB.selectByRFPNo(customerId,rfpNo);
	}

	/**
	 * update NDA Data from DB by customerId  
	 * @param  GBS_NDA_stBean nda_stBean
	 * @param  String customerId
	 * @param  int rfpNo
	 * @param  String oldUserId
	 * @return ReturnValue
	 * @throws Exception
	 */
	public ReturnValue updateRfp( GBS_Nda_stBean in_st ) throws Exception {
		GBS_Nda_DB nda_DB = new GBS_Nda_DB(this.datasource);
		return nda_DB.updateByCustomerId( in_st );
	}
	/**
	 * method getSubsidiaryName 
	 * @param strCustomerId
	 * @return ReturnValue
	 * @throws Exception
	 */	
	public ReturnValue getSubsidiaryName(String strSubsidiaryId) throws Exception {
		GBS_MSubsidiary_DB mSubsidiary_DB = new GBS_MSubsidiary_DB(this.datasource);			
		return mSubsidiary_DB.getSubsidiaryName(strSubsidiaryId);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -