2024-02-04 试车分包管理添加

This commit is contained in:
2024-02-04 11:12:50 +08:00
parent fdbca52cf2
commit a43e2cde43
19 changed files with 602 additions and 450 deletions
@@ -33,6 +33,7 @@ namespace FineUIPro.Web.TestRun.DriverSub
where x.ProjectId == this.CurrUser.LoginProjectId && q.Contains(x.DriverSubPlanId)
select new
{
x.DriverSubPlanId,
x.Code,
x.SubUnitId,
@@ -165,11 +166,9 @@ namespace FineUIPro.Web.TestRun.DriverSub
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
var info = BLL.DriverSubContactService.GetDriverSubContactById(rowID);
if (info != null)
{
BLL.DriverSubContactService.DeleteDriverSubContactById(rowID);
}
BLL.DriverSubContactService.DeleteDriverSubContactByDriverSubPlanId(rowID);
BLL.DriverSubService.DeleteDriverSubByDriverSubPlanId(rowID); //删除分包管理打分信息
}
BindGrid();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);