Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
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
platform
hp-smart
Commits
3402ced4
Commit
3402ced4
authored
May 08, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-04-30 优化厂区查询
parent
66285939
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletions
+16
-1
HPXSOrg.xml
src/main/java/com/baosight/hpjx/hp/xs/sql/HPXSOrg.xml
+16
-1
No files found.
src/main/java/com/baosight/hpjx/hp/xs/sql/HPXSOrg.xml
View file @
3402ced4
...
@@ -146,7 +146,22 @@
...
@@ -146,7 +146,22 @@
FROM ${platSchema}.TXSOG01
FROM ${platSchema}.TXSOG01
WHERE 1=1
WHERE 1=1
AND ORG_TYPE = 'factory'
AND ORG_TYPE = 'factory'
<include
refid=
"condition"
/>
AND IS_DELETED = '0'
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"orgEname"
>
ORG_ENAME = #orgEname#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"orgCname"
>
ORG_CNAME LIKE CONCAT('%', #orgCname#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"orgId"
>
ORG_ID = #orgId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"parentOrgId"
>
PARENT_ORG_ID = #parentOrgId#
</isNotEmpty>
<include
refid=
"order"
/>
<include
refid=
"order"
/>
</select>
</select>
...
...
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