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

79 lines
2.2 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. using System.Data.SqlClient;
  9. namespace ICSSoft.Frame.Data.BLL
  10. {
  11. public class CheckBLL
  12. {
  13. public static DataTable PoArriveCheckData(string LotNO, string dsconn)
  14. {
  15. try
  16. {
  17. return CheckDAL.PoArriveCheckData(LotNO, dsconn);
  18. }
  19. catch (Exception ex)
  20. {
  21. throw ex;
  22. }
  23. }
  24. public static bool UpdateCheck(SqlConnection sqlConnection, SqlTransaction trans, string LotNO, string iStatus, string User, string dsconn)
  25. {
  26. try
  27. {
  28. return CheckDAL.UpdateCheck(sqlConnection, trans, LotNO, iStatus, User, dsconn);
  29. }
  30. catch (Exception ex)
  31. {
  32. throw ex;
  33. }
  34. }
  35. public static DataTable IQCCheckData(string LotNO, string dsconn)
  36. {
  37. try
  38. {
  39. return CheckDAL.IQCCheckData(LotNO, dsconn);
  40. }
  41. catch (Exception ex)
  42. {
  43. throw ex;
  44. }
  45. }
  46. public static bool UpdateIQCCheck(SqlConnection sqlConnection, SqlTransaction trans, string LotNO, string iStatus, string User, string UserName, string WorkPoint, string dsconn)
  47. {
  48. try
  49. {
  50. return CheckDAL.UpdateIQCCheck(sqlConnection, trans, LotNO, iStatus, User, UserName, WorkPoint, dsconn);
  51. }
  52. catch (Exception ex)
  53. {
  54. throw ex;
  55. }
  56. }
  57. public static DataTable isFinished(string LotNO, string dsconn)
  58. {
  59. try
  60. {
  61. return CheckDAL.isFinished(LotNO, dsconn);
  62. }
  63. catch (Exception ex)
  64. {
  65. throw ex;
  66. }
  67. }
  68. public static DataTable QueryAllCheck100(string ITEMCODE, string OPCODE, string WORKPOINT, string dsconn)
  69. {
  70. return CheckDAL.QueryAllCheck100(ITEMCODE, OPCODE, WORKPOINT, dsconn);
  71. }
  72. }
  73. }