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

73 lines
1.8 KiB

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Data;
  6. using ICSSoft.Frame.Data.DAL;
  7. using ICSSoft.Frame.Data.Entity;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class ICSASNIQCDETAILBLL
  11. {
  12. public static void AddAndEdit(ICSASNIQCDETAIL typeInfo, string dsconn)
  13. {
  14. try
  15. {
  16. if (string.IsNullOrWhiteSpace(dsconn))
  17. {
  18. throw new Exception("数据库连接字符串错误");
  19. }
  20. List<ICSASNIQCDETAIL> typeInfoList = new List<ICSASNIQCDETAIL>() { typeInfo };
  21. ICSASNIQCDETAILDAL.AddAndEdit(typeInfoList, dsconn);
  22. }
  23. catch (Exception ex)
  24. {
  25. throw ex;
  26. }
  27. }
  28. //public static void deleteInfo(string dsconn, List<string> codeList)
  29. //{
  30. // ICSSSDAL.deleteInfo(dsconn, codeList);
  31. //}
  32. public static void UpdateICSINVReceiptDetailState(string checkstatus, double qualifyqty,string node)
  33. {
  34. try
  35. {
  36. ICSASNIQCDETAILDAL.UpdateICSINVReceiptDetailState(checkstatus, qualifyqty,node);
  37. }
  38. catch (Exception ex)
  39. {
  40. throw ex;
  41. }
  42. }
  43. public static int SelectCount(string iqcno)
  44. {
  45. try
  46. {
  47. return ICSASNIQCDETAILDAL.SelectCount(iqcno);
  48. }
  49. catch (Exception ex)
  50. {
  51. throw ex;
  52. }
  53. }
  54. public static void Set(string iqcno)
  55. {
  56. try
  57. {
  58. ICSASNIQCDETAILDAL.Set(iqcno);
  59. }
  60. catch (Exception ex)
  61. {
  62. throw ex;
  63. }
  64. }
  65. }
  66. }