pad接口-退货-护理单元物料列表增加退货数量

This commit is contained in:
1378012178@qq.com 2025-12-05 14:01:43 +08:00
parent 1aa034ebe3
commit 71a6cd0631
2 changed files with 6 additions and 1 deletions

View File

@ -54,4 +54,8 @@ public class NuKcslEntity implements Serializable {
* 是否已添加 0未添加 1已添加
*/
private String isAdd;
/**
* 退货数量
*/
private Integer thNum;
}

View File

@ -40,7 +40,8 @@
material.tag_type AS "materialInfo.tagType",
material.iz_ybbx AS "materialInfo.izYbbx",
material.iz_jgyh AS "materialInfo.izJgyh",
if(gwc.wl_id is null, '0', '1') as isAdd
if(gwc.wl_id is null, '0', '1') as isAdd,
gwc.th_num AS thNum
from nu_invoicing_nu_kcsl nukcsl
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}