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
d31fcbc2
Commit
d31fcbc2
authored
Oct 27, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
dd879ff6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
BigScreenAnalyseController.java
...dule/jxiop/biz/controller/BigScreenAnalyseController.java
+2
-2
IdxBizFanHealthLevelMapper.xml
...n/resources/mapper/cluster/IdxBizFanHealthLevelMapper.xml
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/BigScreenAnalyseController.java
View file @
d31fcbc2
...
...
@@ -1033,12 +1033,12 @@ public class BigScreenAnalyseController extends BaseController {
public
ResponseModel
<
Boolean
>
updateRowAndManyTable
(
@RequestBody
Map
<
String
,
Object
>
kv
)
{
if
(
"安全"
.
equals
(
kv
.
get
(
"HEALTH_LEVEL"
).
toString
())
&&
(!
"100.0"
.
equals
(
kv
.
get
(
"GROUP_UPPER_LIMIT"
).
toString
())
||
!
"100"
.
equals
(
kv
.
get
(
"GROUP_UPPER_LIMIT"
).
toString
())))
{
&&
!
"100"
.
equals
(
kv
.
get
(
"GROUP_UPPER_LIMIT"
).
toString
())))
{
throw
new
RuntimeException
(
"安全的分数上限只能是100"
);
}
if
(
"危险"
.
equals
(
kv
.
get
(
"HEALTH_LEVEL"
).
toString
())
&&
(!
"0.0"
.
equals
(
kv
.
get
(
"GROUP_LOWER_LIMIT"
).
toString
())
||
!
"0"
.
equals
(
kv
.
get
(
"GROUP_LOWER_LIMIT"
).
toString
())))
{
&&
!
"0"
.
equals
(
kv
.
get
(
"GROUP_LOWER_LIMIT"
).
toString
())))
{
throw
new
RuntimeException
(
"危险的分数下限只能是0"
);
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizFanHealthLevelMapper.xml
View file @
d31fcbc2
...
...
@@ -8,7 +8,7 @@
set GROUP_LOWER_LIMIT = #{groupLowerLimit}
</if>
<if
test=
"groupUpperLimit != null and groupUpperLimit != ''"
>
,
set
GROUP_UPPER_LIMIT = #{groupUpperLimit}
, GROUP_UPPER_LIMIT = #{groupUpperLimit}
</if>
WHERE
ANALYSIS_OBJ_TYPE = #{analysisObjType}
...
...
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