From f9c12373d53d19ac919ae439d2074800787d0a0f Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Sat, 19 Aug 2023 19:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/wxjw/service/UploadSheetService.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wxjw/service/UploadSheetService.java b/src/main/java/com/wxjw/service/UploadSheetService.java index 10515d8..361142f 100644 --- a/src/main/java/com/wxjw/service/UploadSheetService.java +++ b/src/main/java/com/wxjw/service/UploadSheetService.java @@ -104,14 +104,17 @@ public class UploadSheetService { // 数据修改 ExcelInfoEntity excelInfoUpdate = new ExcelInfoEntity(); excelInfoUpdate + .setId(excelInfo.getId()) .setFileName(excelInfo.getFileName()) .setSheetName(excelInfo.getSheetName()) + .setTableName(excelInfo.getTableName()) .setType(excelInfo.getType()) .setCreateBy(excelInfo.getCreateBy()) .setParentId(excelInfo.getParentId()) - .setUpdateBy(excelInfo.getUpdateBy()) + .setUpdateBy(excelInfo.getCreateBy()) .setCreateTime(excelInfo.getCreateTime()) - .setUpdateBy(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); + .setCreateBy(excelInfo.getCreateBy()) + .setUpdateTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); if (excelInfoMapper.updateExcelInfo(excelInfoUpdate)) { returnResult = ResultUtil.success(); } else {