Files
N_XLXSBJ----MX/XSBJCXService.cs
T
2026-08-21 17:03:02 +08:00

91 lines
2.8 KiB
C#

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using GThinking.N_MISPROAS.Web.AjaxServices;
using System.Collections.Generic;
using GThinking.N_MISPRO;
using System.Collections;
using GThinking.N_WORKFLOW;
using GThinking.N_MISPRO.Data;
using GThinking.N_MODEL.Dialog;
using GThinking.N_MISPRO.Utility;
using GThinking.N_PUBLIC;
using System.Data.Common;
using System.Text.RegularExpressions;
using GThinking.N_MODEL.ModelBase;
namespace GThinking.N_XLXSBJ
{
public class XSBJCXService : ServiceBase
{
#region 自定义方法
[AjaxMethod()]
public static List<CPYTInfo> GetCPYTInfoList()
{
List<CPYTInfo> rEntity = new List<CPYTInfo>();
XLBJCXBO BO = new XLBJCXBO();
rEntity = BO.GetCPYTInfoList();
return rEntity;
}
[AjaxMethod()]
public static List<XLXHInfo> GetXLXHInfoList(string sCPYT, string sXLXHID, string isMHCX)
{
List<XLXHInfo> rEntity = new List<XLXHInfo>();
XLBJCXBO BO = new XLBJCXBO();
rEntity = BO.GetXLXHInfoList(sCPYT, sXLXHID, isMHCX);
return rEntity;
}
[AjaxMethod()]
public static InfoList<XLCPInfo> GetXLGGInfoList(int iNUM, int iRec, string sXLXH, string sDYDJ, string sXLGGID, string sJGBID, string isMHCX, string sCPML)
{
iRec = iRec - 1;
InfoList<XLCPInfo> rEntity = new InfoList<XLCPInfo>();
int iTotalInfos;
XLBJCXBO BO = new XLBJCXBO();
List<XLGGInfo> moList = BO.GetXLGGInfoList(iRec, iNUM, sXLXH, sDYDJ, sXLGGID, sJGBID, isMHCX, sCPML, out iTotalInfos);
rEntity.TotalInfos = iTotalInfos;
if (iRec >= iTotalInfos)
return rEntity;
foreach (XLGGInfo MO in moList)
{
XLCPInfo info = new XLCPInfo(MO, BO.CanEdit(MO), BO.CanDelete(MO));
rEntity.Infos.Add(info);
}
return rEntity;
}
[AjaxMethod()]
public static List<XLGGInfo> GetLSXLGGInfoList(string sXLXHGGlist, string sXLXH, string sXLGGID, string sJGBID)
{
List<XLGGInfo> rEntity = new List<XLGGInfo>();
XLBJCXBO BO = new XLBJCXBO();
rEntity = BO.GetLSXLGGInfoList(sXLXHGGlist, sXLXH, sXLGGID, sJGBID);
return rEntity;
}
[AjaxMethod()]
public static List<JGBInfo> GetJGBInfoList()
{
List<JGBInfo> rEntity = new List<JGBInfo>();
XLBJCXBO BO = new XLBJCXBO();
rEntity = BO.GetJGBInfoList();
return rEntity;
}
#endregion
}
}