Commit ca1c5d3a by 宋祥

1.物料清单查询不一致问题修复

parent 40eaee7e
......@@ -204,7 +204,8 @@
<include refid="order"/>
</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
<include refid="column1"/>
,ifnull(C.CKNUM,0) as "cknum",ifnull(C.RKNUM,0) as "rknum",ifnull(C.PROJ_STATUS,1) as "projStatus"
......@@ -222,10 +223,12 @@
AND PARENT_ID NOT IN ('root')
AND DEL_STATUS = 0
<include refid="condition1"/>
) T
WHERE 1=1
<isNotEmpty prepend=" AND " property="projStatus">
C.PROJ_STATUS = #projStatus#
T.projStatus = #projStatus#
</isNotEmpty>
<include refid="order"/>
ORDER BY ID ASC
</select>
<!-- 查询统计 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment