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
e30f7903
Commit
e30f7903
authored
Nov 07, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改统计定时任务生成sql
parent
c8cb56fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
AlertStatisticsMapper.xml
...3-api/src/main/resources/mapper/AlertStatisticsMapper.xml
+6
-2
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/resources/mapper/AlertStatisticsMapper.xml
View file @
e30f7903
...
@@ -13,8 +13,12 @@
...
@@ -13,8 +13,12 @@
FROM (
FROM (
SELECT (
SELECT (
SELECT COUNT(1)
SELECT COUNT(1)
FROM idx_biz_jg_supervision_info
FROM idx_biz_jg_supervision_info jsi
WHERE ORG_BRANCH_CODE LIKE concat(#{orgCode}, '%')) AS elevatorNum,
LEFT JOIN idx_biz_jg_other_info joi ON
jsi.RECORD = joi.RECORD
WHERE jsi.ORG_BRANCH_CODE LIKE concat(#{orgCode}, '%')
AND joi.CLAIM_STATUS = '已认领'
) AS elevatorNum,
(SELECT COUNT(1)
(SELECT COUNT(1)
FROM tz_alert_called
FROM tz_alert_called
WHERE biz_org_code LIKE concat(#{orgCode}, '%') and call_time BETWEEN #{startDate} and #{endDate}) AS emergencyEventsAll,
WHERE biz_org_code LIKE concat(#{orgCode}, '%') and call_time BETWEEN #{startDate} and #{endDate}) AS emergencyEventsAll,
...
...
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