feat(production): 修改删除订单问题
This commit is contained in:
@@ -269,6 +269,7 @@ bool OrderRepository::removeOrder(int id, QString *error)
|
||||
}
|
||||
|
||||
const QStringList statements = QStringList()
|
||||
<< "delete from workpiece_process_records where order_id = :id"
|
||||
<< "delete from production_state_history where order_id = :id"
|
||||
<< "delete from production_runs where order_id = :id"
|
||||
<< "delete from alarm_records where order_id = :id"
|
||||
|
||||
Reference in New Issue
Block a user