| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- /*******************************************************************************
- * 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<IPPModule>
- {
- #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<int>(p => p.Seq(seqName));
- }
- public ServiceResultEntity PlanTypeSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanTypeSearch(cre));
- }
- public ServiceResultEntity PlanGoodsSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanGoodsSearch(cre));
- }
- #endregion
- #region 年计划
- public int PlanYearVer(int planTypeId)
- {
- return this.Invoker.Invoke<int>(p => p.PlanYearVer(planTypeId));
- }
- public int PlanYearCopy(int planId)
- {
- return this.Invoker.Invoke<int>(p => p.PlanYearCopy(planId));
- }
- public ServiceResultEntity PlanYearSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearSearch(cre));
- }
- public ServiceResultEntity PlanYearVerSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearVerSearch(cre));
- }
- public ServiceResultEntity PlanYearInsert(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearInsert(cre));
- }
- public ServiceResultEntity PlanYearUpdate(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearUpdate(cre));
- }
- public ServiceResultEntity PlanYearDelete(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearDelete(cre));
- }
- public ServiceResultEntity PlanYearGoodsSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearGoodsSearch(cre));
- }
- public ServiceResultEntity PlanYearGoodsInsert(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearGoodsInsert(cre));
- }
- public ServiceResultEntity PlanYearGoodsUpdate(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearGoodsUpdate(cre));
- }
- public ServiceResultEntity PlanYearGoodsDelete(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanYearGoodsDelete(cre));
- }
- #endregion
- #region 月计划
- public int PlanMonthVer(int planTypeId)
- {
- return this.Invoker.Invoke<int>(p => p.PlanMonthVer(planTypeId));
- }
- public int PlanMonthCopy(int planId)
- {
- return this.Invoker.Invoke<int>(p => p.PlanMonthCopy(planId));
- }
- public ServiceResultEntity PlanMonthSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthSearch(cre));
- }
- public ServiceResultEntity PlanMonthVerSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthVerSearch(cre));
- }
- public ServiceResultEntity PlanMonthInsert(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthInsert(cre));
- }
- public ServiceResultEntity PlanMonthUpdate(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthUpdate(cre));
- }
- public ServiceResultEntity PlanMonthDelete(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthDelete(cre));
- }
- public ServiceResultEntity PlanMonthGoodsSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthGoodsSearch(cre));
- }
- public ServiceResultEntity PlanMonthGoodsInsert(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthGoodsInsert(cre));
- }
- public ServiceResultEntity PlanMonthGoodsUpdate(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthGoodsUpdate(cre));
- }
- public ServiceResultEntity PlanMonthGoodsDelete(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanMonthGoodsDelete(cre));
- }
- #endregion
- #region 日计划
- public int PlanDayVer(int planTypeId)
- {
- return this.Invoker.Invoke<int>(p => p.PlanDayVer(planTypeId));
- }
- public int PlanDayCopy(int planId)
- {
- return this.Invoker.Invoke<int>(p => p.PlanDayCopy(planId));
- }
- public ServiceResultEntity PlanDaySearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDaySearch(cre));
- }
- public ServiceResultEntity PlanDayVerSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayVerSearch(cre));
- }
- public ServiceResultEntity PlanDayInsert(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayInsert(cre));
- }
- public ServiceResultEntity PlanDayUpdate(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayUpdate(cre));
- }
- public ServiceResultEntity PlanDayDelete(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayDelete(cre));
- }
- public ServiceResultEntity PlanDayGoodsSearch(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayGoodsSearch(cre));
- }
- public ServiceResultEntity PlanDayGoodsInsert(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayGoodsInsert(cre));
- }
- public ServiceResultEntity PlanDayGoodsUpdate(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayGoodsUpdate(cre));
- }
- public ServiceResultEntity PlanDayGoodsDelete(ClientRequestEntity cre = null)
- {
- return this.Invoker.Invoke<ServiceResultEntity>(p => p.PlanDayGoodsDelete(cre));
- }
- #endregion
- }
- }
|