Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-charging-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bd0f6f5a
authored
Nov 09, 2023
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
null判断
1 parent
325e8eed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
platform-charging/src/main/java/cn/com/glsx/charging/modules/controller/ParamSettingController.java
platform-charging/src/main/java/cn/com/glsx/charging/modules/controller/ParamSettingController.java
View file @
bd0f6f5
...
...
@@ -18,6 +18,8 @@ import org.springframework.web.bind.annotation.GetMapping;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Objects
;
/**
* @Title:
* @Description:
...
...
@@ -53,7 +55,7 @@ public class ParamSettingController extends BaseController {
log
.
info
(
"充电桩工作参数设置响应 {}"
,
rsp
);
if
(
rsp
.
getData
().
getResult
()
==
1
)
{
if
(
Objects
.
nonNull
(
rsp
)
&&
rsp
.
getData
().
getResult
()
==
1
)
{
return
Result
.
success
(
"成功"
);
}
else
{
return
Result
.
failure
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment