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
f14f1b8a
Commit
f14f1b8a
authored
Jun 13, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改预警详情装备信息bug
parent
43fd9899
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
3 deletions
+41
-3
SupervisionConfigureController.java
...quipmanage/controller/SupervisionConfigureController.java
+11
-1
EquipmentDetailServiceImpl.java
.../equipmanage/service/impl/EquipmentDetailServiceImpl.java
+1
-1
wl-3.6.0.xml
...ot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
+28
-0
EquipmentDetailMapper.xml
...equip/src/main/resources/mapper/EquipmentDetailMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/SupervisionConfigureController.java
View file @
f14f1b8a
...
...
@@ -593,11 +593,21 @@ public class SupervisionConfigureController extends AbstractBaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
.
PersonIdentity
personIdentity
=
reginParams
.
getPersonIdentity
();
if
(!
ValidationUtil
.
isEmpty
(
personIdentity
))
{
bizOrgCode
=
personIdentity
.
getBizOrgCode
();
if
(
personIdentity
.
getCompanyBizOrgCode
()
==
null
)
{
bizOrgCode
=
personIdentity
.
getBizOrgCode
();
}
else
{
bizOrgCode
=
personIdentity
.
getCompanyBizOrgCode
();
}
if
(
bizOrgCode
==
null
)
{
return
CommonResponseUtil
.
success
(
null
);
}
}
// if (!ValidationUtil.isEmpty(personIdentity)) {
// bizOrgCode = personIdentity.getBizOrgCode();
// if (bizOrgCode == null) {
// return CommonResponseUtil.success(null);
// }
// }
}
List
<
Map
<
String
,
Object
>>
list
=
supervisionVideoService
.
selectAllPressureName
(
bizOrgCode
);
return
CommonResponseUtil
.
success
(
list
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentDetailServiceImpl.java
View file @
f14f1b8a
...
...
@@ -389,7 +389,7 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
log
.
error
(
"时间格式异常:"
,
e
);
}
}
// 剩余服役天数 = 报废日期 - 当前日期
// 剩余服役天数 =
计划
报废日期 - 当前日期
Date
scrapDate
=
equipmentDetail
.
getScrapDate
();
if
(
Objects
.
nonNull
(
scrapDate
))
{
Date
nowDate
=
DateUtils
.
getDateNow
();
...
...
amos-boot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
View file @
f14f1b8a
...
...
@@ -1190,4 +1190,31 @@
esi.alarm_rule = ( SELECT alarm_rule FROM wl_equipment_index wei WHERE esi.equipment_index_id = wei.id );
</sql>
</changeSet>
<changeSet
author=
"lixm"
id=
"202403120101"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"cb_water_resource_pool"
columnName=
"output_flow_rate"
/>
</not>
</preConditions>
<comment>
cb_water_resource_pool add column
</comment>
<sql>
ALTER TABLE `cb_water_resource_pool`
ADD COLUMN `output_flow_rate` float(10, 2) NULL COMMENT '出口流量(L/s)' AFTER `level_device_name`;
</sql>
</changeSet>
<changeSet
author=
"zs"
id=
"20240401-zs-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"cb_water_resource_pool"
columnName=
"pump_device_id"
/>
</not>
</preConditions>
<comment>
modify table cb_water_resource_pool add columns
</comment>
<sql>
ALTER TABLE `cb_water_resource_pool`
ADD pump_device_id varchar(1000) DEFAULT NULL COMMENT '消防泵装置ids',
ADD pump_device_name varchar(1500) DEFAULT NULL COMMENT '消防泵装置名称s';
</sql>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
amos-boot-system-equip/src/main/resources/mapper/EquipmentDetailMapper.xml
View file @
f14f1b8a
...
...
@@ -173,7 +173,7 @@
<select
id=
"selectEquipScrapDate"
resultType=
"java.util.Map"
>
SELECT
DATE_ADD(DATE_FORMAT(ed.production_date, '%Y-%m-%d'), INTERVAL e.expiry_date YEAR) AS planScrapDate,
DATE_ADD(DATE_FORMAT(ed.production_date, '%Y-%m-%d'), INTERVAL e
d
.expiry_date YEAR) AS planScrapDate,
spd.create_date AS scrapDate
FROM
wl_equipment_specific es
...
...
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