feat(production): 修改删除订单问题

This commit is contained in:
lidg
2026-11-09 09:22:03 +08:00
parent 81313e61b0
commit 6a70f1943f
7 changed files with 138 additions and 144 deletions
+1
View File
@@ -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"