1
This commit is contained in:
parent
38052103b6
commit
2b158c863d
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -41,5 +41,6 @@ namespace MDM.Services.IProcessService
|
||||
|
||||
|
||||
int OperationAddDatacollection(ProcessOperationCollectParameterDto parm);
|
||||
int OperationDeleteDatacollection(int operation_datacollection_id);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user