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
5fa81cb2
Commit
5fa81cb2
authored
Dec 20, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.将公司或者部门转换成公司数据,否则同步时部门数据归属biz_org_code会有丢失
parent
9a5d3f08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
CheckInputMapper.xml
...-patrol/src/main/resources/db/mapper/CheckInputMapper.xml
+12
-12
No files found.
amos-boot-system-patrol/src/main/resources/db/mapper/CheckInputMapper.xml
View file @
5fa81cb2
...
...
@@ -59,7 +59,7 @@
</select>
<select
id=
"getCheckInputSyncBoList"
resultType=
"com.yeejoin.amos.patrol.business.bo.CheckInputSyncBo"
parameterType=
"java.util.Map"
>
<![CDATA[
SELECT
SELECT
ci.id,
ci.input_name,
ci.input_value,
...
...
@@ -120,19 +120,19 @@
LEFT JOIN wl_warehouse_structure wws ON wws.id = pp.risk_source_id
LEFT JOIN (
SELECT
biz_org_name,
biz_org_code bzOrgCode,
amos_org_id,
amos_org_code,
`code`
o.
biz_org_name,
o.
biz_org_code bzOrgCode,
o.
amos_org_id,
o.
amos_org_code,
o.
`code`
FROM
cb_org_usr
cb_org_usr o,
`idx_biz_station_info` s
WHERE
amos_org_code <>
''
AND amos_org_code IS NOT NULL
AND biz_org_type = 'COMPANY'
and is_delete = 0
) cou ON cou.bzOrgCode = ci.org_code ]]>
o.biz_org_type = 'COMPANY'
and o.is_delete = 0
and o.`code` = s.`code`
) cou ON LOCATE(cou.bzOrgCode, ci.org_code) >
0 ]]>
<where>
<if
test=
"id != null"
>
ci.id = #{id}
...
...
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