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
dcf4873b
Commit
dcf4873b
authored
May 31, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改责任制管理人员统计
parent
16a297ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+13
-16
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
dcf4873b
...
@@ -1545,14 +1545,13 @@ LEFT JOIN (
...
@@ -1545,14 +1545,13 @@ LEFT JOIN (
FROM
FROM
(
(
SELECT DISTINCT
SELECT DISTINCT
u.sequence_nbr AS sequenceNbr,
u.sequence_nbr AS sequenceNbr,
u.person_status AS personStatus,
u.person_status AS personStatus,
cf.biz_org_N
ame AS bizOrgName,
u.parent_n
ame AS bizOrgName,
cf.`
name` AS `name`,
u.`biz_org_
name` AS `name`,
g.*
g.*
FROM
FROM
cb_org_usr u
cb_org_usr u
LEFT JOIN cb_firefighters cf ON cf.org_usr_id = u.sequence_nbr
LEFT JOIN (
LEFT JOIN (
SELECT
SELECT
v.`instance_id`,
v.`instance_id`,
...
@@ -1571,7 +1570,7 @@ LEFT JOIN (
...
@@ -1571,7 +1570,7 @@ LEFT JOIN (
) g ON u.sequence_nbr = g.instance_id
) g ON u.sequence_nbr = g.instance_id
WHERE
WHERE
u.biz_org_type = 'person'
u.biz_org_type = 'person'
AND g.peopleType IN ('1601', '1602', '1603')
AND g.peopleType IN ('1601', '1602', '1603'
, '1604'
)
AND u.is_delete = 0
AND u.is_delete = 0
<if
test=
"map.bizOrgCode != null and map.bizOrgCode != ''"
>
<if
test=
"map.bizOrgCode != null and map.bizOrgCode != ''"
>
AND u.biz_org_code LIKE CONCAT(#{map.bizOrgCode}, '%')
AND u.biz_org_code LIKE CONCAT(#{map.bizOrgCode}, '%')
...
@@ -1606,14 +1605,13 @@ LEFT JOIN (
...
@@ -1606,14 +1605,13 @@ LEFT JOIN (
FROM
FROM
(
(
SELECT DISTINCT
SELECT DISTINCT
u.sequence_nbr AS sequenceNbr,
u.sequence_nbr AS sequenceNbr,
u.person_status AS personStatus,
u.person_status AS personStatus,
cf.biz_org_N
ame AS bizOrgName,
u.parent_n
ame AS bizOrgName,
cf.`
name` AS `name`,
u.`biz_org_
name` AS `name`,
g.*
g.*
FROM
FROM
cb_org_usr u
cb_org_usr u
LEFT JOIN cb_firefighters cf ON cf.org_usr_id = u.sequence_nbr
LEFT JOIN (
LEFT JOIN (
SELECT
SELECT
v.`instance_id`,
v.`instance_id`,
...
@@ -1632,9 +1630,8 @@ LEFT JOIN (
...
@@ -1632,9 +1630,8 @@ LEFT JOIN (
) g ON u.sequence_nbr = g.instance_id
) g ON u.sequence_nbr = g.instance_id
WHERE
WHERE
u.biz_org_type = 'person'
u.biz_org_type = 'person'
AND g.peopleType IN ('1601', '1602', '1603')
AND g.peopleType IN ('1601', '1602', '1603'
, '1604'
)
AND u.is_delete = 0
AND u.is_delete = 0
AND cf.biz_org_name is not null
<if
test=
"map.bizOrgCode != null and map.bizOrgCode != ''"
>
<if
test=
"map.bizOrgCode != null and map.bizOrgCode != ''"
>
AND u.biz_org_code LIKE CONCAT(#{map.bizOrgCode}, '%')
AND u.biz_org_code LIKE CONCAT(#{map.bizOrgCode}, '%')
</if>
</if>
...
...
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