Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AmosBankRoot
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
1
Merge Requests
1
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
bank
AmosBankRoot
Commits
ada3b161
Commit
ada3b161
authored
May 18, 2020
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点状态,更新
parent
a85fe42f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
InspectionController.java
...om/yeejoin/amos/bank/controller/InspectionController.java
+1
-1
dbTemplate_risk_statistics.xml
...c/main/resources/db/mapper/dbTemplate_risk_statistics.xml
+4
-3
No files found.
AmosBankService/src/main/java/com/yeejoin/amos/bank/controller/InspectionController.java
View file @
ada3b161
...
@@ -91,7 +91,7 @@ public class InspectionController extends BaseController{
...
@@ -91,7 +91,7 @@ public class InspectionController extends BaseController{
if
(
map
!=
null
){
if
(
map
!=
null
){
int
status
=
Integer
.
valueOf
(
map
.
get
(
"status"
).
toString
());
int
status
=
Integer
.
valueOf
(
map
.
get
(
"status"
).
toString
());
String
code
=
map
.
get
(
"code"
).
toString
();
String
code
=
map
.
get
(
"code"
).
toString
();
if
(
status
==
2
){
if
(
status
==
1
){
map1
.
put
(
"pointtype"
,
true
);
map1
.
put
(
"pointtype"
,
true
);
}
else
{
}
else
{
map1
.
put
(
"pointtype"
,
false
);
map1
.
put
(
"pointtype"
,
false
);
...
...
AmosBankStart/src/main/resources/db/mapper/dbTemplate_risk_statistics.xml
View file @
ada3b161
...
@@ -314,10 +314,10 @@
...
@@ -314,10 +314,10 @@
<select
id=
"getporint"
resultType=
"java.util.Map"
>
<select
id=
"getporint"
resultType=
"java.util.Map"
>
SELECT
SELECT
p_point.org_code code,
p_alarm_point.`code` code ,
p_point.status
p_alarm_point.is_alarm status
from p_point where p_point.id=#{pointid}
from p_alarm_point where p_alarm_point.point_type=3 and p_alarm_point.is_alarm=1 and p_alarm_point.point_id=#{pointid}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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