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

75 lines
1.6 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 ICSUser2ResBLL
  11. {
  12. #region AddandEdit
  13. public static void AddandEdit(ICSUser2Res ItemLot, string Appconstr)
  14. {
  15. try
  16. {
  17. ICSUser2ResDAL.AddandEdit(ItemLot, Appconstr);
  18. }
  19. catch (Exception ex)
  20. {
  21. throw ex;
  22. }
  23. }
  24. #endregion
  25. #region 根据资源代码查询资源id
  26. public static DataTable SelectResID(string rescode)
  27. {
  28. try
  29. {
  30. return ICSUser2ResDAL.SelectResID(rescode);
  31. }
  32. catch (Exception ex)
  33. {
  34. throw ex;
  35. }
  36. }
  37. #endregion
  38. #region 根据人员代码查询人员id
  39. public static DataTable SelectUserID(string usercode)
  40. {
  41. try
  42. {
  43. return ICSUser2ResDAL.SelectUserID(usercode);
  44. }
  45. catch (Exception ex)
  46. {
  47. throw ex;
  48. }
  49. }
  50. #endregion
  51. #region select
  52. public static ICSDCT select(String guid, String Appconstr)
  53. {
  54. return ICSDCTDAL.select(guid, Appconstr);
  55. }
  56. #endregion
  57. #region delete
  58. public static void delete(List<String> useridList,List<string> residList)
  59. {
  60. ICSUser2ResDAL.delete(useridList, residList);
  61. }
  62. #endregion
  63. }
  64. }