含易制毒计划安排后进入已安排待确认,确认通过后再占合同并生成链接/地磅;新增购买证/运输证主数据、产品行关联、余量校验与 OCR 配置,并停止跟踪 api_key/app.pid。 Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
469 B
SQL
10 lines
469 B
SQL
-- 购买证 / 运输证:大模型识别结果 JSON 落库
|
|
-- MySQL 5.7 utf8mb4
|
|
|
|
ALTER TABLE `pl_purchase_cert`
|
|
ADD COLUMN `ocr_result_json` mediumtext NULL COMMENT 'DeepSeek识别结果JSON' AFTER `attachment_urls`;
|
|
|
|
ALTER TABLE `pl_transport_cert`
|
|
ADD COLUMN `police_tel` varchar(50) DEFAULT NULL COMMENT '公安机关联系电话' AFTER `handler_name`,
|
|
ADD COLUMN `ocr_result_json` mediumtext NULL COMMENT 'DeepSeek识别结果JSON' AFTER `attachment_urls`;
|