/*******************************************************************************
* Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential
* 类的信息:
* 1.程序名称:ReportModuleService.cs
* 2.功能描述:报表模块WCF服务
* 编辑履历:
* 作者 日期 版本 修改内容
* 付斌 2018/08/09 1.00 修改
*******************************************************************************/
using System;
using System.Data;
using System.ServiceModel;
using System.ServiceModel.Activation;
using Dongke.IBOSS.PRD.Basics.Library;
using Dongke.IBOSS.PRD.Service.ReportModuleLogic;
using Dongke.IBOSS.PRD.WCF.Contracts;
using Dongke.IBOSS.PRD.WCF.DataModels;
using Dongke.IBOSS.PRD.WCF.DataModels.PMModule;
using Dongke.IBOSS.PRD.WCF.DataModels.ReportModule;
namespace Dongke.IBOSS.PRD.WCF.Services
{
///
/// 报表体系模块服务
///
/// 服务实现类,继承服务声明接口
/// 该标签声明该服务可以在ASP.NET下运行
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(ConfigurationName = "ReportModuleService",
InstanceContextMode = InstanceContextMode.PerCall,
ConcurrencyMode = ConcurrencyMode.Multiple,
UseSynchronizationContext = false)]
public class ReportModuleService : ServicesBase, IReportModule
{
#region 构造函数
///
/// 构造函数
///
public ReportModuleService()
: base()
{
}
#endregion
#region 综合报表
#region 跟踪统计表
#region 生产管理
///
/// 产品跟踪明细查询
///
/// 产品跟踪统计实体类
/// DataSet
public DataSet GetSearchGoodsFollowingDetailModule(SearchGoodsFollowingEntity searchGoodsFollowingEntity)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetSearchGoodsFollowingDetailModule(searchGoodsFollowingEntity, SUserInfo));
}
#endregion
#endregion
#endregion
#region 采用统一ServiceResultEntity类模式
#region 跟踪报表
///
/// 取得RPT020101_1画面(产品跟踪)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT020101SData(RPT020101_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT020101SData(this.SUserInfo, se));
}
#endregion 跟踪报表
#region 明细报表
///
/// 取得F_RPT_010101_1画面(注浆明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010101SData(RPT010101_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010101SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_010102_1画面(半检明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010102SData(RPT010102_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010102SData(this.SUserInfo, se));
}
///
/// 取得RPT010103画面(交坯明细)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010103SData(RPT010103_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010103SData(this.SUserInfo, se));
}
///
/// 取得RPT010105画面(成型线模具使用明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010105SData(RPT010105_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010105SData(this.SUserInfo, se));
}
///
/// 取得RPT010106画面(成型线剩余注浆次数)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010106SData(RPT010106_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010106SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_010201_1画面(工序漏扫明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010201SData(RPT010201_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010201SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_010301_1画面(条码变更明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010301SData(RPT010301_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010301SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_010401画面(在产品明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010401SData(RPT010401_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010401SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_010402画面(产成品明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010402SData(RPT010402_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010402SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_010403画面(生产数据明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010403SData(RPT010403_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010403SData(this.SUserInfo, se));
}
///
/// 取得RPT010302画面(商标变更明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010302SData(RPT010302_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT010302SData(this.SUserInfo, se));
}
#endregion 明细报表
#region 分析报表
///
/// 取得F_RPT_040101_1画面(注浆交坯比率分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040101SData(RPT040101_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040101SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_040102_1画面(工序产量分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040102SData(RPT040102_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040102SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_040103画面(工序质量分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040103SData(RPT040103_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040103SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_040104画面(产成品质量分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040104SData(RPT040104_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040104SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_040105画面(质量报表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040105SData(RPT040105_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040105SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_040106画面(缺陷报表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040106SData(RPT040106_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040106SData(this.SUserInfo, se));
}
///
/// 取得RPT040107画面(注浆产品工序分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040107SData(RPT040107_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040107SData(this.SUserInfo, se));
}
///
/// 取得RPT040108画面(成型线产量分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040108SData(RPT040108_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040108SData(this.SUserInfo, se));
}
///
/// 取得RPT040109画面(整体质量分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040109SData(RPT040109_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040109SData(this.SUserInfo, se));
}
///
/// 取得RPT040110画面(产成品逐日出窑数值分析表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT040110SData(RPT040110_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT040110SData(this.SUserInfo, se));
}
#endregion 分析报表
#region 汇总报表
///
/// 取得RPT030101_1画面(产品产量汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030101SData(RPT030101_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030101SData(this.SUserInfo, se));
}
///
/// 取得RPT030101_1画面(产品产量汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030101IData(RPT030101_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030101IData(this.SUserInfo, se));
}
/// 取得RPT030102_1画面(产品损坏汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030102SData(RPT030102_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030102SData(this.SUserInfo, se));
}
///
/// 取得RPT030102_1画面(产品损坏汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030102IData(RPT030102_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030102IData(this.SUserInfo, se));
}
///
/// 取得RPT030103_1画面(出窑数量汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030103SData(RPT030103_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030103SData(this.SUserInfo, se));
}
///
/// 取得RPT030103_1画面(出窑数量汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030103IData(RPT030103_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030103IData(this.SUserInfo, se));
}
///
/// 取得RPT030104_1画面(窑车产量汇总表)的窑炉汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030104SData(RPT030104_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030104SData(this.SUserInfo, se));
}
///
/// 取得RPT030104_1画面(窑车产量汇总表)的窑车产量汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030104IData(RPT030104_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030104IData(this.SUserInfo, se));
}
///
/// 取得RPT030104_1画面(窑车产量汇总表)的窑车产量明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030104UData(RPT030104_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030104UData(this.SUserInfo, se));
}
///
/// 取得RPT030107画面(工序交接数量汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030107SData(RPT030107_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030107SData(this.SUserInfo, se));
}
///
/// 取得RPT030107画面(工序交接数量汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030107IData(RPT030107_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030107IData(this.SUserInfo, se));
}
///
/// 取得RPT030108画面(成型信息汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030108SData(RPT030108_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030108SData(this.SUserInfo, se));
}
///
/// 取得RPT030109画面(撤销产品汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030109SData(RPT030109_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030109SData(this.SUserInfo, se));
}
///
/// 取得RPT030109画面(撤销产品汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030109IData(RPT030109_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030109IData(this.SUserInfo, se));
}
///
/// 取得RPT030111画面(工序收发存汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030111SData(RPT030111_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030111SData(this.SUserInfo, se));
}
///
/// 取得RPT030111画面(工序收发存汇总表)的初始数据
///
/// 查询结果
public ServiceResultEntity GetRPT030111IData()
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030111IData(this.SUserInfo));
}
#endregion 汇总报表
#region 公共函数
///
/// 查询数据源统计工序数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRptSourceProcedureModule(int? RptProcedureID)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRptSourceProcedureModule(this.SUserInfo, RptProcedureID));
}
///
/// 取得报表数据源数据
///
/// 查询结果
public ServiceResultEntity GetRptProcedureModule()
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRptProcedureModule(this.SUserInfo));
}
///
/// 取得窑炉数据
///
/// 使用标识查询条件
/// 查询结果
public ServiceResultEntity GetKilnData(byte pValue)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetKilnData(this.SUserInfo, pValue));
}
///
/// 取得窑车数据
///
/// 查询结果
public ServiceResultEntity GetAllKilnCarInfo()
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetAllKilnCarInfo(this.SUserInfo));
}
///
/// 取得生产线的所有工序
///
/// 查询条件生产线ID
/// 查询结果
public ServiceResultEntity GetRptProductionLineProcedures(int? RptProductionLineID)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRptProductionLineProcedures(this.SUserInfo, RptProductionLineID));
}
///
/// 取得数据字典数据
///
/// 显示停用标识
/// 字典类别
/// 查询结果
public ServiceResultEntity GetRptDictionaryData(byte Pvalue, string dictionaryType)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRptDictionaryData(Pvalue, dictionaryType, this.SUserInfo));
}
///
/// 取得GetRPT010104SData画面(注浆次数明细表)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT010104SData(GroutingLineEntity groutingLineEntity)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetGroutingCount(groutingLineEntity, this.SUserInfo));
}
#endregion 公共函数
#endregion
#region
///
/// 取得RPT030105画面(在产产量汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030105Data(RPT030105_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030105Data(this.SUserInfo, se));
}
///
/// 取得RPT030105画面(在产产量汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030105IData(RPT030105_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030105IData(this.SUserInfo, se));
}
///
/// 取得RPT030106画面(成检缺陷汇总表)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030106Data(RPT030106_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030106Data(this.SUserInfo, se));
}
///
/// 取得RPT030106画面(成检缺陷汇总表-明细)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030106IData(RPT030106_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030106IData(this.SUserInfo, se));
}
///
/// 取得RPT030106画面(成检缺陷汇总表-缺陷登记明细)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030106DData(RPT030106_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030106DData(this.SUserInfo, se));
}
///
/// 取得RPT030106画面(成检缺陷汇总表-生产工序信息)的明细信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030106ProData(RPT030106_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030106ProData(this.SUserInfo, se));
}
///
/// 窑车状态主表查询
///
/// 窑炉编码
/// 窑车编码
///
public ServiceResultEntity GetKilnCarStatusByCode(string kilnCode, string kilnCarCode)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetKilnCarStatusByCode(kilnCode, kilnCarCode, this.SUserInfo));
}
///
/// 窑车状态明细表查询
///
/// 窑车编码
///
public ServiceResultEntity GetKilnCarStatusDetailByCode(string kilnCarCode)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetKilnCarStatusDetailByCode(kilnCarCode, this.SUserInfo));
}
public ServiceResultEntity GetRPT080101SData(RPT010201_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT080101SData(this.SUserInfo, se));
}
///
/// 取得RPT080102画面(产品跟踪)的查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT080102SData(RPT080102_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT080102SData(this.SUserInfo, se));
}
/// 取得RPT080103画面(烧成前工序产量明细表)的查询数据
///
/// 登录用户信息
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT080103SData(RPT080103_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT080103SData(this.SUserInfo, se));
}
///
/// 取得RPT080104画面(烧成工序产量明细表)的查询数据
///
/// 登录用户信息
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT080104SData(RPT080103_SE se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT080104SData(this.SUserInfo, se));
}
///
/// 使用存储过程PRO_PM_GetProductionData获取生产工序计件数据
///
/// 生产数据实体类
/// DataTable
public DataTable GetProductionData(SearchProductionDataEntity searchEntity)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetProductionData(searchEntity, SUserInfo));
}
///
/// 取得RPT080106(温湿计明细)的汇总信息查询数据
///
/// 登录用户信息
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT080106IData(CelsiusRecordEntity se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT080106IData(this.SUserInfo, se));
}
///
/// 取得RPT030110画面(半检登记汇总表)的汇总信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT030110Data(SemiCheckEntity se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT030110Data(this.SUserInfo, se));
}
///
/// 取得RPT080107(半检登记明细)的信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT080107IData(SemiCheckEntity se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT080107IData(this.SUserInfo, se));
}
//xuwei add 2019-10-14
///
/// 取得RPT080108(半检返修登记明细)的信息查询数据
///
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT080108IData(SemiCheckEntity se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT080108IData(this.SUserInfo, se));
}
//xuwei end
///
/// 取得F_RPT_030112画面(产成品交接汇总表)的汇总信息查询数据
///
/// 登录用户信息
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT0030112SData(SearchFinishedProductEntity se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT0030112SData(this.SUserInfo, se));
}
///
/// 取得F_RPT_030112画面(产成品交接汇总表)的明细信息查询数据
///
/// 登录用户信息
/// 查询条件
/// 查询结果
public ServiceResultEntity GetRPT0030112DetailSData(SearchFinishedProductEntity se)
{
return ServiceInvoker.Invoke(this, () => ReportModuleLogic.GetRPT0030112DetailSData(this.SUserInfo, se));
}
#endregion
#region 共通接口
///
/// 共通接口
///
///
///
public ServiceResultEntity DoRequest(ClientRequestEntity cre)
{
try
{
#region 跟踪报表
if ("R02" == cre.NameSpace)
{
// 模具跟踪履历
if ("R020105" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT020105Data(cre, SUserInfo));
return result;
}
return null;
}
#endregion
#region 明细报表
if ("R01" == cre.NameSpace)
{
#region 在产品备份表
if ("R010404" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT010404Data(cre, SUserInfo));
return result;
}
#endregion
#region 产成品单值明细表
if ("R010405" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT010405Data(cre, SUserInfo));
return result;
}
if ("R01040501Get" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT01040501Data(cre, SUserInfo));
return result;
}
if ("R01040501Set" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.SetRPT01040501Data(cre, SUserInfo));
return result;
}
#endregion
return null;
}
#endregion
#region 汇总报表
if ("R03" == cre.NameSpace)
{
#region 产成品交接汇总表-汇总
if ("R030112Sum" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT0030112SumData(cre, SUserInfo));
return result;
}
#endregion
#region 产成品交接汇总表-交接数量
if ("R030112Num" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT0030112NData(cre, SUserInfo));
return result;
}
#endregion
#region 产成品交接汇总表-型号数量
if ("R030112GoodsNum" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT0030112GNData(cre, SUserInfo));
return result;
}
#endregion
#region 模具收发存汇总表
if ("R030113" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030113Data(cre, SUserInfo));
return result;
}
#endregion
#region 废弃产品汇总表
if ("R030114" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030114Data(cre, SUserInfo));
return result;
}
// 废品损失汇总表
if ("R030115" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030115Data(cre, SUserInfo));
return result;
}
// 废品损失汇总表-明细表
if ("R030115D" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030115DData(cre, SUserInfo));
return result;
}
// 废品损失汇总表-半成品损失汇总表
if ("R030115S" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030115SData(cre, SUserInfo));
return result;
}
#endregion
#region 成型存坯汇总表-注浆产品存坯汇总表
if ("R030116Goods" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030116GoodsData(cre, SUserInfo));
return result;
}
// 成型存坯汇总表-成型工号存坯汇总表
if ("R030116User" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030116UserData(cre, SUserInfo));
return result;
}
// 成型存坯汇总表-成型存坯明细表
if ("R030116D" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030116DData(cre, SUserInfo));
return result;
}
#endregion
#region 年度各工序月产量统计表
if ("R030118Data" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030118Data(cre, SUserInfo));
return result;
}
#endregion
#region 半检返修缺陷汇总表
if ("R030119Data" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT030119Data(cre, SUserInfo));
return result;
}
#endregion
return null;
}
#region 产成品交接撤销汇总表
if (cre.NameSpace == "F_RPT_030117")
{
// 汇总表
if (cre.Name == "GetSearchTotalData")
{
SearchFinishedProductEntity orderEntity = JsonHelper.FromJson(cre.Request + "");
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetF_RPT_030117SearchTotalData(orderEntity, SUserInfo));
return result;
}
// 明细表
if (cre.Name == "GetSearchDetailData")
{
SearchFinishedProductEntity orderEntity = JsonHelper.FromJson(cre.Request + "");
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetF_RPT_030117SearchDetailSData(orderEntity, SUserInfo));
return result;
}
return null;
}
#endregion
#endregion
#region 分析报表
if ("R04" == cre.NameSpace)
{
#region 模具注浆分析表
if ("R040111" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT040111Data(cre, SUserInfo));
return result;
}
#endregion
#region 成检产品预算分析表
if ("R040112" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT040112Data(cre, SUserInfo));
return result;
}
else if ("R04011201Load" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT04011201Data(cre, SUserInfo));
return result;
}
else if ("R04011201Save" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.SetRPT04011201Data(cre, SUserInfo));
return result;
}
#endregion
#region 质量报表-恒洁三水(定制)
#region 各工序质量表
if ("R040113" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT040113Data(cre, SUserInfo));
return result;
}
#endregion
#region 各工序质量表-明细
if ("R040113D" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT040113DData(cre, SUserInfo));
return result;
}
#endregion
#endregion
#region 综合合格率分析表-恒洁三水(定制)
#region 半成品报废率分析表
if ("R040114_1" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT040114_1Data(cre, SUserInfo));
return result;
}
#endregion
#region 综合优等率分析表
if ("R040114_2" == cre.Name)
{
ServiceResultEntity result = ServiceInvoker.Invoke(this,
() => ReportModuleLogic.GetRPT040114_2Data(cre, SUserInfo));
return result;
}
#endregion
#endregion
return null;
}
#endregion
#region 其他报表-产量明细等
if ("R08" == cre.NameSpace)
{
return null;
}
#endregion
return null;
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
}
}