From f25fd3205eed012d82e606a3e2d2108b1c9d03bc Mon Sep 17 00:00:00 2001 From: zch Date: Wed, 23 Jul 2025 16:16:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(qms):=20=E7=A7=BB=E9=99=A4=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=20mapper.xml=20=E4=B8=AD=E7=9A=84=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=BA=E4=B8=8E=E6=97=B6=E9=97=B4=EF=BC=88?= =?UTF-8?q?=E5=9B=A0=E4=B8=BA=E8=BF=94=E5=9B=9EVo=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了 QcInspectionItemCategoryMapper、QcInspectionItemMapper、QcInspectionMainMapper、 QcInspectionResultMapper、QcInspectionTemplateMapper、QcInspectionTypeMapper、 QcUnqualifiedRecordMapper 和 QcUnqualifiedReviewMapper 中的冗余字段映射 - 移除了 createBy、createDept、createTime、updateBy、updateTime 和 delFlag等 不必要的字段映射,以简化数据模型并提高查询效率 --- .../mapper/qms/QcInspectionItemCategoryMapper.xml | 6 ------ .../main/resources/mapper/qms/QcInspectionItemMapper.xml | 7 +------ .../main/resources/mapper/qms/QcInspectionMainMapper.xml | 6 ------ .../main/resources/mapper/qms/QcInspectionResultMapper.xml | 6 ------ .../resources/mapper/qms/QcInspectionTemplateMapper.xml | 6 ------ .../main/resources/mapper/qms/QcInspectionTypeMapper.xml | 6 ------ .../resources/mapper/qms/QcUnqualifiedRecordMapper.xml | 7 +------ .../resources/mapper/qms/QcUnqualifiedReviewMapper.xml | 7 +------ 8 files changed, 3 insertions(+), 48 deletions(-) diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemCategoryMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemCategoryMapper.xml index 07fa004..65950a0 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemCategoryMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemCategoryMapper.xml @@ -13,12 +13,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemMapper.xml index 28daa44..87ba2c6 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionItemMapper.xml @@ -24,12 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - + diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionMainMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionMainMapper.xml index a0bbdb8..6ac35dc 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionMainMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionMainMapper.xml @@ -28,12 +28,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionResultMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionResultMapper.xml index 7b80993..e0a20cf 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionResultMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionResultMapper.xml @@ -12,12 +12,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTemplateMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTemplateMapper.xml index 7766324..ed29716 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTemplateMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTemplateMapper.xml @@ -18,12 +18,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTypeMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTypeMapper.xml index 1ed5ed5..5295775 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTypeMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcInspectionTypeMapper.xml @@ -10,12 +10,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedRecordMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedRecordMapper.xml index 096764e..6b1cc69 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedRecordMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedRecordMapper.xml @@ -8,12 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - + diff --git a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedReviewMapper.xml b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedReviewMapper.xml index 4a265a6..084bc7c 100644 --- a/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedReviewMapper.xml +++ b/ruoyi-modules/hwmom-qms/src/main/resources/mapper/qms/QcUnqualifiedReviewMapper.xml @@ -19,12 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - +