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
f309c0d2
Commit
f309c0d2
authored
Feb 08, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改临期报废设备列表bug
parent
66efb316
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+5
-4
No files found.
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
f309c0d2
...
...
@@ -1821,13 +1821,14 @@
SELECT
`s`.`name` AS `equipName`,
`si`.`equipment_index_key` AS `equipmentIndexKey`,
(CASE si.`value` WHEN 'true' THEN '是' WHEN 'false' THEN '否' ELSE concat(
si.`value`
, IFNULL(wei.unit, '')) END)
(CASE si.`value` WHEN 'true' THEN '是' WHEN 'false' THEN '否' ELSE concat(
ifnull(si.`value`,'--')
, IFNULL(wei.unit, '')) END)
AS `value`,
'' AS standardValue,
si.update_date AS `time`,
DATE_FORMAT( si.update_date, '%Y-%m-%d %H:%i:%s' )
AS `time`,
`si`.`equipment_index_name` AS `equipmentIndexName`,
`s`.`code` AS `code`,
a.`name` AS `areaName`
,
ifnull(ed.area, '--') as area
,
(SELECT
group_concat( `fs`.`charge_person_name` SEPARATOR ',' )
FROM
...
...
@@ -1844,7 +1845,7 @@
0
<![CDATA[<>]]>
find_in_set( `fs`.`id`, `s`.`system_id` ))) AS `fightSysName`
FROM
`wl_equipment_specific_index` `si` JOIN `wl_equipment_specific` `s`
LEFT JOIN wl_
area a ON a.id = s.area_
id
LEFT JOIN wl_
equipment_detail ed ON s.equipment_detail_id = ed.
id
LEFT JOIN wl_equipment_index wei ON wei.id = si.equipment_index_id
WHERE
`si`.`equipment_specific_id` = `s`.`id` AND si.is_alarm = 0
...
...
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