Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
d1a6522f
Commit
d1a6522f
authored
Aug 01, 2022
by
季圣华
Browse files
优化功能菜单的新增接口
parent
f03902bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/functions/FunctionService.java
View file @
d1a6522f
...
@@ -99,6 +99,8 @@ public class FunctionService {
...
@@ -99,6 +99,8 @@ public class FunctionService {
Function
functions
=
JSONObject
.
parseObject
(
obj
.
toJSONString
(),
Function
.
class
);
Function
functions
=
JSONObject
.
parseObject
(
obj
.
toJSONString
(),
Function
.
class
);
int
result
=
0
;
int
result
=
0
;
try
{
try
{
functions
.
setState
(
false
);
functions
.
setType
(
"电脑版"
);
result
=
functionsMapper
.
insertSelective
(
functions
);
result
=
functionsMapper
.
insertSelective
(
functions
);
logService
.
insertLog
(
"功能"
,
logService
.
insertLog
(
"功能"
,
new
StringBuffer
(
BusinessConstants
.
LOG_OPERATION_TYPE_ADD
).
append
(
functions
.
getName
()).
toString
(),
request
);
new
StringBuffer
(
BusinessConstants
.
LOG_OPERATION_TYPE_ADD
).
append
(
functions
.
getName
()).
toString
(),
request
);
...
...
Write
Preview
Supports
Markdown
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