From cf4a5deced71464d424ce5931774f6df0c4c6bb3 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期三, 26 十一月 2025 16:30:07 +0800
Subject: [PATCH] 修改新增
---
multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java | 5 ++++-
multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml | 4 ++++
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java b/multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java
index a112665..3a8c565 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java
@@ -38,7 +38,7 @@
@NotBlank(message = "模板名称不可为空")
private String templateName;
- @ApiModelProperty(value = "类型1体系标准2技术标准3应用标准4程序文件5作业指导书6记录及表单7技术类8生产类9其他知识产权10程序文件模块")
+ @ApiModelProperty(value = "类型1体系标准2技术标准3应用标准4程序文件5作业指导书6记录及表单7技术类8生产类9其他知识产权10程序文件模块11记录表单模块")
@TableField("template_type")
@NotNull(message = "类型不可为空")
private Integer templateType;
@@ -64,6 +64,9 @@
@TableField(exist = false)
private String industryTypeName;
+ @TableField("department")
+ private String department;
+
@ApiModelProperty(value = "文件路径")
@TableField("file_path")
@NotBlank(message = "文件路径不可为空")
diff --git a/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml b/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml
index 36d95d4..c555dad 100644
--- a/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml
@@ -31,6 +31,9 @@
<if test="deptId !=null">
dept_id = #{deptId},
</if>
+ <if test="department !=null">
+ department = #{department},
+ </if>
<if test="stage != null and stage != ''">
stage = #{stage},
</if>
@@ -104,6 +107,7 @@
st. `update_by`,
st. `update_time`,
st.industry_type_id,
+ st.`department`,
cit.`name` as industryTypeName
FROM
standardized_template st
--
Gitblit v1.9.2