/******************************************************************************* * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential * 类的信息: * 1.程序名称:TATModuleProxy.cs * 2.功能描述:策略管理模块代理类。 * 编辑履历: * 作者 日期 版本 修改内容 * 庄天威 2014/11/18 1.00 新建 *******************************************************************************/ using System; using System.Collections.Generic; using System.Data; using Dongke.IBOSS.PRD.WCF.Proxys.TATModuleService; using Dongke.IBOSS.PRD.WCF.Proxys.ServiceProxy; using Dongke.IBOSS.PRD.WCF.DataModels; namespace Dongke.IBOSS.PRD.WCF.Proxys { public class TATModuleProxy : ServiceProxyBase { #region 构造函数 private TATModuleProxy() : base("TATModuleService") { } private static TATModuleProxy _service = null; public static TATModuleProxy Service { get { if (_service == null) { return new TATModuleProxy(); } return _service; } } #endregion #region 缺陷扣罚 /// /// 新建缺陷扣罚策略 /// /// 新建实体 /// /// 受影响行数 /// public ServiceResultEntity AddDefectFine(DefectFineEntity dfEntity) { return this.Invoker.Invoke(p => p.AddDefectFine(dfEntity)); } /// /// 修改缺陷扣罚策略 /// /// 修改实体 /// /// 受影响行数 /// public ServiceResultEntity UpdateDefectFine(DefectFineEntity dfEntity) { return this.Invoker.Invoke(p => p.UpdateDefectFine(dfEntity)); } /// /// 审批缺陷扣罚策略 /// /// 审批策略实体 /// /// 返回受影响行数 /// -999为策略开始月小于系统结算月, /// -998为存在同类别同开始日期策略. /// public ServiceResultEntity AuditDefectFine(DefectFineEntity dfEntity) { return this.Invoker.Invoke(p => p.AuditDefectFine(dfEntity)); } /// /// 停用缺陷扣罚策略 /// /// 停用实体 /// 返回影响行 public ServiceResultEntity StopDefectFine(DefectFineEntity dfEntity) { return this.Invoker.Invoke(p => p.StopDefectFine(dfEntity)); } /// /// 查询缺陷扣罚信息 /// /// 查询条件实体 /// 查询结果集 public ServiceResultEntity GetDefectFine(DefectFineEntity dfEntity) { return this.Invoker.Invoke(p => p.GetDefectFine(dfEntity)); } /// /// 根据主信息ID获取明细信息 /// /// 主信息ID /// 数据集中两个Table,第一个是工种集合,第二个是全部信息 public ServiceResultEntity GetDefectFineDetailById(int DefectId) { return this.Invoker.Invoke(p => p.GetDefectFineDetailById(DefectId)); } /// /// 编辑缺陷扣罚的明细信息 /// /// 缺陷扣罚主信息ID /// 明细数据源 /// 用户信息 /// 结果 public ServiceResultEntity EditDefectFineDetail(int DefectFineID, DataSet dsSourse) { return this.Invoker.Invoke(p => p.EditDefectFineDetail(DefectFineID, dsSourse)); } #endregion #region 基本工资策略 /// /// 查询基本工资策略信息 /// /// 查询条件实体 /// 查询结果实体 /// /// 2014.12.11 任海 新建 /// public ServiceResultEntity GetBasicSalary(BasicSalaryEntity basicSalaryEntity) { return this.Invoker.Invoke(proxy => proxy.GetBasicSalary(basicSalaryEntity)); } /// /// 新建基本工资策略信息 /// /// 查询条件实体 /// 查询结果实体 /// /// 2014.12.11 任海 新建 /// public ServiceResultEntity AddBasicSalary(BasicSalaryEntity dfEntity) { return this.Invoker.Invoke(proxy => proxy.AddBasicSalary(dfEntity)); } /// /// 编辑基本工资策略信息 /// /// 查询条件实体 /// 查询结果实体 /// /// 2014.12.11 任海 新建 /// public ServiceResultEntity UpdateBasicSalary(BasicSalaryEntity dfEntity) { return this.Invoker.Invoke(proxy => proxy.UpdateBasicSalary(dfEntity)); } /// /// 审批基本工资策略 /// /// 审批策略实体 /// /// 返回受影响行数 /// /// /// 2014.12.13 任海 新建 /// public ServiceResultEntity AuditBasicSalary(BasicSalaryEntity dfEntity) { return this.Invoker.Invoke(proxy => proxy.AuditBasicSalary(dfEntity)); } /// /// 停用基本工资策略 /// /// 停用实体 /// 返回影响行 /// /// 2014.12.13 任海 新建 /// public ServiceResultEntity StopBasicSalary(BasicSalaryEntity dfEntity) { return this.Invoker.Invoke(proxy => proxy.StopBasicSalary(dfEntity)); } /// /// 查询基本工资策略明细 /// /// 主信息ID /// /// 2014.12.12 任海 新建 /// public ServiceResultEntity GetBasicSalaryDetailById(int BasicSalaryID) { return this.Invoker.Invoke(proxy => proxy.GetBasicSalaryDetailById(BasicSalaryID)); } /// /// 编辑保存基本工资对应工种明细 /// /// 工价策略ID /// 对应工种数据源 /// 当前用户 /// 服务对象实体 /// /// 2014.12.11 任海 新建 /// public ServiceResultEntity EditBasicSalaryDetail(int BasicSalaryID, DataSet dsDetail) { return this.Invoker.Invoke(p => p.EditBasicSalaryDetail(BasicSalaryID, dsDetail)); } #endregion #region 出勤考核 /// /// 查询出勤考核信息 /// /// 查询条件实体 /// 查询结果实体 /// /// 2014.12.15 任海 新建 /// public ServiceResultEntity GetAttendance(AttendanceEntity attendanceEntity) { return this.Invoker.Invoke(proxy => proxy.GetAttendance(attendanceEntity)); } /// /// 查询出勤考核的明细对应工种 /// /// 主信息ID /// 服务实体对象,包含工种明细数据源 /// 当前用户信息 /// /// 2014.12.16 任海 新建 /// public ServiceResultEntity GetAttendanceEntityById(int AttendanceID) { return this.Invoker.Invoke(proxy => proxy.GetAttendanceEntityById(AttendanceID)); } /// /// 新建出勤考核 /// /// 新建实体 /// 当前用户信息 /// 受影响行数 /// /// 2014.12.15 任海 新建 /// public ServiceResultEntity AddAttendance(AttendanceEntity dfEntity, DataSet dsDetail) { return this.Invoker.Invoke(proxy => proxy.AddAttendance(dfEntity, dsDetail)); } /// /// 修改出勤考核信息 /// /// 修改实体 /// 当前用户信息 /// 受影响行数 /// /// 2014.12.15 任海 新建 /// public ServiceResultEntity UpdateAttendance(AttendanceEntity dfEntity, DataSet dsDetail) { return this.Invoker.Invoke(proxy => proxy.UpdateAttendance(dfEntity, dsDetail)); } /// /// 停用出勤考核 /// /// 停用实体 /// 当前用户信息 /// 返回影响行 public ServiceResultEntity StopAttendance(AttendanceEntity dfEntity) { return this.Invoker.Invoke(proxy => proxy.StopAttendance(dfEntity)); } /// /// 审批出勤考核 /// /// 审批出勤考核实体 /// 当前用户 /// /// 返回受影响行数 /// -999为策略开始月小于系统结算月, /// -998为存在同类别同开始日期策略. /// public ServiceResultEntity AuditAttendance(AttendanceEntity dfEntity) { return this.Invoker.Invoke(proxy => proxy.AuditAttendance(dfEntity)); } /// /// 查询出勤考核明细的信息 /// /// 查询条件实体 /// 当前用户信息 /// 查询结果实体 /// /// 2014.12.18 任海 新建 public ServiceResultEntity GetAttendanceDetail(AttendanceDetailEntity attendanceDetailEntity) { return this.Invoker.Invoke(proxy => proxy.GetAttendanceDetail(attendanceDetailEntity)); } /// /// 查询出勤考核的明细对应扣款 /// /// 主信息ID /// 服务实体对象,包含工种明细数据源 /// 当前用户信息 /// /// 2014.12.18 任海 新建 /// public ServiceResultEntity GetAttFinesRulesById(int AttendanceID, int JobsID) { return this.Invoker.Invoke(proxy => proxy.GetAttFinesRulesById(AttendanceID, JobsID)); } /// /// 编辑出勤考核明细 /// /// 工价实体 /// 工价对应工种关系数据源 /// 当前用户 /// 服务对象实体 public ServiceResultEntity EditAttendanceDetail(AttendanceDetailEntity attendanceDetailEntity, DataSet dsDetail) { return this.Invoker.Invoke(proxy => proxy.EditAttendanceDetail(attendanceDetailEntity, dsDetail)); } #endregion #region 工价策略 /// /// 查询工价策略信息 /// /// 查询条件实体 /// 查询结果实体 public ServiceResultEntity GetWages(WagesEntity wagesEntity) { return this.Invoker.Invoke(p => p.GetWages(wagesEntity)); } /// /// 根据工价策略主信息ID获取对应工种明细信息 /// /// 主信息ID /// 服务实体对象,包含工种明细数据源 public ServiceResultEntity GetWagesDetailById(int WagesId) { return this.Invoker.Invoke(p => p.GetWagesDetailById(WagesId)); } /// /// 根据工价策略主信息ID以及对应的工种ID获取对应的产品设定数据源 /// /// 工价策略主ID /// 对应工种ID /// 包含对应产品数据源的服务返回实体 public ServiceResultEntity GetWagesGoodsDetail(int WagesId, int JobsId) { return this.Invoker.Invoke(p => p.GetWagesGoodsDetail(WagesId,JobsId)); } /// /// 新建工价策略 /// /// 新建实体 /// 对应工种明细 /// 服务返回实体 public ServiceResultEntity AddWages(WagesEntity wagesEntity, DataSet dsDetail) { return this.Invoker.Invoke(p => p.AddWages(wagesEntity, dsDetail)); } /// /// 编辑工价策略 /// /// 工价实体 /// 工价对应工种关系数据源 /// 服务对象实体 public ServiceResultEntity EditWages(WagesEntity wagesEntity, DataSet dsDetail) { return this.Invoker.Invoke(p => p.EditWages(wagesEntity, dsDetail)); } /// /// 审批工价策略 /// /// 工价策略实体 /// /// 返回受影响行数 /// -999为策略开始月小于系统结算月, /// -998为存在同类别同开始日期策略. /// public ServiceResultEntity AuditWages(WagesEntity wagesEntity) { return this.Invoker.Invoke(p => p.AuditWages(wagesEntity)); } /// /// 停用工价策略 /// /// 停用实体 /// 返回影响行 public ServiceResultEntity StopWages(WagesEntity wagesEntity) { return this.Invoker.Invoke(p => p.StopWages(wagesEntity)); } /// /// 编辑工价对应工种明细 /// /// 工价策略ID /// 对应工种数据源 /// 事务链接 /// 服务对象实体 public ServiceResultEntity EditWagesDetail(int WagesID, DataSet dsDetail) { return this.Invoker.Invoke(p => p.EditWagesDetail(WagesID, dsDetail)); } /// /// 编辑工价对应的产品明细 /// /// 工价策略ID /// 对应工种ID /// 数据源 /// 服务返回实体 public ServiceResultEntity EditWagesGoodsDetail(int WagesID, int JobsID, DataSet dsDetail) { return this.Invoker.Invoke(p => p.EditWagesGoodsDetail(WagesID, JobsID, dsDetail)); } #endregion #region 质量考核 /// /// 新建质量考核策略 /// /// 新建实体 /// /// 受影响行数 /// public ServiceResultEntity AddQuality(QualityEntity dfEntity) { return this.Invoker.Invoke(p => p.AddQuality(dfEntity)); } /// /// 修改质量考核策略 /// /// 修改实体 /// /// 受影响行数 /// public ServiceResultEntity UpdateQuality(QualityEntity dfEntity) { return this.Invoker.Invoke(p => p.UpdateQuality(dfEntity)); } /// /// 审批质量考核策略 /// /// 审批策略实体 /// /// 返回受影响行数 /// -999为策略开始月小于系统结算月, /// -998为存在同类别同开始日期策略. /// public ServiceResultEntity AuditQuality(QualityEntity dfEntity) { return this.Invoker.Invoke(p => p.AuditQuality(dfEntity)); } /// /// 停用质量考核策略 /// /// 停用实体 /// 返回影响行 public ServiceResultEntity StopQuality(QualityEntity dfEntity) { return this.Invoker.Invoke(p => p.StopQuality(dfEntity)); } /// /// 查询质量考核信息 /// /// 查询条件实体 /// 查询结果集 public ServiceResultEntity GetQuality(QualityEntity quality) { return this.Invoker.Invoke(p => p.GetQuality(quality)); } /// /// 根据主信息ID获取明细信息 /// /// 主信息ID /// 数据集中两个Table,第一个是工种集合,第二个是全部信息 public ServiceResultEntity GetQualityDetailById(int qualityID) { return this.Invoker.Invoke(p => p.GetQualityDetailById(qualityID)); } /// /// 编辑质量考核的明细信息 /// /// 缺陷扣罚主信息ID /// 明细数据源 /// 用户信息 /// 结果 public ServiceResultEntity EditQualityDetail(int qualityID, DataSet dsSourse) { return this.Invoker.Invoke(p => p.EditQualityDetail(qualityID, dsSourse)); } #endregion #region 进度考核 /// /// 新建进度考核策略 /// /// 新建实体 /// /// 受影响行数 /// public ServiceResultEntity AddProgress(ProgressEntity dfEntity) { return this.Invoker.Invoke(p => p.AddProgress(dfEntity)); } /// /// 修改进度考核策略 /// /// 修改实体 /// /// 受影响行数 /// public ServiceResultEntity UpdateProgress(ProgressEntity dfEntity) { return this.Invoker.Invoke(p => p.UpdateProgress(dfEntity)); } /// /// 审批进度考核策略 /// /// 审批策略实体 /// /// 返回受影响行数 /// -999为策略开始月小于系统结算月, /// -998为存在同类别同开始日期策略. /// public ServiceResultEntity AuditProgress(ProgressEntity dfEntity) { return this.Invoker.Invoke(p => p.AuditProgress(dfEntity)); } /// /// 停用进度考核策略 /// /// 停用实体 /// 返回影响行 public ServiceResultEntity StopProgress(ProgressEntity dfEntity) { return this.Invoker.Invoke(p => p.StopProgress(dfEntity)); } /// /// 查询进度考核信息 /// /// 查询条件实体 /// 查询结果集 public ServiceResultEntity GetProgress(ProgressEntity progres) { return this.Invoker.Invoke(p => p.GetProgress(progres)); } /// /// 根据主信息ID获取明细信息 /// /// 主信息ID /// 数据集中两个Table,第一个是工种集合,第二个是全部信息 public ServiceResultEntity GetProgressDetailById(int progresID) { return this.Invoker.Invoke(p => p.GetProgressDetailById(progresID)); } /// /// 编辑进度考核的明细信息 /// /// 缺陷扣罚主信息ID /// 明细数据源 /// 用户信息 /// 结果 public ServiceResultEntity EditProgressDetail(int progresID, DataSet dsSourse) { return this.Invoker.Invoke(p => p.EditProgressDetail(progresID, dsSourse)); } #endregion #region 行政考核 /// /// 新建行政考核策略 /// /// 新建实体 /// /// 受影响行数 /// public ServiceResultEntity AddAdministration(AdministrationEntity dfEntity) { return this.Invoker.Invoke(p => p.AddAdministration(dfEntity)); } /// /// 修改行政考核策略 /// /// 修改实体 /// /// 受影响行数 /// public ServiceResultEntity UpdateAdministration(AdministrationEntity dfEntity) { return this.Invoker.Invoke(p => p.UpdateAdministration(dfEntity)); } /// /// 审批行政考核策略 /// /// 审批策略实体 /// /// 返回受影响行数 /// -999为策略开始月小于系统结算月, /// -998为存在同类别同开始日期策略. /// public ServiceResultEntity AuditAdministration(AdministrationEntity dfEntity) { return this.Invoker.Invoke(p => p.AuditAdministration(dfEntity)); } /// /// 停用行政考核策略 /// /// 停用实体 /// 返回影响行 public ServiceResultEntity StopAdministration(AdministrationEntity dfEntity) { return this.Invoker.Invoke(p => p.StopAdministration(dfEntity)); } /// /// 查询行政考核信息 /// /// 查询条件实体 /// 查询结果集 public ServiceResultEntity GetAdministration(AdministrationEntity quality) { return this.Invoker.Invoke(p => p.GetAdministration(quality)); } /// /// 根据主信息ID获取明细信息 /// /// 主信息ID /// 数据集中两个Table,第一个是工种集合,第二个是全部信息 public ServiceResultEntity GetAdminDetailEntityById(int administrationID) { return this.Invoker.Invoke(p => p.GetAdminDetailEntityById(administrationID)); } /// /// 编辑行政考核的明细信息 /// /// 缺陷扣罚主信息ID /// 明细数据源 /// 用户信息 /// 结果 public ServiceResultEntity EditAdminDetail(int administrationID, DataSet dsSourse) { return this.Invoker.Invoke(p => p.EditAdminDetail(administrationID, dsSourse)); } #endregion #region 管理岗位工资策略 /// /// 查询管理岗位工资策略信息 /// /// 查询条件实体 /// 查询结果实体 public ServiceResultEntity GetManagerSalary(ManagerSalaryEntity msEntity) { return this.Invoker.Invoke(p => p.GetManagerSalary(msEntity)); } /// /// 根据管理岗位工资策略主信息ID获取对应管理者信息 /// /// 主信息ID /// 服务实体对象,包含工种明细数据源 public ServiceResultEntity GetManagersById(int ManagerSalaryID) { return this.Invoker.Invoke(p => p.GetManagersById(ManagerSalaryID)); } /// /// 根据管理者信息ID获取对应的组内成员数据源 /// /// 工价策略主ID /// 包含对应产品数据源的服务返回实体 public ServiceResultEntity GetMembers(int ManagersID) { return this.Invoker.Invoke(p => p.GetMembers(ManagersID)); } /// /// 新建管理岗位工资策略 /// /// 新建实体 /// 对应管理者明细 /// 服务返回实体 public ServiceResultEntity AddManagerSalary(ManagerSalaryEntity msEntity, DataSet dsDetail) { return this.Invoker.Invoke(p => p.AddManagerSalary(msEntity, dsDetail)); } /// /// 编辑管理岗位工资策略 /// /// 策略实体 /// 明细数据源 /// 服务对象实体 public ServiceResultEntity EditManagerSalary(ManagerSalaryEntity msEntity, DataSet dsDetail) { return this.Invoker.Invoke(p => p.EditManagerSalary(msEntity, dsDetail)); } /// /// 审批管理岗位工资策略 /// /// 策略实体 /// /// 返回受影响行数 /// -999为策略开始月小于系统结算月, /// -998为存在同类别同开始日期策略. /// public ServiceResultEntity AuditManagerSalary(ManagerSalaryEntity msEntity) { return this.Invoker.Invoke(p => p.AuditManagerSalary(msEntity)); } /// /// 停用管理岗位工资策略 /// /// 停用实体 /// 返回影响行 public ServiceResultEntity StopManagerSalary(ManagerSalaryEntity msEntity) { return this.Invoker.Invoke(p => p.StopManagerSalary(msEntity)); } /// /// 编辑管理组内成员明细 /// /// 管理岗位人员ID /// 数据源 /// 服务返回实体 public ServiceResultEntity EditMembers(int ManagerSalaryID, int ManagersID, DataSet dsDetail) { return this.Invoker.Invoke(p => p.EditMembers(ManagerSalaryID, ManagersID, dsDetail)); } #endregion /// /// 获取全部使用中的策略明细数据集 /// /// 结算时间起 /// 当前用户 /// 各策略明细集 public DataSet GetAllUseStrategy(DateTime SalaryTimeS) { return this.Invoker.Invoke(proxy => proxy.GetAllUseStrategy(SalaryTimeS)); } } }