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
7197d7bd
Commit
7197d7bd
authored
Aug 10, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_dl' into develop_dl
parents
f96a6142
fabcae4b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
4 deletions
+23
-4
EquipTypeAmountPageDTO.java
...equipmanage/common/entity/dto/EquipTypeAmountPageDTO.java
+4
-0
EquipTypeImgAmountVO.java
...in/equipmanage/common/entity/vo/EquipTypeImgAmountVO.java
+4
-0
EquipmentManageVo.java
.../com/yeejoin/equipmanage/common/vo/EquipmentManageVo.java
+2
-0
EquipmentManageMapper.xml
...equip/src/main/resources/mapper/EquipmentManageMapper.xml
+2
-1
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+11
-3
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/entity/dto/EquipTypeAmountPageDTO.java
View file @
7197d7bd
...
...
@@ -78,4 +78,8 @@ public class EquipTypeAmountPageDTO extends BaseDTO<EquipmentSpecific> {
@ApiModelProperty
(
value
=
"车牌号"
)
private
String
carNum
;
@ApiModelProperty
(
value
=
"设备红黄绿码状态"
)
private
String
equipStatus
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/entity/vo/EquipTypeImgAmountVO.java
View file @
7197d7bd
...
...
@@ -69,4 +69,8 @@ public class EquipTypeImgAmountVO {
@ApiModelProperty
(
value
=
"车牌号"
)
private
String
carNum
;
@ApiModelProperty
(
value
=
"分类名称/车或者装备"
)
private
String
systemType
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/EquipmentManageVo.java
View file @
7197d7bd
...
...
@@ -129,4 +129,6 @@ public class EquipmentManageVo implements Serializable {
private
String
fullName
;
private
String
categoryCode
;
private
String
systemStatus
;
}
amos-boot-system-equip/src/main/resources/mapper/EquipmentManageMapper.xml
View file @
7197d7bd
...
...
@@ -8,6 +8,7 @@
sys.code as code,
sys.form_group_id,
sys.instance_id,
sys.system_status as systemStatus,
date_format(sys.install_date,'%Y-%m-%d') AS installDate,
date_format(sys.first_maintenance_date,'%Y-%m-%d') AS firstMaintenanceDate,
sys.charge_person_name as chargePerson,
...
...
@@ -56,7 +57,7 @@
<if
test=
"formGroupId != null and formGroupId != '' and formGroupId != '-1'"
>
AND sys.form_group_id = #{formGroupId}
</if>
order by
sys.id
DESC
order by
CONVERT(sys.biz_org_name USING gbk) ASC, sys.system_status
DESC
LIMIT #{spage},#{pageSize}
</select>
<select
id=
"queryEquipmenCount"
resultType=
"long"
>
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
7197d7bd
...
...
@@ -31,6 +31,7 @@
<result
property=
"status"
column=
"status"
></result>
<result
property=
"type"
column=
"type"
></result>
<result
property=
"code"
column=
"code"
></result>
<result
property=
"systemType"
column=
"systemType"
></result>
<result
property=
"iotCode"
column=
"iotCode"
></result>
<result
property=
"eqtype"
column=
"eqtype"
></result>
<result
property=
"bizOrgCode"
column=
"bizOrgCode"
></result>
...
...
@@ -1869,6 +1870,7 @@
wlc.standard,
wle.img,
wlc.`NAME` equipmentName,
wec.name as systemType,
NULL AS full_name,
wlun.NAME unitName,
NULL AS systemName,
...
...
@@ -1932,6 +1934,9 @@
<if
test=
"equipTypeAmountPage.carNum!=null and equipTypeAmountPage.carNum!=''"
>
And wlc.car_num LIKE CONCAT('%',#{equipTypeAmountPage.carNum},'%')
</if>
<if
test=
"equipTypeAmountPage.equipStatus!=null and equipTypeAmountPage.equipStatus!=''"
>
And wlc.equip_status = #{equipTypeAmountPage.equipStatus}
</if>
<if
test=
"equipTypeAmountPage.keyword!=null and equipTypeAmountPage.keyword!=''"
>
And (wlc.`NAME` LIKE CONCAT('%',#{equipTypeAmountPage.keyword},'%') OR wlc.car_num LIKE CONCAT('%',#{equipTypeAmountPage.keyword},'%'))
</if>
...
...
@@ -1960,6 +1965,7 @@
wled.standard,
wle.img,
wles.name equipmentName,
wec.name as systemType,
concat_ws('-',wlws.full_name,wled.area) as full_name,
wlws.name as belongBuildName,
wlun.NAME unitName,
...
...
@@ -1997,8 +2003,7 @@
LEFT JOIN wl_equipment_category wec ON wle.category_id = wec.id
WHERE 1=1
<if
test=
"codeHead!=null and codeHead!='' and codeHead!=' '"
>
<!-- and LEFT (wle.CODE, #{hierarchy}) = #{codeHead}-->
and wec.`code` like concat(#{codeHead}, '%')
and wec.`code` like concat(LEFT(#{codeHead}, #{hierarchy}), '%')
</if>
<if
test=
"equipTypeAmountPage.industryCode!=null"
>
and wec.industry_code = #{equipTypeAmountPage.industryCode}
...
...
@@ -2033,6 +2038,9 @@
<if
test=
"equipTypeAmountPage.status == 0"
>
and wlsd.warehouse_structure_id is not null
</if>
<if
test=
"equipTypeAmountPage.equipStatus!=null and equipTypeAmountPage.equipStatus!=''"
>
and wlsd.equip_status = #{equipTypeAmountPage.equipStatus}
</if>
<if
test=
"equipTypeAmountPage.equipmentName!=null and equipTypeAmountPage.equipmentName!=''"
>
AND wled.name LIKE CONCAT('%',#{equipTypeAmountPage.equipmentName},'%')
</if>
...
...
@@ -2053,7 +2061,7 @@
<if
test=
"equipTypeAmountPage.bizOrgCode!=null and equipTypeAmountPage.bizOrgCode!=''"
>
AND s1.bizOrgCode LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
</if>
order by createDate DESC
order by
CONVERT(bizOrgName USING gbk) ASC, equipStatus DESC ,
createDate DESC
</select>
<select
id=
"listByBizOrgCode"
resultType=
"java.util.Map"
>
...
...
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