“djh”
2025-11-26 cf4a5deced71464d424ce5931774f6df0c4c6bb3
修改新增
已修改2个文件
9 ■■■■ 文件已修改
multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 = "文件路径不可为空")
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