落地报价模板主账与后台:合同映射、灌种 SQL/脚本、智能体填表,并补测服运维探针与合同文档对齐。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-14 14:09:45 +08:00
co-authored by Cursor
parent 8bdf4990a2
commit a70bce3c8f
138 changed files with 7239 additions and 1085 deletions
@@ -0,0 +1,26 @@
-- =============================================================================
-- 询价工单补列:quote_date(报价日期)
-- 只对 inquiry_robot 执行;禁止对现网 jeecg-boot 执行。
-- 可重复执行:已有列则跳过。
-- =============================================================================
SET NAMES utf8mb4;
SET @db := DATABASE();
SET @exists := (
SELECT COUNT(*)
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = @db
AND TABLE_NAME = 'inq_ticket'
AND COLUMN_NAME = 'quote_date'
);
SET @ddl := IF(
@exists = 0,
'ALTER TABLE `inq_ticket` ADD COLUMN `quote_date` date DEFAULT NULL COMMENT ''报价日期(销售询价/填表用,不是创建时间)'' AFTER `goods_name`',
'SELECT ''quote_date already exists'' AS info'
);
PREPARE stmt FROM @ddl;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;