2024-02-04 试车分包管理添加
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user