opt:平库入库

This commit is contained in:
zhaoyf
2026-06-26 18:37:20 +08:00
parent e34b778f12
commit d93fa3f35d

View File

@@ -280,7 +280,7 @@ public class InboundPdaServiceImpl implements InboundPdaService {
.group_id(IdUtil.getStringId())
.material_code(item.getSku_code())
.storagevehicle_code(storagevehicleCode)
.pcsn(item.getBatch_no())
.pcsn(Optional.ofNullable(item.getBatch_no()).filter(s -> !s.isEmpty()).orElse("1"))
.qty_unit_id(unitDao.getMeasure_unit_id())
.qty_unit_name(unitDao.getUnit_name())
.qty(item.getQty())