using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using CY.IDAL.Inquiry;
|
using AbstractFactory;
|
using CY.Model;
|
|
namespace CY.BLL.Inquiry
|
{
|
public class ReduceWorkCountSetBLL
|
{
|
private IReduceWorkCountSetDAL _iReduceWorkCountSetDAL = null;
|
|
public ReduceWorkCountSetBLL()
|
{
|
_iReduceWorkCountSetDAL = Factory.GetDALByInterfaceName(DALInterface.IReduceWorkCountSetDAL) as IReduceWorkCountSetDAL;
|
}
|
|
/// <summary>
|
/// 获取厂商优惠印刷次数设置
|
/// </summary>
|
/// <param name="firmId"></param>
|
/// <param name="customerId"></param>
|
/// <returns></returns>
|
public Inquiry_ReduceWorkCountSet GetModel(Guid firmId, Guid customerId)
|
{
|
return _iReduceWorkCountSetDAL.GetModel(firmId, customerId);
|
}
|
|
/// <summary>
|
/// 保存厂商优惠印刷次数设置
|
/// </summary>
|
/// <param name="list"></param>
|
/// <param name="firmId"></param>
|
/// <param name="customerId"></param>
|
/// <returns></returns>
|
public bool SaveModel(Inquiry_ReduceWorkCountSet model)
|
{
|
return _iReduceWorkCountSetDAL.SaveModel(model);
|
}
|
}
|
}
|