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
421e2a1a
Commit
421e2a1a
authored
Oct 23, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改单位
parent
e8146499
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+3
-3
overview.json
...jxiop-bigscreen-biz/src/main/resources/json/overview.json
+2
-2
overviewGF.json
...iop-bigscreen-biz/src/main/resources/json/overviewGF.json
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
421e2a1a
...
...
@@ -318,7 +318,7 @@ public class MonitorFanIdxController extends BaseController {
map
.
put
(
"title"
,
columnMap
.
get
(
key
)
==
null
?
0.00
:
columnMap
.
get
(
key
));
map
.
put
(
"title2"
,
map
.
get
(
"title"
));
if
(
map
.
containsKey
(
"action"
))
{
if
(
key
.
equals
(
"日利用小时"
))
{
if
(
key
.
equals
(
"日利用小时
(h)
"
))
{
String
format
=
String
.
format
(
"%.2f"
,
((
Double
.
parseDouble
(
columnMap
.
get
(
"日发电量"
).
toString
())
*
10
)
/
(
Double
.
parseDouble
(
columnMap
.
get
(
"装机容量"
).
toString
()))));
map
.
put
(
"title"
,
format
);
map
.
put
(
"title2"
,
map
.
get
(
"title"
));
...
...
@@ -742,9 +742,9 @@ public class MonitorFanIdxController extends BaseController {
for
(
Map
map
:
list
)
{
String
key
=
map
.
get
(
"title"
).
toString
();
if
(
map
.
containsKey
(
"action"
))
{
if
(
key
.
equals
(
"日利用小时"
))
{
if
(
key
.
equals
(
"日利用小时
(h)
"
))
{
map
.
put
(
"title"
,
String
.
format
(
"%.2f"
,
((
Double
.
parseDouble
(
columnMap
.
get
(
"日发电量"
).
toString
())
*
CommonConstans
.
wkwhToMv
)
/
(
Double
.
parseDouble
(
columnMap
.
get
(
"装机容量"
).
toString
())))));
columnMap
.
put
(
"日利用小时"
,
map
.
get
(
"title"
));
columnMap
.
put
(
"日利用小时
(h)
"
,
map
.
get
(
"title"
));
map
.
put
(
"title2"
,
map
.
get
(
"title"
));
}
else
{
map
.
put
(
"title"
,
map
.
get
(
"action"
).
toString
().
replace
(
"*"
,
columnMap
.
get
(
key
).
toString
()));
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/resources/json/overview.json
View file @
421e2a1a
...
...
@@ -35,8 +35,8 @@
"url"
:
"upload/jxiop/amos_studio/C46B483E51ACAC137CBEB5156F6F377.png"
},
{
"title"
:
"日利用小时"
,
"title1"
:
"日利用小时"
,
"title"
:
"日利用小时
(h)
"
,
"title1"
:
"日利用小时
(h)
"
,
"action"
:
"String.format(
\"
%.2f
\"
,Double.parseDouble(columnMap.get(
\"
*
\"
).toString())/ (Double.parseDouble(columnMap.get(
\"
-
\"
).toString())*1000))"
,
"url"
:
"upload/jxiop/amos_studio/C46B483E51ACAC137CBEB5156F6F377.png"
},
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/resources/json/overviewGF.json
View file @
421e2a1a
...
...
@@ -51,8 +51,8 @@
"url"
:
"upload/jxiop/amos_studio/1660C5DDA22ACFADC89A60DEDB82FA39.png"
},
{
"title"
:
"日利用小时"
,
"title1"
:
"日利用小时"
,
"title"
:
"日利用小时
(h)
"
,
"title1"
:
"日利用小时
(h)
"
,
"action"
:
"String.format(
\"
%.2f
\"
,Double.parseDouble(columnMap.get(
\"
*
\"
).toString())/ (Double.parseDouble(columnMap.get(
\"
-
\"
).toString())*1000))"
,
"url"
:
"upload/jxiop/amos_studio/C46B483E51ACAC137CBEB5156F6F377.png"
}
...
...
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