diff --git a/module-file/src/main/resources/mybatis/mapper/file-mapper.xml b/module-file/src/main/resources/mybatis/mapper/file-mapper.xml index be49eb9d..58a20800 100644 --- a/module-file/src/main/resources/mybatis/mapper/file-mapper.xml +++ b/module-file/src/main/resources/mybatis/mapper/file-mapper.xml @@ -36,6 +36,8 @@ + + diff --git a/module-file/src/main/resources/templates/file/v2/list.html b/module-file/src/main/resources/templates/file/v2/list.html index e6a82d35..bf07ed2c 100644 --- a/module-file/src/main/resources/templates/file/v2/list.html +++ b/module-file/src/main/resources/templates/file/v2/list.html @@ -167,6 +167,24 @@ return rowData; } }, + {field: 'creator', width: 150, title: '创建人', align: 'center', + templet: function (row) { + var rowData = row[this.field]; + if (typeof (rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'gmtCreate', width: 180, title: '创建时间', align: 'center', + templet: function (row) { + var rowData = row[this.field]; + if (typeof (rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, {field: 'preview', width: 90, title: '预览', align: 'center', fixed: 'right', templet: function (row) { if(isPreviewType(row.fileType)) {