华恒Mes鼎捷代码
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.

85 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. using System.Data;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class ICSSecDocTypeBLL
  11. {
  12. #region 增加修改
  13. public static void AddandEdit(ICSSecDocType line, string Appconstr)
  14. {
  15. try
  16. {
  17. ICSSecDocTypeDAL.AddandEdit(line, Appconstr);
  18. }
  19. catch (Exception ex)
  20. {
  21. throw ex;
  22. }
  23. }
  24. #endregion
  25. #region 增加修改List
  26. public static void AddandEditList(List<ICSSecDocType> lineList, string Appconstr)
  27. {
  28. try
  29. {
  30. ICSSecDocTypeDAL.AddandEditList(lineList, Appconstr);
  31. }
  32. catch (Exception ex)
  33. {
  34. throw ex;
  35. }
  36. }
  37. #endregion
  38. #region 查询
  39. public static ICSSecDocType select(String DocTypeCode, String Appconstr)
  40. {
  41. try
  42. {
  43. return ICSSecDocTypeDAL.select(DocTypeCode, Appconstr);
  44. }
  45. catch (Exception ex)
  46. {
  47. throw ex;
  48. }
  49. }
  50. public static ICSSecDocType selectByGuid(String guid, String Appconstr)
  51. {
  52. try
  53. {
  54. return ICSSecDocTypeDAL.selectByGuid(guid, Appconstr);
  55. }
  56. catch (Exception ex)
  57. {
  58. throw ex;
  59. }
  60. }
  61. #endregion
  62. #region 删除
  63. public static void delete(List<String> guidList, String Appconstr)
  64. {
  65. try
  66. {
  67. ICSSecDocTypeDAL.delete(guidList, Appconstr);
  68. }
  69. catch (Exception ex)
  70. {
  71. throw ex;
  72. }
  73. }
  74. #endregion
  75. }
  76. }