Для срабатывания триггера

This commit is contained in:
2024-12-04 18:05:08 +03:00
parent 7fdc20f3e5
commit e28ccaab14
3 changed files with 17 additions and 22 deletions

View File

@@ -1,2 +1 @@
INSERT INTO `waybill_lines` VALUES ($e_order_id, $e_prod_id,
(SELECT price FROM workpiece WHERE work_id = $e_prod_id), $e_amount);
INSERT INTO `waybill_lines` VALUES ($e_order_id, $e_prod_id, $e_price, $e_amount);