Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangkb
indicators
Commits
97d33d7d
Commit
97d33d7d
authored
Jul 23, 2020
by
张祺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改excel模板保存
parent
57e4e1d2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ExcelTemplateServiceImpl.java
...tors/service/dataenter/impl/ExcelTemplateServiceImpl.java
+1
-1
bootstrap.yml
src/main/resources/bootstrap.yml
+2
-1
No files found.
src/main/java/com/keymobile/indicators/service/dataenter/impl/ExcelTemplateServiceImpl.java
View file @
97d33d7d
...
@@ -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
.
getCurrentUser
Id
();
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
);
...
...
src/main/resources/bootstrap.yml
View file @
97d33d7d
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment