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.
93 lines
2.0 KiB
93 lines
2.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using ICSSoft.Base.Config.AppConfig;
|
|
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSMO2UserBLL
|
|
{
|
|
#region 增加修改
|
|
public static void Add(List<FormICSMO2UserUIModel> MO2UserInfoList, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
if (string.IsNullOrWhiteSpace(dsconn))
|
|
{
|
|
throw new Exception("请输入......");
|
|
}
|
|
|
|
ICSMO2UserDAL.AddAndEdit(MO2UserInfoList, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#region 删除
|
|
public static void deleteInfo(List<string> codeList, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
ICSMO2UserDAL.deleteInfo(codeList, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
#endregion
|
|
|
|
#region 取消下发
|
|
public static void cancelSend(List<string> codeList, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
ICSMO2UserDAL.cancelSend(codeList, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
public static void cancelSend(List<string> lotno, List<string> opcode, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
ICSMO2UserDAL.cancelSend(lotno, opcode, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
|
|
public static void cancelSendWW(List<string> lotno, List<string> opcode, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
ICSMO2UserDAL.cancelSendWW(lotno, opcode, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|