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.
73 lines
1.8 KiB
73 lines
1.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSASNIQCDETAILBLL
|
|
{
|
|
public static void AddAndEdit(ICSASNIQCDETAIL typeInfo, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
if (string.IsNullOrWhiteSpace(dsconn))
|
|
{
|
|
throw new Exception("数据库连接字符串错误");
|
|
}
|
|
List<ICSASNIQCDETAIL> typeInfoList = new List<ICSASNIQCDETAIL>() { typeInfo };
|
|
ICSASNIQCDETAILDAL.AddAndEdit(typeInfoList, dsconn);
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
//public static void deleteInfo(string dsconn, List<string> codeList)
|
|
//{
|
|
// ICSSSDAL.deleteInfo(dsconn, codeList);
|
|
|
|
//}
|
|
|
|
public static void UpdateICSINVReceiptDetailState(string checkstatus, double qualifyqty,string node)
|
|
{
|
|
try
|
|
{
|
|
ICSASNIQCDETAILDAL.UpdateICSINVReceiptDetailState(checkstatus, qualifyqty,node);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static int SelectCount(string iqcno)
|
|
{
|
|
try
|
|
{
|
|
return ICSASNIQCDETAILDAL.SelectCount(iqcno);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static void Set(string iqcno)
|
|
{
|
|
try
|
|
{
|
|
ICSASNIQCDETAILDAL.Set(iqcno);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
}
|
|
}
|