漏洞修复
This commit is contained in:
parent
ad9b37db63
commit
f9c12373d5
|
@ -104,14 +104,17 @@ public class UploadSheetService {
|
||||||
// 数据修改
|
// 数据修改
|
||||||
ExcelInfoEntity excelInfoUpdate = new ExcelInfoEntity();
|
ExcelInfoEntity excelInfoUpdate = new ExcelInfoEntity();
|
||||||
excelInfoUpdate
|
excelInfoUpdate
|
||||||
|
.setId(excelInfo.getId())
|
||||||
.setFileName(excelInfo.getFileName())
|
.setFileName(excelInfo.getFileName())
|
||||||
.setSheetName(excelInfo.getSheetName())
|
.setSheetName(excelInfo.getSheetName())
|
||||||
|
.setTableName(excelInfo.getTableName())
|
||||||
.setType(excelInfo.getType())
|
.setType(excelInfo.getType())
|
||||||
.setCreateBy(excelInfo.getCreateBy())
|
.setCreateBy(excelInfo.getCreateBy())
|
||||||
.setParentId(excelInfo.getParentId())
|
.setParentId(excelInfo.getParentId())
|
||||||
.setUpdateBy(excelInfo.getUpdateBy())
|
.setUpdateBy(excelInfo.getCreateBy())
|
||||||
.setCreateTime(excelInfo.getCreateTime())
|
.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)) {
|
if (excelInfoMapper.updateExcelInfo(excelInfoUpdate)) {
|
||||||
returnResult = ResultUtil.success();
|
returnResult = ResultUtil.success();
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in New Issue
Block a user