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

27 lines
1010 B

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.Base.Config.AppConfig;
  7. using ICSSoft.Base.Config.DBHelper;
  8. using System.Data.SqlClient;
  9. namespace ICSSoft.Frame.Data.DAL
  10. {
  11. public class ICSResOPDAL
  12. {
  13. public static DataTable GetResOPList(string LOTNO, int OPSEQ, string WorkPoint)
  14. {
  15. string sql = @"[dbo].[GET_ResOP]";
  16. sql = string.Format(sql, LOTNO, OPSEQ, WorkPoint);
  17. SqlParameter[] pms = new SqlParameter[]{
  18. new SqlParameter("@LOTNO",SqlDbType.NVarChar){Value=LOTNO},
  19. new SqlParameter("@OPSEQ",SqlDbType.Int){Value=OPSEQ},
  20. new SqlParameter("@WorkPoint",SqlDbType.NVarChar){Value =WorkPoint},
  21. new SqlParameter("@FLAG",SqlDbType.NVarChar){Value =DBNull.Value}
  22. };
  23. return DBHelper.ExecuteDataset(AppConfig.AppConnectString, CommandType.StoredProcedure, sql, pms).Tables[0];
  24. }
  25. }
  26. }