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.

45 lines
1.2 KiB

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;
}
}
}