This commit is contained in:
gcw_MV9p2JJN 2025-12-31 16:15:15 +08:00
parent 38052103b6
commit 2b158c863d
4 changed files with 16 additions and 1 deletions

View File

@ -187,6 +187,13 @@ namespace MDM.Controllers.Process
return ToResponse(response);
}
//TODO 工艺参数删除流程
[HttpDelete("operation_delete_datacollection/{operation_flow_id}")]
public IActionResult OperationDeleteDatacollection(int operation_datacollection_id)
{
var response = _ProcessOperationService.OperationDeleteFlow(operation_datacollection_id);
return ToResponse(response);
}

View File

@ -4,7 +4,7 @@ namespace MDM.Model.Process
/// <summary>
/// 工艺采集参数表(如温度、压力、时间等,关联工艺路线与工序)
/// </summary>
[SugarTable("process_operation_collect_parameter")]
[SugarTable("process_operation_flow_collect_parameter")]
public class ProcessOperationCollectParameter
{
/// <summary>

View File

@ -41,5 +41,6 @@ namespace MDM.Services.IProcessService
int OperationAddDatacollection(ProcessOperationCollectParameterDto parm);
int OperationDeleteDatacollection(int operation_datacollection_id);
}
}

View File

@ -240,5 +240,12 @@ namespace MDM.Services.Process
return response;
}
public int OperationDeleteDatacollection(int operation_datacollection_id)
{
var response = Context.Deleteable<ProcessOperationCollectParameter>(m => m.Id == operation_datacollection_id).ExecuteCommand();
return response;
}
}
}