From 1f3eeedfc04e122325e7918344a9b18c1902b122 Mon Sep 17 00:00:00 2001 From: zch Date: Mon, 23 Jun 2025 17:03:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor(dms):=20=E8=B0=83=E6=95=B4=20DmsInstan?= =?UTF-8?q?ceFileMapper=20XML=20=E4=B8=AD=E7=9A=84=E6=8F=92=E5=85=A5?= =?UTF-8?q?=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 insert 语句中的 instance_file_id 字段(主键是自增的) --- .../src/main/resources/mapper/dms/DmsInstanceFileMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/hwmom-dms/src/main/resources/mapper/dms/DmsInstanceFileMapper.xml b/ruoyi-modules/hwmom-dms/src/main/resources/mapper/dms/DmsInstanceFileMapper.xml index 2cbab3d..fdc574b 100644 --- a/ruoyi-modules/hwmom-dms/src/main/resources/mapper/dms/DmsInstanceFileMapper.xml +++ b/ruoyi-modules/hwmom-dms/src/main/resources/mapper/dms/DmsInstanceFileMapper.xml @@ -5,9 +5,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - insert into dms_instance_file( instance_file_id, target_type, target_id, file_path) values + insert into dms_instance_file(target_type, target_id, file_path) values - ( #{item.instanceFileId}, #{item.targetType}, #{item.targetId}, #{item.filePath}) + (#{item.targetType}, #{item.targetId}, #{item.filePath})