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
3c97d9b2
Commit
3c97d9b2
authored
Jul 25, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.1.统计服务合并,接口api整理
parent
83049baf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
AlertCalledMapper.xml
...e-ymt-api/src/main/resources/mapper/AlertCalledMapper.xml
+8
-8
No files found.
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
3c97d9b2
...
...
@@ -528,19 +528,20 @@
SELECT
a.sequence_nbr AS alertId,
a.region_code AS regionCode,
e.rescue_code
AS rescueCode,
ibjoi.CODE96333
AS rescueCode,
a.alarm_type_code AS alarmTypeCode,
a.alarm_type AS alarmType,
CONCAT(
e.province ,e.city ,e.district
) AS area,
CONCAT(
ibjui.PROVINCE_NAME ,ibjui.CITY_NAME ,ibjui.COUNTY_NAME
) AS area,
a.address AS address,
a.call_time AS callTime,
e.longitude AS long
itude,
e.latitude AS lat
itude,
ifnull ( ibjui."LONGITUDE_LATITUDE"::json->> 'latitude', null ) AS lat
itude,
ifnull ( ibjui."LONGITUDE_LATITUDE"::json->> 'longitude', null ) AS long
itude,
a.alert_stage AS alertStatus,
e.sequence_nbr
AS elevatorId,
e.register_code
AS elevatorCode
ibjui.RECORD
AS elevatorId,
ibjoi.SUPERVISORY_CODE
AS elevatorCode
FROM tz_alert_called a
LEFT JOIN tcb_elevator e ON e.sequence_nbr = a.equipment_id
LEFT JOIN idx_biz_jg_other_info ibjoi ON ibjoi.RECORD = a.equipment_id
LEFT JOIN idx_biz_jg_use_info ibjui ON ibjui.RECORD = ibjoi.RECORD
WHERE a.is_delete = 0
<choose>
<when
test=
"isHistory == true"
>
...
...
@@ -560,7 +561,6 @@
</foreach>
</if>
order by a.call_time desc
</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