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

83 lines
1.9 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 ICSErrorHandelApplyBLL
  10. {
  11. #region Add
  12. public static void Add(ICSErrorHandleApply info, string Appconstr)
  13. {
  14. try
  15. {
  16. ICSErrorHandleApplyDAL.Add(info, Appconstr);
  17. }
  18. catch (Exception ex)
  19. {
  20. throw ex;
  21. }
  22. }
  23. #endregion
  24. #region 获取当天最新的单据号
  25. public static string GetDocNo(string dsconn)
  26. {
  27. try
  28. {
  29. return ICSErrorHandleApplyDAL.GetDocNo(dsconn);
  30. }
  31. catch (Exception ex)
  32. {
  33. throw ex;
  34. }
  35. }
  36. #endregion
  37. #region 删除
  38. public static void deleteInfo(List<string> idList, string dsconn)
  39. {
  40. try
  41. {
  42. ICSErrorHandleApplyDAL.deleteInfo(idList, dsconn);
  43. }
  44. catch (Exception ex)
  45. {
  46. throw ex;
  47. }
  48. }
  49. #endregion
  50. #region 审核
  51. public static void DocApprove(List<string> idList, string dsconn)
  52. {
  53. try
  54. {
  55. ICSErrorHandleApplyDAL.DocApprove(idList, dsconn);
  56. }
  57. catch (Exception ex)
  58. {
  59. throw ex;
  60. }
  61. }
  62. #endregion
  63. #region 弃审
  64. public static void DocCancelApprove(List<string> idList, string dsconn)
  65. {
  66. try
  67. {
  68. ICSErrorHandleApplyDAL.DocCancelApprove(idList, dsconn);
  69. }
  70. catch (Exception ex)
  71. {
  72. throw ex;
  73. }
  74. }
  75. #endregion
  76. }
  77. }