锐腾搅拌上料功能
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.Entity;
  6. using ICSSoft.Frame.Data.DAL;
  7. using System.Data;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class FormICSBatchsQueryBLL
  11. {
  12. #region 新增
  13. public static void AddBatch(List<ICSInvBatch> batchInfo, string dsconn)
  14. {
  15. try
  16. {
  17. FormICSBatchsQueryDAL.AddBatch(batchInfo, dsconn);
  18. }
  19. catch (Exception ex)
  20. {
  21. throw ex;
  22. }
  23. }
  24. #endregion
  25. #region 通过代码、行号查询
  26. public static FormICSRdrecord2LOTUIModel SearchInfo(string CODE, string RowNo, string dsconn)
  27. {
  28. try
  29. {
  30. return FormICSBatchsQueryDAL.SearchInfo(CODE, RowNo, dsconn);
  31. }
  32. catch (Exception ex)
  33. {
  34. throw ex;
  35. }
  36. }
  37. public static FormICSRdrecord2LOTUIModelX Search_Info(string CODE, string RowNo, string dsconn)
  38. {
  39. try
  40. {
  41. return FormICSBatchsQueryDAL.Search_Info(CODE, RowNo, dsconn);
  42. }
  43. catch (Exception ex)
  44. {
  45. throw ex;
  46. }
  47. }
  48. #endregion
  49. #region 通过主表行和子表
  50. public static DataSet SearchData(string CODE, string RowNo, string dsconn)
  51. {
  52. try
  53. {
  54. return FormICSBatchsQueryDAL.SearchData(CODE, RowNo, dsconn);
  55. }
  56. catch (Exception ex)
  57. {
  58. throw ex;
  59. }
  60. }
  61. #endregion
  62. }
  63. }