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 typeInfoList = new List() { typeInfo }; ICSASNIQCDETAILDAL.AddAndEdit(typeInfoList, dsconn); } catch (Exception ex) { throw ex; } } //public static void deleteInfo(string dsconn, List 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; } } } }