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
8304bd21
Commit
8304bd21
authored
Aug 09, 2024
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员bug修改
parent
495b6eeb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
3 deletions
+58
-3
FirefightersPostMapper.xml
...-api/src/main/resources/mapper/FirefightersPostMapper.xml
+54
-1
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+4
-2
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/FirefightersPostMapper.xml
View file @
8304bd21
...
@@ -411,7 +411,60 @@
...
@@ -411,7 +411,60 @@
AND fp.is_delete = 0
AND fp.is_delete = 0
AND concat( fp.post_qualification_code, ',' ) REGEXP concat( REPLACE ( '1431', ',', ',|' ), ',' ) > 0
AND concat( fp.post_qualification_code, ',' ) REGEXP concat( REPLACE ( '1431', ',', ',|' ), ',' ) > 0
<if
test=
'bizOrgCode!=null and bizOrgCode!=""'
>
and LEFT(a.biz_org_code,18) like concat (#{bizOrgCode},'%')
</if>
<if
test=
'bizOrgCode!=null and bizOrgCode!=""'
>
and LEFT(a.biz_org_code,18) like concat (#{bizOrgCode},'%')
</if>
) AS ejjzjgxfjsNum
) AS ejjzjgxfjsNum,
(
SELECT
count( 1 ) AS qtNum
FROM
(
SELECT
*
FROM
(
SELECT
ou.sequence_nbr,
ou.biz_org_type,
ou.biz_org_name,
ou.biz_org_code,
IFNULL( MAX( CASE WHEN cfi.field_code = 'peopleType' THEN field_value END ), '' ) AS peopleType,
ou.is_delete
FROM
cb_org_usr ou
LEFT JOIN cb_dynamic_form_instance cfi ON ou.sequence_nbr = cfi.instance_id
WHERE
ou.is_delete = '0'
GROUP BY
ou.sequence_nbr
) c
WHERE
c.peopleType = '1602'
) a
LEFT JOIN cb_firefighters_post fp ON a.sequence_nbr = fp.org_usr_id
WHERE
a.biz_org_name IS NOT NULL
AND a.is_delete = 0
AND a.biz_org_type = 'PERSON'
AND fp.is_delete = 0
AND REPLACE (
REPLACE (
REPLACE ( REPLACE ( REPLACE ( REPLACE ( fp.post_qualification_code, ',', '' ), '1427', '' ), '1428', '' ), '1429', '' ),
'1430',
''
),
'1431',
''
) IS NOT NULL
AND REPLACE (
REPLACE (
REPLACE ( REPLACE ( REPLACE ( REPLACE ( fp.post_qualification_code, ',', '' ), '1427', '' ), '1428', '' ), '1429', '' ),
'1430',
''
),
'1431',
''
) != ''
<if
test=
'bizOrgCode!=null and bizOrgCode!=""'
>
and LEFT(a.biz_org_code,18) like concat (#{bizOrgCode},'%')
</if>
) as qtNum
)
)
</select>
</select>
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
8304bd21
...
@@ -1724,7 +1724,9 @@
...
@@ -1724,7 +1724,9 @@
<select
id=
"getCenterPersonInfoPage"
resultType=
"Map"
>
<select
id=
"getCenterPersonInfoPage"
resultType=
"Map"
>
SELECT
SELECT
a.biz_org_code AS bizOrgCode,
LEFT (
a.biz_org_code,
18) AS bizOrgCode,
(
(
CASE
CASE
WHEN LENGTH( a.biz_org_code ) > 18 THEN
WHEN LENGTH( a.biz_org_code ) > 18 THEN
...
@@ -1839,7 +1841,7 @@
...
@@ -1839,7 +1841,7 @@
AND a.is_delete = 0
AND a.is_delete = 0
AND a.biz_org_type = 'PERSON'
AND a.biz_org_type = 'PERSON'
AND fp.is_delete = 0
AND fp.is_delete = 0
AND LE
FT ( a.biz_org_code, 18 ) LIKE concat ( 'LSHLZ1wYXL3mJmHZyG', '%' )
AND LE
NGTH( a.biz_org_code ) = 18
<if
test=
'bizOrgCode!=null and bizOrgCode!=""'
>
<if
test=
'bizOrgCode!=null and bizOrgCode!=""'
>
and LEFT(a.biz_org_code,18) like concat (#{bizOrgCode},'%')
and LEFT(a.biz_org_code,18) like concat (#{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