heheng
2025-11-27 af31f0a78ec1932cec1a7e99482e7d850e60576e
功能修改
已修改2个文件
10 ■■■■■ 文件已修改
multi-system/src/main/java/com/gkhy/exam/system/domain/ProcessInspection.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
multi-system/src/main/java/com/gkhy/exam/system/domain/ProcessInspection.java
@@ -34,6 +34,10 @@
    @TableField("type")
    private Integer type;
    @ApiModelProperty(value = "项目ID")
    @TableField("item_id")
    private Integer itemId;
    @ApiModelProperty(value = "文件名称")
    @TableField("file_name")
    private String fileName;
multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml
@@ -14,7 +14,8 @@
            pi.`create_by`,
            pi.`create_time`,
            pi.`update_by`,
            pi.`update_time`
            pi.`update_time`,
            pi.item_id
        FROM
            `process_inspection` pi
                LEFT JOIN sys_company sc ON pi.company_id = sc.id
@@ -26,6 +27,9 @@
        <if test="templateType!=null">
            and pi.type = #{templateType}
        </if>
        <if test="itemId!=null">
            and pi.item_id = #{itemId}
        </if>
    </select>
</mapper>