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

71 lines
1.7 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 ICSStackBLL
  11. {
  12. public static void AddAndEdit(ICSStack Storage, string Appconstr)
  13. {
  14. try
  15. {
  16. ICSStackDAL.AddAndEdit(Storage,Appconstr);
  17. }
  18. catch (Exception ex)
  19. {
  20. throw ex;
  21. }
  22. }
  23. public static void AddAndEditList(List<ICSStack> StackList, string Appconstr)
  24. {
  25. try
  26. {
  27. ICSStackDAL.AddAndEditList(StackList, Appconstr);
  28. }
  29. catch (Exception ex)
  30. {
  31. throw ex;
  32. }
  33. }
  34. public static ICSStack select(String guid, String Appconstr)
  35. {
  36. try
  37. {
  38. return ICSStackDAL.select(guid, Appconstr);
  39. }catch(Exception ex){
  40. throw ex;
  41. }
  42. }
  43. public static ICSStack selectByCode(String stackcode, String Appconstr)
  44. {
  45. return ICSStackDAL.selectByCode(stackcode, Appconstr);
  46. }
  47. public static void delete(List<String> guidList)
  48. {
  49. try
  50. {
  51. ICSStackDAL.delete(guidList);
  52. }catch(Exception ex){
  53. throw ex;
  54. }
  55. }
  56. public static DataTable selectData() {
  57. try
  58. {
  59. return ICSStackDAL.SelectData();
  60. }catch(Exception ex){
  61. throw ex;
  62. }
  63. }
  64. }
  65. }