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
ca1c5d3a
Commit
ca1c5d3a
authored
Sep 24, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.物料清单查询不一致问题修复
parent
40eaee7e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
HPSC002.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC002.xml
+6
-3
No files found.
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC002.xml
View file @
ca1c5d3a
...
@@ -204,7 +204,8 @@
...
@@ -204,7 +204,8 @@
<include
refid=
"order"
/>
<include
refid=
"order"
/>
</select>
</select>
<select
id=
"appQuery"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hpjx.hp.sc.domain.HPSC002"
>
<select
id=
"appQuery"
resultClass=
"com.baosight.hpjx.hp.sc.domain.HPSC002"
>
SELECT * FROM (
SELECT
SELECT
<include
refid=
"column1"
/>
<include
refid=
"column1"
/>
,ifnull(C.CKNUM,0) as "cknum",ifnull(C.RKNUM,0) as "rknum",ifnull(C.PROJ_STATUS,1) as "projStatus"
,ifnull(C.CKNUM,0) as "cknum",ifnull(C.RKNUM,0) as "rknum",ifnull(C.PROJ_STATUS,1) as "projStatus"
...
@@ -222,10 +223,12 @@
...
@@ -222,10 +223,12 @@
AND PARENT_ID NOT IN ('root')
AND PARENT_ID NOT IN ('root')
AND DEL_STATUS = 0
AND DEL_STATUS = 0
<include
refid=
"condition1"
/>
<include
refid=
"condition1"
/>
) T
WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"projStatus"
>
<isNotEmpty
prepend=
" AND "
property=
"projStatus"
>
C.PROJ_STATUS
= #projStatus#
T.projStatus
= #projStatus#
</isNotEmpty>
</isNotEmpty>
<include
refid=
"order"
/>
ORDER BY ID ASC
</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