feat: bug-813 零部件打包详情查询接口返回工厂编号

This commit is contained in:
曹鹏飞 2025-10-11 11:45:48 +08:00
parent 8a4e2de9d2
commit 99176cdca2
4 changed files with 6 additions and 9 deletions

View File

@ -190,9 +190,6 @@ public class ComponentPackingController {
List<ComponentPackingItemPdaVO> daVos = tasks.stream()
.map(item -> Convert.convert(ComponentPackingItemPdaVO.class, item))
.collect(Collectors.toList());
daVos.forEach(vo -> {
vo.setFactoryNo(packing.getFactoryNo());
});
return ApiResult.success(daVos);
}

View File

@ -53,9 +53,4 @@ public class ComponentPackingItemPdaVO {
public BigDecimal getRemainQty() {
return menge.subtract(outQty);
}
/**
* 工厂
*/
private String factoryNo;
}

View File

@ -42,4 +42,9 @@ public class ComponentPackingPdaVO {
* 设备名称
*/
private String maktx;
/**
* 工厂
*/
private String factoryNo;
}

View File

@ -37,7 +37,7 @@
<select id="getOutboundTask" resultType="com.nflg.wms.common.pojo.vo.ComponentPackingPdaVO">
select
id,no,vbeln,create_time,datum,vbelv,matnr,maktx
id,no,vbeln,create_time,datum,vbelv,matnr,maktx,factory_no
from wms_component_packing
where is_completed=0
<if test="no !=null and no !=''">