pad接口-退货-查询护理单元库存物料:返回物料数量>0的物料

This commit is contained in:
1378012178@qq.com 2025-12-05 15:36:48 +08:00
parent e893990460
commit 24e94500ff
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@
LEFT JOIN nu_config_material_info material ON nukcsl.wl_id = material.id
LEFT JOIN nu_invoicing_thd_gwc gwc ON nukcsl.wl_id = gwc.wl_id and pk_id = #{id}
<where>
nukcsl.wl_num is not null
and nukcsl.wl_num > 0
<if test="nuId != null and nuId != ''">
and nukcsl.nu_id = #{nuId}
</if>