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

91 lines
2.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 System.Data;
  7. using ICSSoft.Frame.Data.Entity;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class ICSPJXPrintBLL
  11. {
  12. public static void AddAndEdit(ICSPJXPrint PJXPrint, string Appconstr)
  13. {
  14. try
  15. {
  16. ICSPJXPrintDal.AddAndEdit(PJXPrint, Appconstr);
  17. }
  18. catch (Exception ex)
  19. {
  20. throw ex;
  21. }
  22. }
  23. public static ICSPJXPrint select(String guid, String Batch,String Appconstr)
  24. {
  25. try
  26. {
  27. return ICSPJXPrintDal.select(guid,Batch, Appconstr);
  28. }
  29. catch (Exception ex)
  30. {
  31. throw ex;
  32. }
  33. }
  34. public static ICSPJXPrint selectById(String guid, String Appconstr)
  35. {
  36. try
  37. {
  38. return ICSPJXPrintDal.selectByID(guid, Appconstr);
  39. }
  40. catch (Exception ex)
  41. {
  42. throw ex;
  43. }
  44. }
  45. public static ICSPJXPrint selectByCode(String PJXPrint, String Appconstr)
  46. {
  47. return ICSPJXPrintDal.selectByCode(PJXPrint, Appconstr);
  48. }
  49. public static void delete(List<String> guidList)
  50. {
  51. try
  52. {
  53. ICSPJXPrintDal.delete(guidList);
  54. }
  55. catch (Exception ex)
  56. {
  57. throw ex;
  58. }
  59. }
  60. public static void SaveInfo(DataTable data, string Appconstr)
  61. {
  62. try
  63. {
  64. ICSPJXPrintDal.SaveInfo(data, Appconstr);
  65. }
  66. catch (Exception ex)
  67. {
  68. throw ex;
  69. }
  70. }
  71. public static void SaveConnect(string Connecting, string PJXPrint, Dictionary<string, string> ConnList)
  72. {
  73. try
  74. {
  75. ICSPJXPrintDal.SaveConnect(Connecting, PJXPrint, ConnList);
  76. }
  77. catch (Exception ex)
  78. {
  79. throw ex;
  80. }
  81. }
  82. }
  83. }