This commit is contained in:
lvleigang 2024-11-04 08:38:32 +08:00
commit 365b53a728
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
SELECT cgeneralhid FROM ic_general_b WHERE vfirstbillcode = #{code}
<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>
group by h.vbillcode,a.unitcode
</select>