/******************************************************************************* * Copyright(c) 2019 DongkeSoft All rights reserved. / Confidential * 类的信息: * 1.程序名称:PPModuleProxy.cs * 2.功能描述:生产计划代理 * 编辑履历: * 作者 日期 版本 修改内容 * 徐伟 2019/08/30 1.00 新建 *******************************************************************************/ using System; using System.Collections.Generic; using System.Data; using Dongke.IBOSS.PRD.WCF.Contracts; using Dongke.IBOSS.PRD.WCF.DataModels; using Dongke.IBOSS.PRD.WCF.DataModels.ConfigModule; using Dongke.IBOSS.PRD.WCF.Proxys.ServiceProxy; namespace Dongke.IBOSS.PRD.WCF.Proxys { public class PPModuleProxy : ServiceProxyBase { #region 构造 private PPModuleProxy(): base("PPModuleService") { } private static PPModuleProxy _service = null; public static PPModuleProxy Service { get { if (_service == null) { return new PPModuleProxy(); } return _service; } } #endregion #region 计划通用 public int Seq(string seqName) { return this.Invoker.Invoke(p => p.Seq(seqName)); } public ServiceResultEntity PlanTypeSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanTypeSearch(cre)); } public ServiceResultEntity PlanGoodsSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanGoodsSearch(cre)); } #endregion #region 年计划 public int PlanYearVer(int planTypeId) { return this.Invoker.Invoke(p => p.PlanYearVer(planTypeId)); } public int PlanYearCopy(int planId) { return this.Invoker.Invoke(p => p.PlanYearCopy(planId)); } public ServiceResultEntity PlanYearSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearSearch(cre)); } public ServiceResultEntity PlanYearVerSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearVerSearch(cre)); } public ServiceResultEntity PlanYearInsert(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearInsert(cre)); } public ServiceResultEntity PlanYearUpdate(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearUpdate(cre)); } public ServiceResultEntity PlanYearDelete(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearDelete(cre)); } public ServiceResultEntity PlanYearGoodsSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearGoodsSearch(cre)); } public ServiceResultEntity PlanYearGoodsInsert(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearGoodsInsert(cre)); } public ServiceResultEntity PlanYearGoodsUpdate(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearGoodsUpdate(cre)); } public ServiceResultEntity PlanYearGoodsDelete(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanYearGoodsDelete(cre)); } #endregion #region 月计划 public int PlanMonthVer(int planTypeId) { return this.Invoker.Invoke(p => p.PlanMonthVer(planTypeId)); } public int PlanMonthCopy(int planId) { return this.Invoker.Invoke(p => p.PlanMonthCopy(planId)); } public ServiceResultEntity PlanMonthSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthSearch(cre)); } public ServiceResultEntity PlanMonthVerSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthVerSearch(cre)); } public ServiceResultEntity PlanMonthInsert(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthInsert(cre)); } public ServiceResultEntity PlanMonthUpdate(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthUpdate(cre)); } public ServiceResultEntity PlanMonthDelete(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthDelete(cre)); } public ServiceResultEntity PlanMonthGoodsSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthGoodsSearch(cre)); } public ServiceResultEntity PlanMonthGoodsInsert(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthGoodsInsert(cre)); } public ServiceResultEntity PlanMonthGoodsUpdate(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthGoodsUpdate(cre)); } public ServiceResultEntity PlanMonthGoodsDelete(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanMonthGoodsDelete(cre)); } #endregion #region 日计划 public int PlanDayVer(int planTypeId) { return this.Invoker.Invoke(p => p.PlanDayVer(planTypeId)); } public int PlanDayCopy(int planId) { return this.Invoker.Invoke(p => p.PlanDayCopy(planId)); } public ServiceResultEntity PlanDaySearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDaySearch(cre)); } public ServiceResultEntity PlanDayVerSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayVerSearch(cre)); } public ServiceResultEntity PlanDayInsert(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayInsert(cre)); } public ServiceResultEntity PlanDayUpdate(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayUpdate(cre)); } public ServiceResultEntity PlanDayDelete(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayDelete(cre)); } public ServiceResultEntity PlanDayGoodsSearch(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayGoodsSearch(cre)); } public ServiceResultEntity PlanDayGoodsInsert(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayGoodsInsert(cre)); } public ServiceResultEntity PlanDayGoodsUpdate(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayGoodsUpdate(cre)); } public ServiceResultEntity PlanDayGoodsDelete(ClientRequestEntity cre = null) { return this.Invoker.Invoke(p => p.PlanDayGoodsDelete(cre)); } #endregion } }