Commit 97d33d7d by 张祺

修改excel模板保存

parent 57e4e1d2
...@@ -67,7 +67,7 @@ public class ExcelTemplateServiceImpl implements ExcelTemplateService { ...@@ -67,7 +67,7 @@ public class ExcelTemplateServiceImpl implements ExcelTemplateService {
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public void update(ExcelTemplate template) { public void update(ExcelTemplate template) {
Date now = new Date(); Date now = new Date();
String currentUserId = SystemUserUtil.getCurrentUserId(); String currentUserId = SystemUserUtil.getCurrentUser();
ExcelTemplate temp = excelTemplateMapper.selectByPrimaryKey(template.getId()); ExcelTemplate temp = excelTemplateMapper.selectByPrimaryKey(template.getId());
temp.setUpdater(currentUserId); temp.setUpdater(currentUserId);
temp.setUpdateTime(now); temp.setUpdateTime(now);
......
...@@ -2,7 +2,7 @@ spring: ...@@ -2,7 +2,7 @@ spring:
application: application:
name: indicators name: indicators
profiles: profiles:
active: test active: dev
cloud: cloud:
config: config:
uri: http://localhost:8082 uri: http://localhost:8082
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment