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
f23b3684
Commit
f23b3684
authored
Oct 10, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消防水池逻辑修改
parent
8a73eb42
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
261 additions
and
32 deletions
+261
-32
WaterResourcePoolDto.java
...amos/boot/module/common/api/dto/WaterResourcePoolDto.java
+1
-1
WaterResourcePool.java
...amos/boot/module/common/api/entity/WaterResourcePool.java
+1
-1
FireFightingSystemMapper.java
.../yeejoin/equipmanage/mapper/FireFightingSystemMapper.java
+9
-2
FireFightingSystemServiceImpl.java
...uipmanage/service/impl/FireFightingSystemServiceImpl.java
+2
-2
wl-3.6.0.xml
...ot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
+12
-0
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+226
-26
jcs-1.0.0.0.xml
...ystem-jcs/src/main/resources/db/changelog/jcs-1.0.0.0.xml
+10
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/WaterResourcePoolDto.java
View file @
f23b3684
...
@@ -69,7 +69,7 @@ public class WaterResourcePoolDto extends BaseDto {
...
@@ -69,7 +69,7 @@ public class WaterResourcePoolDto extends BaseDto {
private
float
maxWaterLevel
;
private
float
maxWaterLevel
;
@ApiModelProperty
(
"水池液位显示装置id"
)
@ApiModelProperty
(
"水池液位显示装置id"
)
private
Lo
ng
levelDeviceId
;
private
Stri
ng
levelDeviceId
;
@ApiModelProperty
(
"水池液位显示装置名称"
)
@ApiModelProperty
(
"水池液位显示装置名称"
)
private
String
levelDeviceName
;
private
String
levelDeviceName
;
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/entity/WaterResourcePool.java
View file @
f23b3684
...
@@ -104,7 +104,7 @@ public class WaterResourcePool extends BaseEntity {
...
@@ -104,7 +104,7 @@ public class WaterResourcePool extends BaseEntity {
* 水池液位显示装置id
* 水池液位显示装置id
*/
*/
@TableField
(
"level_device_id"
)
@TableField
(
"level_device_id"
)
private
Lo
ng
levelDeviceId
;
private
Stri
ng
levelDeviceId
;
/**
/**
* 水池液位显示装置名称
* 水池液位显示装置名称
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/FireFightingSystemMapper.java
View file @
f23b3684
...
@@ -453,11 +453,18 @@ public interface FireFightingSystemMapper extends BaseMapper<FireFightingSystemE
...
@@ -453,11 +453,18 @@ public interface FireFightingSystemMapper extends BaseMapper<FireFightingSystemE
List
<
Map
<
String
,
Object
>>
getSystemAlarmInfoNum
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
);
List
<
Map
<
String
,
Object
>>
getSystemAlarmInfoNum
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
);
/**
/**
*
消防水池或者
工业水池信息
* 工业水池信息
* @param bizOrgCode
* @param bizOrgCode
* @return
* @return
*/
*/
List
<
Map
<
String
,
Object
>>
getWaterPoolInfoNum
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
,
@Param
(
"poolType"
)
String
poolType
);
List
<
Map
<
String
,
Object
>>
getWaterIndustryPoolInfoNum
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
);
/**
* 消防水池信息
* @param bizOrgCode
* @return
*/
List
<
Map
<
String
,
Object
>>
getWaterPoolInfoNum
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
);
/**
/**
* 消防水源总量统计
* 消防水源总量统计
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/FireFightingSystemServiceImpl.java
View file @
f23b3684
...
@@ -1459,8 +1459,8 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
...
@@ -1459,8 +1459,8 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
List
<
Map
<
String
,
Object
>>
carInfo
=
fireFightingSystemMapper
.
getCarInfo
(
bizOrgCode
);
List
<
Map
<
String
,
Object
>>
carInfo
=
fireFightingSystemMapper
.
getCarInfo
(
bizOrgCode
);
bigScreenVo
.
setCarNumInfo
(
carInfo
);
bigScreenVo
.
setCarNumInfo
(
carInfo
);
List
<
Map
<
String
,
Object
>>
systemAlarmInfoNum
=
fireFightingSystemMapper
.
getSystemAlarmInfoNum
(
bizOrgCode
);
List
<
Map
<
String
,
Object
>>
systemAlarmInfoNum
=
fireFightingSystemMapper
.
getSystemAlarmInfoNum
(
bizOrgCode
);
List
<
Map
<
String
,
Object
>>
pool
=
fireFightingSystemMapper
.
getWaterPoolInfoNum
(
bizOrgCode
,
"pool"
);
List
<
Map
<
String
,
Object
>>
pool
=
fireFightingSystemMapper
.
getWaterPoolInfoNum
(
bizOrgCode
);
List
<
Map
<
String
,
Object
>>
industryPool
=
fireFightingSystemMapper
.
getWater
PoolInfoNum
(
bizOrgCode
,
"industryPool"
);
List
<
Map
<
String
,
Object
>>
industryPool
=
fireFightingSystemMapper
.
getWater
IndustryPoolInfoNum
(
bizOrgCode
);
bigScreenVo
.
setSystemAlarmInfoNum
(
systemAlarmInfoNum
);
bigScreenVo
.
setSystemAlarmInfoNum
(
systemAlarmInfoNum
);
bigScreenVo
.
setIndustryPool
(
industryPool
);
bigScreenVo
.
setIndustryPool
(
industryPool
);
bigScreenVo
.
setPool
(
pool
);
bigScreenVo
.
setPool
(
pool
);
...
...
amos-boot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
View file @
f23b3684
...
@@ -193,4 +193,15 @@
...
@@ -193,4 +193,15 @@
INSERT INTO `wl_form_group_column` (`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`, `create_date`) VALUES ('133000000319', 'address', '地址', 'String', '132828674817', 'eq', b'0', 'r_fireControlRoom', '2581805', '2022-03-01 12:01:04');
INSERT INTO `wl_form_group_column` (`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`, `create_date`) VALUES ('133000000319', 'address', '地址', 'String', '132828674817', 'eq', b'0', 'r_fireControlRoom', '2581805', '2022-03-01 12:01:04');
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"zs"
id=
"202210101651"
>
<preConditions
onFail=
"MARK_RAN"
>
<tableExists
tableName=
"cb_water_resource_pool"
/>
</preConditions>
<comment>
修改液位显示装置字段类型->需求2022 一个水池可选多个 装置
</comment>
<sql>
ALTER TABLE `cb_water_resource_pool` MODIFY COLUMN `level_device_id` varchar(255) NULL DEFAULT NULL COMMENT '水池液位显示装置id';
</sql>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
\ No newline at end of file
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
f23b3684
...
@@ -2362,7 +2362,8 @@
...
@@ -2362,7 +2362,8 @@
</select>
</select>
<select
id=
"getWaterInfo"
resultType=
"java.util.Map"
>
<select
id=
"getWaterInfo"
resultType=
"java.util.Map"
>
SELECT
select * from (
(SELECT
r.`name`,
r.`name`,
ou.`code`,
ou.`code`,
IFNULL( rp.min_water_level, 0 ) AS minLevel,
IFNULL( rp.min_water_level, 0 ) AS minLevel,
...
@@ -2418,13 +2419,97 @@
...
@@ -2418,13 +2419,97 @@
LEFT JOIN cb_org_usr ou ON ou.biz_org_code = r.biz_org_code
LEFT JOIN cb_org_usr ou ON ou.biz_org_code = r.biz_org_code
AND ou.is_delete = 0
AND ou.is_delete = 0
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN wl_equipment_specific es ON es.id = rp.level_device_id
LEFT JOIN wl_equipment_detail ed ON ed.id = es.equipment_detail_id
LEFT JOIN wl_equipment_specific_index ei ON ei.equipment_specific_id = rp.level_device_id
LEFT JOIN wl_equipment_specific_index ei ON ei.equipment_specific_id = rp.level_device_id
LEFT JOIN wl_equipment_category ec ON ec.id = r.equip_category_id
LEFT JOIN wl_equipment_category ec ON ec.id = r.equip_category_id
LEFT JOIN f_fire_fighting_system fs ON fs.id = r.belong_fighting_system_id
LEFT JOIN f_fire_fighting_system fs ON fs.id = r.belong_fighting_system_id
WHERE
WHERE
r.resource_type IN ( 'pool', 'industryPool' )
r.resource_type = 'industryPool'
AND r.is_delete = 1
AND ou.`code` IS NOT NULL
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
AND r.biz_org_code like concat(#{bizOrgCode}, '%')
</if>
<if
test=
"systemCode!=null and systemCode!=''"
>
AND fs.code = #{systemCode,jdbcType=VARCHAR}
</if>
GROUP BY
r.sequence_nbr) union all
(
SELECT
a.`name`,
a.`code`,
a.minLevel,
a.maxLevel,
(
CASE
WHEN a.nowLevel IS NULL THEN
'--'
WHEN a.nowLevel >= IFNULL( a.minLevel, 0 )
AND a.maxLevel IS NULL THEN
'100'
WHEN IFNULL( a.minLevel, 0 ) > a.nowLevel
AND a.maxLevel IS NULL THEN
'--' ELSE IFNULL((
FORMAT(
abs(
IFNULL(
a.nowLevel,
IFNULL( a.minLevel, 0 )) /
IF
(
IFNULL( a.maxLevel, 0 ) = 0,
1,
IFNULL( a.maxLevel, 0 ))) * 100,
2
)
),
0
)
END
) AS levelAbs,
a.nowLevel,
(
CASE
WHEN a.nowLevel IS NULL
OR a.minLevel IS NULL THEN
'--'
WHEN IFNULL( a.minLevel, 0 ) > IFNULL(
a.nowLevel,
IFNULL( a.minLevel, 0 )) THEN
'缺水' ELSE '正常'
END
) AS levelStatus,
a.volume,
a.image,
a.resource_type,
a.sequence_nbr,
a.`code` AS systemCode
FROM
(
SELECT
r.`name`,
ou.`code`,
IFNULL( rp.min_water_level, 0 ) AS minLevel,
IFNULL( rp.max_water_level, 0 ) AS maxLevel,
avg( CASE WHEN ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' THEN IFNULL( ei.`value`, 0 ) END ) AS nowLevel,
IFNULL( rp.volume, 0 ) AS volume,
ec.image,
r.resource_type,
r.sequence_nbr,
rp.level_device_id,
fs.`code` AS systemCode
FROM
cb_water_resource r
LEFT JOIN cb_org_usr ou ON ou.biz_org_code = r.biz_org_code
AND ou.is_delete = 0
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN wl_equipment_specific_index ei ON FIND_IN_SET( ei.equipment_specific_id, rp.level_device_id ) > 0
LEFT JOIN wl_equipment_category ec ON ec.id = r.equip_category_id
LEFT JOIN f_fire_fighting_system fs ON fs.id = r.belong_fighting_system_id
WHERE
r.resource_type = 'pool'
AND r.is_delete = 1
AND r.is_delete = 1
AND ou.`code` IS NOT NULL
AND ou.`code` IS NOT NULL
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
...
@@ -2435,8 +2520,10 @@
...
@@ -2435,8 +2520,10 @@
</if>
</if>
GROUP BY
GROUP BY
r.sequence_nbr
r.sequence_nbr
) a
)) b
ORDER BY
ORDER BY
levelStatus DESC
levelStatus DESC
,sequence_nbr DESC
</select>
</select>
<select
id=
"getFireSystemInfo"
resultType=
"java.util.Map"
>
<select
id=
"getFireSystemInfo"
resultType=
"java.util.Map"
>
...
@@ -2867,46 +2954,75 @@
...
@@ -2867,46 +2954,75 @@
<select
id=
"getWaterPoolInfoNum"
resultType=
"java.util.Map"
>
<select
id=
"getWaterPoolInfoNum"
resultType=
"java.util.Map"
>
SELECT
SELECT
count( 1 ) AS totalNum,
count( 1 ) AS totalNum,
count( a.
nowLevel
<
a.min
Level OR NULL ) AS abnomalNum,
count( a.
minLevel > a.now
Level OR NULL ) AS abnomalNum,
count( a.nowLevel
>
= a.minLevel OR NULL ) AS nomalNum,
count( a.nowLevel
>
= a.minLevel OR NULL ) AS nomalNum,
(
(
FORMAT (
FORMAT (
abs(((
abs(((
count( a.nowLevel
>
= a.minLevel OR NULL )) /
count( a.nowLevel
>
= a.minLevel OR NULL )) /
IF
IF
(( count( 1 ) = 0 ), 1, count( 1 ) ))) * 100, 2)
(( count( 1 ) = 0 ), 1, count( 1 ) ))) * 100,
2
)
) AS normalAbs
) AS normalAbs
FROM
FROM
(
(
SELECT
SELECT
ifnull( `rp`.`min_water_level`, 0 ) AS `minLevel`,
ifnull( `rp`.`min_water_level`, 0 ) AS `minLevel`,
ifnull( `rp`.`max_water_level`, 0 ) AS `maxLevel`,
ifnull( `rp`.`max_water_level`, 0 ) AS `maxLevel`,
ifnull(
avg( CASE WHEN ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' THEN IFNULL( ei.`value`, 0 ) END ) AS nowLevel
max((
FROM
CASE
`cb_water_resource` `r`
LEFT JOIN `cb_water_resource_pool` `rp` ON `rp`.`resource_id` = `r`.`sequence_nbr`
LEFT JOIN `wl_equipment_specific_index` `ei` ON FIND_IN_SET(`ei`.`equipment_specific_id`,`rp`.`level_device_id`)
WHERE
`r`.`is_delete` = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND r.`biz_org_code` like concat(#{bizOrgCode}, '%')
</if>
AND `r`.`resource_type` = 'pool'
GROUP BY
`r`.`sequence_nbr`
) a
</select>
WHEN ( `ei`.`name_key` = 'FHS_WirelessliquidDetector_WaterLevel' ) THEN
`ei`.`perf_value`
<select
id=
"getWaterIndustryPoolInfoNum"
resultType=
"java.util.Map"
>
END
SELECT
)),
count( 1 ) AS totalNum,
ifnull( `rp`.`min_water_level`, 0 )) AS `nowLevel`
count( a.minLevel > a.nowLevel OR NULL ) AS abnomalNum,
count( a.nowLevel >= a.minLevel OR NULL ) AS nomalNum,
(
FORMAT (
abs(((
count( a.nowLevel >= a.minLevel OR NULL )) /
IF
(( count( 1 ) = 0 ), 1, count( 1 ) ))) * 100,
2
)
) AS normalAbs
FROM
(
SELECT
ifnull( `rp`.`min_water_level`, 0 ) AS `minLevel`,
ifnull( `rp`.`max_water_level`, 0 ) AS `maxLevel`,
MAX( CASE WHEN ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' THEN IFNULL( ei.`value`, 0 ) END ) AS nowLevel
FROM
FROM
`cb_water_resource` `r`
`cb_water_resource` `r`
LEFT JOIN `cb_water_resource_pool` `rp` ON `rp`.`resource_id` = `r`.`sequence_nbr`
LEFT JOIN `cb_water_resource_pool` `rp` ON `rp`.`resource_id` = `r`.`sequence_nbr`
LEFT JOIN `wl_equipment_specific` `es` ON `es`.`id` = `rp`.`level_device_id`
LEFT JOIN `wl_equipment_specific_index` `ei` ON `ei`.`equipment_specific_id` = `rp`.`level_device_id`
LEFT JOIN `wl_equipment_detail` `ed` ON `ed`.`id` = `es`.`equipment_detail_id`
LEFT JOIN `wl_equipment_index` `ei` ON `ei`.`equipment_id` = `ed`.`equipment_id`
WHERE
WHERE
`r`.`is_delete` = 1
`r`.`is_delete` = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND r.`biz_org_code` like concat(#{bizOrgCode}, '%')
AND r.`biz_org_code` like concat(#{bizOrgCode}, '%')
</if>
</if>
AND `r`.`resource_type` = #{poolType}
AND `r`.`resource_type` = 'industryPool'
GROUP BY
GROUP BY
`r`.`sequence_nbr`
`r`.`sequence_nbr`
) a
) a
</select>
</select>
<select
id=
"getWaterPoolVolumeInfo"
resultType=
"java.util.Map"
>
<select
id=
"getWaterPoolVolumeInfo"
resultType=
"java.util.Map"
>
SELECT
SELECT
IFNULL( sum( a.margin ), 0 ) AS margin,
IFNULL( sum( a.margin ), 0 ) AS margin,
...
@@ -4411,7 +4527,8 @@
...
@@ -4411,7 +4527,8 @@
</select>
</select>
<select
id=
"getWaterInfoBySuper"
resultType=
"java.util.Map"
>
<select
id=
"getWaterInfoBySuper"
resultType=
"java.util.Map"
>
SELECT
select * from (
(SELECT
r.`name`,
r.`name`,
ou.`code`,
ou.`code`,
IFNULL( rp.min_water_level, 0 ) AS minLevel,
IFNULL( rp.min_water_level, 0 ) AS minLevel,
...
@@ -4467,13 +4584,94 @@
...
@@ -4467,13 +4584,94 @@
LEFT JOIN cb_org_usr ou ON ou.biz_org_code = r.biz_org_code
LEFT JOIN cb_org_usr ou ON ou.biz_org_code = r.biz_org_code
AND ou.is_delete = 0
AND ou.is_delete = 0
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN wl_equipment_specific es ON es.id = rp.level_device_id
LEFT JOIN wl_equipment_detail ed ON ed.id = es.equipment_detail_id
LEFT JOIN wl_equipment_specific_index ei ON ei.equipment_specific_id = rp.level_device_id
LEFT JOIN wl_equipment_specific_index ei ON ei.equipment_specific_id = rp.level_device_id
LEFT JOIN wl_equipment_category ec ON ec.id = r.equip_category_id
LEFT JOIN wl_equipment_category ec ON ec.id = r.equip_category_id
LEFT JOIN f_fire_fighting_system fs ON fs.id = r.belong_fighting_system_id
LEFT JOIN f_fire_fighting_system fs ON fs.id = r.belong_fighting_system_id
WHERE
WHERE
r.resource_type IN ( 'pool', 'industryPool' )
r.resource_type = 'industryPool'
AND r.is_delete = 1
AND ou.`code` IS NOT NULL
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
AND r.biz_org_code like concat(#{bizOrgCode}, '%')
</if>
GROUP BY
r.sequence_nbr) union all
(
SELECT
a.`name`,
a.`code`,
a.minLevel,
a.maxLevel,
(
CASE
WHEN a.nowLevel IS NULL THEN
'--'
WHEN a.nowLevel >= IFNULL( a.minLevel, 0 )
AND a.maxLevel IS NULL THEN
'100'
WHEN IFNULL( a.minLevel, 0 ) > a.nowLevel
AND a.maxLevel IS NULL THEN
'--' ELSE IFNULL((
FORMAT(
abs(
IFNULL(
a.nowLevel,
IFNULL( a.minLevel, 0 )) /
IF
(
IFNULL( a.maxLevel, 0 ) = 0,
1,
IFNULL( a.maxLevel, 0 ))) * 100,
2
)
),
0
)
END
) AS levelAbs,
a.nowLevel,
(
CASE
WHEN a.nowLevel IS NULL
OR a.minLevel IS NULL THEN
'--'
WHEN IFNULL( a.minLevel, 0 ) > IFNULL(
a.nowLevel,
IFNULL( a.minLevel, 0 )) THEN
'缺水' ELSE '正常'
END
) AS levelStatus,
a.volume,
a.image,
a.resource_type,
a.sequence_nbr,
a.`code` AS systemCode
FROM
(
SELECT
r.`name`,
ou.`code`,
IFNULL( rp.min_water_level, 0 ) AS minLevel,
IFNULL( rp.max_water_level, 0 ) AS maxLevel,
avg( CASE WHEN ei.equipment_index_key = 'FHS_FirePoolDevice_WaterLevel' THEN IFNULL( ei.`value`, 0 ) END ) AS nowLevel,
IFNULL( rp.volume, 0 ) AS volume,
ec.image,
r.resource_type,
r.sequence_nbr,
rp.level_device_id,
fs.`code` AS systemCode
FROM
cb_water_resource r
LEFT JOIN cb_org_usr ou ON ou.biz_org_code = r.biz_org_code
AND ou.is_delete = 0
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN wl_equipment_specific_index ei ON FIND_IN_SET( ei.equipment_specific_id, rp.level_device_id ) > 0
LEFT JOIN wl_equipment_category ec ON ec.id = r.equip_category_id
LEFT JOIN f_fire_fighting_system fs ON fs.id = r.belong_fighting_system_id
WHERE
r.resource_type = 'pool'
AND r.is_delete = 1
AND r.is_delete = 1
AND ou.`code` IS NOT NULL
AND ou.`code` IS NOT NULL
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
...
@@ -4481,8 +4679,10 @@
...
@@ -4481,8 +4679,10 @@
</if>
</if>
GROUP BY
GROUP BY
r.sequence_nbr
r.sequence_nbr
) a
)) b
ORDER BY
ORDER BY
levelStatus DESC
levelStatus DESC
,sequence_nbr DESC
</select>
</select>
<select
id=
"getFoamTankBySuper"
resultType=
"java.util.Map"
>
<select
id=
"getFoamTankBySuper"
resultType=
"java.util.Map"
>
...
...
amos-boot-system-jcs/src/main/resources/db/changelog/jcs-1.0.0.0.xml
View file @
f23b3684
...
@@ -3448,5 +3448,15 @@
...
@@ -3448,5 +3448,15 @@
CHANGE COLUMN `user_name` `usr_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名' AFTER `sequence_nbr`
CHANGE COLUMN `user_name` `usr_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名' AFTER `sequence_nbr`
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"zs"
id=
"202210101353"
>
<preConditions
onFail=
"MARK_RAN"
>
<tableExists
tableName=
"cb_water_resource_pool"
/>
</preConditions>
<comment>
修改液位显示装置字段类型->需求2022 一个水池可选多个 装置
</comment>
<sql>
ALTER TABLE `cb_water_resource_pool` MODIFY COLUMN `level_device_id` varchar(255) NULL DEFAULT NULL COMMENT '水池液位显示装置id';
</sql>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
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