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

134 lines
3.1 KiB

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Data;
  6. using ICSSoft.Frame.Data.DAL;
  7. using ICSSoft.Frame.Data.Entity;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class ICSOQCCKLISTBLL
  11. {
  12. #region AddandEdit
  13. public static void AddandEdit(ICSOQCCKLIST ItemLot, string Appconstr)
  14. {
  15. try
  16. {
  17. ICSOQCCKLISTDAL.AddandEdit(ItemLot, Appconstr);
  18. }
  19. catch (Exception ex)
  20. {
  21. throw ex;
  22. }
  23. }
  24. #endregion
  25. #region AddandEditList
  26. public static void AddandEditList(List<ICSOQCCKLIST> InfoList, string Appconstr)
  27. {
  28. try
  29. {
  30. ICSOQCCKLISTDAL.AddandEditList(InfoList, Appconstr);
  31. }
  32. catch (Exception ex)
  33. {
  34. throw ex;
  35. }
  36. }
  37. #endregion
  38. #region delete
  39. public static void delete(List<String> guidList)
  40. {
  41. ICSOQCCKLISTDAL.delete(guidList);
  42. }
  43. #endregion
  44. #region 获取检验方式
  45. public static DataTable SearchData(string dsconn)
  46. {
  47. try
  48. {
  49. return ICSOQCCKLISTDAL.SearchData(dsconn);
  50. }
  51. catch (Exception ex)
  52. {
  53. throw ex;
  54. }
  55. }
  56. //public static DataTable SearchData(string EnumText, string dsconn)
  57. //{
  58. // try
  59. // {
  60. // return ICSOPDAL.SearchData(EnumText, dsconn);
  61. // }
  62. // catch (Exception ex)
  63. // {
  64. // throw ex;
  65. // }
  66. //}
  67. #endregion
  68. #region 获取检验属性
  69. public static DataTable SearchDataa(string dsconn)
  70. {
  71. try
  72. {
  73. return ICSOQCCKLISTDAL.SearchDataa(dsconn);
  74. }
  75. catch (Exception ex)
  76. {
  77. throw ex;
  78. }
  79. }
  80. public static DataTable SearchDataa(string EnumText, string dsconn)
  81. {
  82. try
  83. {
  84. return ICSOQCCKLISTDAL.SearchDataa(EnumText, dsconn);
  85. }
  86. catch (Exception ex)
  87. {
  88. throw ex;
  89. }
  90. }
  91. #endregion
  92. #region 检验工具
  93. public static DataTable SearchDataTool(string dsconn)
  94. {
  95. try
  96. {
  97. return ICSOQCCKLISTDAL.SearchDataTool(dsconn);
  98. }
  99. catch (Exception ex)
  100. {
  101. throw ex;
  102. }
  103. }
  104. #endregion
  105. public static DataTable SearchDataUNIT(string dsconn)
  106. {
  107. return ICSOQCCKLISTDAL.SearchDataUNIT(dsconn);
  108. }
  109. public static DataSet SearchImportData(string dsconn)
  110. {
  111. try
  112. {
  113. return ICSOQCCKLISTDAL.SearchImportData(dsconn);
  114. }
  115. catch (Exception ex)
  116. {
  117. throw ex;
  118. }
  119. }
  120. }
  121. }