Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhny
Project
Project
Details
Activity
Releases
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
王夏晖
zhny
Commits
4d420786
Commit
4d420786
authored
Mar 15, 2019
by
jichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改bug
parent
56a572f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
TopologyNodeController.java
...ft/business/manage/controller/TopologyNodeController.java
+1
-1
BusProjectServiceImpl.java
...t/business/manage/service/impl/BusProjectServiceImpl.java
+2
-3
SystemServiceImpl.java
...isoft/business/system/service/impl/SystemServiceImpl.java
+2
-2
No files found.
src/main/java/org/rcisoft/business/manage/controller/TopologyNodeController.java
View file @
4d420786
...
...
@@ -17,7 +17,7 @@ import org.springframework.web.multipart.MultipartFile;
* Created by on 2018-6-5 9:01:15.
*/
@RestController
@RequestMapping
(
"manage/topolog
y
node"
)
@RequestMapping
(
"manage/topolog
ies
node"
)
public
class
TopologyNodeController
extends
PaginationController
<
TopologyNode
>
{
@Autowired
...
...
src/main/java/org/rcisoft/business/manage/service/impl/BusProjectServiceImpl.java
View file @
4d420786
...
...
@@ -2,8 +2,7 @@ package org.rcisoft.business.manage.service.impl;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.beust.jcommander.internal.Lists
;
import
com.beust.jcommander.internal.Maps
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.poi.hssf.usermodel.HSSFRow
;
...
...
@@ -446,7 +445,7 @@ public class BusProjectServiceImpl implements BusProjectService {
* @return
*/
private
Map
<
String
,
String
>
getNm
(
Integer
type
,
String
proId
)
{
Map
<
String
,
String
>
resultMap
=
Maps
.
newHashMap
();
Map
<
String
,
String
>
resultMap
=
new
HashMap
<>
();
List
<
Map
<
String
,
Object
>>
list
=
null
;
if
(
type
==
1
)
{
list
=
busDeviceMeterRepository
.
queryNm
(
proId
);
...
...
src/main/java/org/rcisoft/business/system/service/impl/SystemServiceImpl.java
View file @
4d420786
...
...
@@ -157,13 +157,13 @@ public class SystemServiceImpl implements SystemService {
// 电量的键
String
devParam
=
""
;
// proId
String
proId
=
""
;
String
proId
=
devNum
.
split
(
"_"
)[
0
]
;
// 根据devNum查询
Map
<
String
,
String
>
deviceMap
=
deviceParamRepository
.
selectPower
(
devNum
);
if
(
deviceMap
!=
null
)
{
devCode
=
deviceMap
.
get
(
"devCode"
);
devParam
=
deviceMap
.
get
(
"devParam"
);
proId
=
deviceMap
.
get
(
"proId"
);
//
proId = deviceMap.get("proId");
}
List
<
BusFixedParam
>
fixedList
=
busFixedParamServiceImpl
.
queryBusFixedParamList
(
devNum
,
proId
);
List
<
DeviceParam
>
list
=
deviceParamRepository
.
selectDeviceParamList
(
devNum
,
proId
);
...
...
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