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
b26d32cc
Commit
b26d32cc
authored
Oct 31, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
装备左侧树sql过滤空code
parent
96767901
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+5
-2
No files found.
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
b26d32cc
...
@@ -1526,7 +1526,7 @@
...
@@ -1526,7 +1526,7 @@
<select
id=
"queryCompanyStaData"
resultType=
"java.util.Map"
>
<select
id=
"queryCompanyStaData"
resultType=
"java.util.Map"
>
SELECT
SELECT
s.biz_org_code AS bizOrgCode,
s.biz_org_code AS bizOrgCode,
c.
CODE
AS categoryCode,
c.
`code`
AS categoryCode,
count( 1 ) AS total
count( 1 ) AS total
FROM
FROM
`wl_equipment_specific` s
`wl_equipment_specific` s
...
@@ -1534,7 +1534,10 @@
...
@@ -1534,7 +1534,10 @@
LEFT JOIN wl_equipment e ON e.id = ed.equipment_id
LEFT JOIN wl_equipment e ON e.id = ed.equipment_id
LEFT JOIN wl_equipment_category c ON c.id = e.category_id
LEFT JOIN wl_equipment_category c ON c.id = e.category_id
WHERE
WHERE
s.biz_org_code
<![CDATA[<>]]>
'' and s.biz_org_code is not null
s.biz_org_code != ''
AND s.biz_org_code IS NOT NULL
AND c.`code` IS NOT NULL
AND c.`code` != ''
GROUP BY
GROUP BY
s.biz_org_code,
s.biz_org_code,
c.`code`
c.`code`
...
...
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