调整关联查询入库单,没有过滤删除状态,修改为dr=0
This commit is contained in:
parent
87d554ba64
commit
2c6d81919b
|
@ -14,6 +14,7 @@
|
||||||
SELECT cgeneralhid FROM ic_general_b WHERE vfirstbillcode = #{code}
|
SELECT cgeneralhid FROM ic_general_b WHERE vfirstbillcode = #{code}
|
||||||
<if test="type != null and type != ''"> and csourcetype = #{type} </if>
|
<if test="type != null and type != ''"> and csourcetype = #{type} </if>
|
||||||
)
|
)
|
||||||
|
and dr = '0'
|
||||||
<if test="cbilltypecode != null and cbilltypecode != ''"> and h.cbilltypecode = #{cbilltypecode} </if>
|
<if test="cbilltypecode != null and cbilltypecode != ''"> and h.cbilltypecode = #{cbilltypecode} </if>
|
||||||
group by h.vbillcode,a.unitcode
|
group by h.vbillcode,a.unitcode
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue