Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
f4d00181
Commit
f4d00181
authored
Jun 28, 2023
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加打印日志
parent
cfe31a6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
EquipmentCategoryServiceImpl.java
...le/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
+9
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
f4d00181
...
@@ -968,6 +968,8 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
...
@@ -968,6 +968,8 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
ResponseModel
submit
(
Map
<
String
,
Object
>
map
)
{
public
ResponseModel
submit
(
Map
<
String
,
Object
>
map
)
{
StopWatch
stopWatch
=
new
StopWatch
();
stopWatch
.
start
();
SupervisoryCodeInfo
supervisoryCodeInfo
=
new
SupervisoryCodeInfo
();
SupervisoryCodeInfo
supervisoryCodeInfo
=
new
SupervisoryCodeInfo
();
ResponseModel
responseModel
=
new
ResponseModel
();
ResponseModel
responseModel
=
new
ResponseModel
();
LinkedHashMap
useInfoFrom
=
(
LinkedHashMap
)
map
.
get
(
USE_INFO_FROM_ID
);
LinkedHashMap
useInfoFrom
=
(
LinkedHashMap
)
map
.
get
(
USE_INFO_FROM_ID
);
...
@@ -1017,9 +1019,15 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
...
@@ -1017,9 +1019,15 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
map
.
remove
(
"data"
);
map
.
remove
(
"data"
);
responseModel
=
idxFeignService
.
batchUpdate
(
null
,
null
,
map
);
responseModel
=
idxFeignService
.
batchUpdate
(
null
,
null
,
map
);
}
}
stopWatch
.
stop
();
if
(
log
.
isInfoEnabled
()){
log
.
info
(
"通用提交耗时:{} 秒"
,
stopWatch
.
getTotalTimeSeconds
());
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
supervisoryCodeInfo
.
setStatus
(
EquipmentCategoryEnum
.
BF
.
getCode
());
supervisoryCodeInfo
.
setStatus
(
EquipmentCategoryEnum
.
BF
.
getCode
());
ResponseModel
<
Object
>
response
=
new
ResponseModel
();
ResponseModel
<
Object
>
response
=
new
ResponseModel
<>();
response
.
setDevMessage
(
e
.
getMessage
());
response
.
setResult
(
null
);
response
.
setResult
(
null
);
response
.
setMessage
(
"操作失败,请检查数据输入后重新提交"
);
response
.
setMessage
(
"操作失败,请检查数据输入后重新提交"
);
response
.
setStatus
(
HttpStatus
.
BAD_REQUEST
.
value
());
response
.
setStatus
(
HttpStatus
.
BAD_REQUEST
.
value
());
...
...
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