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

60 lines
1.5 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 ICSINVInfoBLL
  10. {
  11. #region AddandEdit
  12. public static void AddandEdit(ICSINVInfo routeLot, string Appconstr)
  13. {
  14. try
  15. {
  16. ICSINVInfoDAL.AddandEdit(routeLot, Appconstr);
  17. }
  18. catch (Exception ex)
  19. {
  20. throw ex;
  21. }
  22. }
  23. #endregion
  24. #region 新增和修改List
  25. public static string AddList(List<ICSINVInfo> InfoList, List<string> listLvL, string dsconn)
  26. {
  27. try
  28. {
  29. if (string.IsNullOrWhiteSpace(dsconn))
  30. {
  31. throw new Exception("数据库连接字符串错误");
  32. }
  33. return ICSINVInfoDAL.AddList(InfoList, listLvL, dsconn);
  34. }
  35. catch (Exception ex)
  36. {
  37. throw ex;
  38. }
  39. }
  40. #endregion
  41. #region select
  42. public static ICSINVInfo select(String guid, String Appconstr)
  43. {
  44. return ICSINVInfoDAL.select(guid, Appconstr);
  45. }
  46. #endregion
  47. #region delete
  48. public static void delete(List<String> guidList, List<string> codeList)
  49. {
  50. ICSINVInfoDAL.delete(guidList, codeList);
  51. }
  52. #endregion
  53. }
  54. }