WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs
@@ -767,6 +767,8 @@ oCN.RunProcReturn("delete from Gy_Employee_Post where HEmpID = " + HItemID, "Gy_Employee_Post"); string sql3 = ""; if (list1.Count >0) { foreach (ClsGy_EmployeeSub listOne in list1) { sql3 += "insert into Gy_Employee_Post(HEmpID, HPostID, HRemark) Values(" @@ -774,6 +776,8 @@ } oCN.RunProcReturn(sql3, "Gy_WorkCenterSub"); } } oCN.Commit();