WebAPI/Controllers/MateOutController.cs
@@ -1970,7 +1970,7 @@ return objJsonResult; } ds = oCN.RunProcReturn("select * from Gy_PlanShifts where HDate='" + hdate + "'", "Gy_PlanShifts"); ds = oCN.RunProcReturn("select * from Gy_PlanShifts where HDate='" + hdate + "' and HSourceID="+ TagId, "Gy_PlanShifts"); string sql = ""; if (ds.Tables[0].Rows.Count > 0) {