using MySqlX.XDevAPI.Common; using RS.DBUtility; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RS.SQLServerDAL { public class SLogs { public DataTable dataTable(string startTime,string endTime) { DataTable dt = new DataTable(); try { DataTable dtResult = new DataTable(); StringBuilder selectString = new StringBuilder(); selectString.AppendLine("SELECT * FROM T_MES_WORKINFO " + " "); selectString.AppendLine("WHERE F_MONOPARTID ='" + "'" + " "); selectString.AppendLine("AND F_PROCESSPLANNO ='" + "'" + " "); MySqlHelper sHelper = new MySqlHelper(); dtResult = sHelper.QuerySql(selectString.ToString()); if (dtResult != null) { if (dtResult.Rows.Count > 0) { } } } catch (Exception ex) { ex.ToString(); } return dt; } } }