华恒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.

64 lines
1.5 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 ICSSkillMatrixBLL
  11. {
  12. #region 新增和修改
  13. public static void Add(ICSSkillMatrix Info, string dsconn)
  14. {
  15. try
  16. {
  17. if (string.IsNullOrWhiteSpace(dsconn))
  18. {
  19. throw new Exception("数据库连接字符串错误");
  20. }
  21. List<ICSSkillMatrix> InfoList = new List<ICSSkillMatrix>() { Info };
  22. ICSSkillMatrixDAL.Add(InfoList, dsconn);
  23. }
  24. catch (Exception ex)
  25. {
  26. throw ex;
  27. }
  28. }
  29. #endregion
  30. #region AddandEditList
  31. public static void AddandEditList(List<ICSSkillMatrix> InfoList, string Appconstr)
  32. {
  33. try
  34. {
  35. ICSSkillMatrixDAL.AddandEditList(InfoList, Appconstr);
  36. }
  37. catch (Exception ex)
  38. {
  39. throw ex;
  40. }
  41. }
  42. #endregion
  43. #region select
  44. public static ICSSkillMatrix select(String guid, String Appconstr)
  45. {
  46. return ICSSkillMatrixDAL.select(guid, Appconstr);
  47. }
  48. #endregion
  49. #region delete
  50. public static void delete(List<String> guidList)
  51. {
  52. ICSSkillMatrixDAL.delete(guidList);
  53. }
  54. #endregion
  55. }
  56. }