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
7e3a8fca
Commit
7e3a8fca
authored
Oct 28, 2021
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、隐患bug修改
2、消防监督app优化 3、数据库配置文件修改
parent
488f71da
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
5 deletions
+12
-5
PageParam.java
...m/yeejoin/amos/latentdanger/business/param/PageParam.java
+1
-1
LatentDangerServiceImpl.java
...danger/business/service/impl/LatentDangerServiceImpl.java
+4
-0
application-dev.properties
...atentdanger/src/main/resources/application-dev.properties
+2
-1
application-dev.properties
...supervision/src/main/resources/application-dev.properties
+2
-1
pointMapper.xml
...-supervision/src/main/resources/db/mapper/pointMapper.xml
+3
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-latentdanger-biz/src/main/java/com/yeejoin/amos/latentdanger/business/param/PageParam.java
View file @
7e3a8fca
...
...
@@ -113,7 +113,7 @@ public class PageParam<K, V> extends HashMap<K, V> implements Pageable {
if
(
this
.
get
(
"current"
)
instanceof
String
)
{
return
Integer
.
parseInt
((
String
)
this
.
get
(
"current"
));
}
else
{
return
(
Integer
)(
this
.
get
(
"current"
));
return
(
Integer
)(
this
.
get
(
"current"
))
<=
0
?
1
:
(
Integer
)(
this
.
get
(
"current"
))
;
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-latentdanger-biz/src/main/java/com/yeejoin/amos/latentdanger/business/service/impl/LatentDangerServiceImpl.java
View file @
7e3a8fca
...
...
@@ -2043,6 +2043,7 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
if
(
ValidationUtil
.
isEmpty
(
latentDanger
))
{
throw
new
Exception
(
"隐患不存"
);
}
latentDangerDto
.
setDangerPosition
(
null
);
Bean
.
copyExistPropertis
(
latentDangerDto
,
latentDanger
);
if
(!
ValidationUtil
.
isEmpty
(
latentDangerDto
.
getPhotoUrl
()))
{
latentDanger
.
setPhotoUrls
(
Joiner
.
on
(
","
).
join
(
latentDangerDto
.
getPhotoUrl
()));
...
...
@@ -2066,6 +2067,9 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
executeSubmit
(
executeParam
,
latentDanger
,
userId
,
userName
,
deptId
,
deptName
,
executeSubmitDto
,
reginParams
);
if
(!
executeSubmitDto
.
getIsOk
())
{
throw
new
Exception
(
executeSubmitDto
.
getMsg
());
}
return
executeSubmitDto
;
}
...
...
amos-boot-system-latentdanger/src/main/resources/application-dev.properties
View file @
7e3a8fca
...
...
@@ -18,7 +18,8 @@ ribbon.MaxAutoRetriesNextServer = 2
ribbon.MaxAutoRetries
=
1
#DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.10.66:3306/safety-business-3.0.1?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.url
=
jdbc:mysql://172.16.6.60:3306/safety-business-3.0
\
.1?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
root_123
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
...
...
amos-boot-system-supervision/src/main/resources/application-dev.properties
View file @
7e3a8fca
#DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.11.20:3306/amos-supervision_v1.0?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.url
=
jdbc:mysql://172.16.6.60:3306/amos_supervision_v1
\
.0?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
root_123
## eureka properties:
...
...
amos-boot-system-supervision/src/main/resources/db/mapper/pointMapper.xml
View file @
7e3a8fca
...
...
@@ -1168,8 +1168,9 @@
LEFT JOIN p_check_input pci ON pci.route_point_item_id = ppi.id
LEFT JOIN p_check_shot pcs ON pci.id = pcs.check_input_id
WHERE
prp.route_id = #{routeId} AND prp.point_id = #{pointId} AND pii.is_delete = 0 AND
( pci.input_value is NULL OR pci.input_value
<![CDATA[<>]]>
'pass')
prp.route_id = #{routeId} AND prp.point_id = #{pointId} AND pii.is_delete = 0
# AND
# ( pci.input_value is NULL OR pci.input_value
<![CDATA[<>]]>
'pass')
GROUP BY ppi.id
</select>
...
...
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