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

48 lines
1.1 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.Entity;
  6. using ICSSoft.Frame.Data.DAL;
  7. using System.Data;
  8. using ICSSoft.Frame.APP.Entity;
  9. namespace ICSSoft.Frame.Data.BLL
  10. {
  11. public class ICSOPHoursBLL
  12. {
  13. #region 新增和修改List
  14. public static string AddList(List<ICSHoursCost> InfoList, string dsconn)
  15. {
  16. try
  17. {
  18. if (string.IsNullOrWhiteSpace(dsconn))
  19. {
  20. throw new Exception("数据库连接字符串错误");
  21. }
  22. return ICSOPHoursDAL.AddList(InfoList, dsconn);
  23. }
  24. catch (Exception ex)
  25. {
  26. throw ex;
  27. }
  28. }
  29. #endregion
  30. #region 审核
  31. public static void checkInfo(List<string> codeList, bool status, string dsconn)
  32. {
  33. try
  34. {
  35. ICSOPHoursDAL.checkInfo(codeList,status, dsconn);
  36. }
  37. catch (Exception ex)
  38. {
  39. throw ex;
  40. }
  41. }
  42. #endregion
  43. }
  44. }