You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.9 KiB
83 lines
1.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSErrorHandelApplyBLL
|
|
{
|
|
|
|
#region Add
|
|
public static void Add(ICSErrorHandleApply info, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSErrorHandleApplyDAL.Add(info, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 获取当天最新的单据号
|
|
public static string GetDocNo(string dsconn)
|
|
{
|
|
try
|
|
{
|
|
return ICSErrorHandleApplyDAL.GetDocNo(dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 删除
|
|
public static void deleteInfo(List<string> idList, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
ICSErrorHandleApplyDAL.deleteInfo(idList, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 审核
|
|
public static void DocApprove(List<string> idList, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
ICSErrorHandleApplyDAL.DocApprove(idList, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 弃审
|
|
public static void DocCancelApprove(List<string> idList, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
ICSErrorHandleApplyDAL.DocCancelApprove(idList, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
}
|