分组类型查询单据
This commit is contained in:
parent
365b53a728
commit
4d73583183
|
@ -14,7 +14,6 @@
|
||||||
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> and dr = '0'
|
<if test="type != null and type != ''"> and csourcetype = #{type} </if> and dr = '0'
|
||||||
)
|
)
|
||||||
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