锐腾搅拌上料功能
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.

47 lines
1.2 KiB

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using ICSSoft.Frame.Data.DAL;
  6. using ICSSoft.Frame.Data.Entity;
  7. namespace ICSSoft.Frame.Data.BLL
  8. {
  9. public class ICSITEMROUTE2OPBLL
  10. {
  11. #region 删除
  12. public static void deleteInfo(List<string> codeList, string dsconn)
  13. {
  14. try
  15. {
  16. ICSITEMROUTE2OPDAL.deleteInfo(codeList, dsconn);
  17. }
  18. catch (Exception ex)
  19. {
  20. throw ex;
  21. }
  22. }
  23. #endregion
  24. #region 新增和修改
  25. public static void Add(FormICSITEMROUTE2OPUIModel Info, string dsconn)
  26. {
  27. try
  28. {
  29. if (string.IsNullOrWhiteSpace(dsconn))
  30. {
  31. throw new Exception("数据库连接字符串错误");
  32. }
  33. List<FormICSITEMROUTE2OPUIModel> InfoList = new List<FormICSITEMROUTE2OPUIModel>() { Info };
  34. ICSITEMROUTE2OPDAL.Add(InfoList, dsconn);
  35. }
  36. catch (Exception ex)
  37. {
  38. throw ex;
  39. }
  40. }
  41. #endregion
  42. }
  43. }