package core.stlmes.server.sale.dao.fund;

public class BaseDao extends core.stlmes.server.sale.dao.BaseService
{
	protected String getSqlCondition(String balancesubject, String buyerCode)
	{
		String sqlConditioin = super.GetSqlConditionByStringValue(
				"balancesubject", balancesubject);
		sqlConditioin += super.GetSqlConditionByStringValue("buyercode",
				buyerCode);
		return sqlConditioin;
	}

	protected String getSqlCondition(String balancesubject, String buyerCode,
			String secAccount)
	{
		String sqlConditioin = super.GetSqlConditionByStringValue(
				"balancesubject", balancesubject);
		sqlConditioin += super.GetSqlConditionByStringValue("secondaccount",
				secAccount);
		sqlConditioin += super.GetSqlConditionByStringValue("buyercode",
				buyerCode);
		return sqlConditioin;
	}

	protected String getSqlCondition(String balancesubject, String buyerCode,
			String secAccount, String pactno)
	{
		String sqlConditioin = super.GetSqlConditionByStringValue(
				"balancesubject", balancesubject);
		sqlConditioin += super.GetSqlConditionByStringValue("secondaccount",
				secAccount);
		sqlConditioin += super.GetSqlConditionByStringValue("buyercode",
				buyerCode);
		sqlConditioin += super
				.GetSqlConditionByStringValue("pactno", buyerCode);
		return sqlConditioin;
	}

}
