|
@@ -205,6 +205,7 @@ namespace SCADA_DAQ.Plugin.Tailg.Service
|
|
|
var sql = $"SELECT YEAR(EndTime_Dt) AS 年份, MONTH(EndTime_Dt) AS 月份, " +
|
|
|
$"WorkShopId_Str AS 车间号, ProductionLineId_Str AS 产线号, COUNT(*) AS 产量 " +
|
|
|
$"FROM APP_TaiLing_ProductionRecord " +
|
|
|
+ $"WHERE EndTime_Dt IS NOT NULL " +
|
|
|
$"GROUP BY YEAR(EndTime_Dt), MONTH(EndTime_Dt), WorkShopId_Str, ProductionLineId_Str";
|
|
|
var dt = Env.SgIDAL.ReadDataTable(sql);
|
|
|
|