Merge branch 'dev_lzh_wms_20260120' into wms_dev

This commit is contained in:
zhou-hongcheng
2026-02-02 15:55:58 +08:00
@@ -106,6 +106,7 @@ public class ShiftManageImpl extends ServiceImpl<ShiftManageMapper, ShiftManage>
LoginUser loginUser = SecurityUtils.getLoginUser();
List<ShiftMaterialDetail> shiftMaterialDetailList =new ArrayList<>();
shiftMaterialDetailDOList.forEach(e -> {
String newStorageLocationName = e.getNewStorageLocationName();
//设置库存信息
setMaterialInventory(e);
//设置库位信息
@@ -126,6 +127,7 @@ public class ShiftManageImpl extends ServiceImpl<ShiftManageMapper, ShiftManage>
e.setSerialNumberManage(e.getSerialNumberManage());
ShiftMaterialDetail shiftMaterialDetail = new ShiftMaterialDetail();
BeanUtils.copyProperties(e, shiftMaterialDetail);
shiftMaterialDetail.setNewStorageLocationName(newStorageLocationName);
shiftMaterialDetailList.add(shiftMaterialDetail);
});
iShiftMaterialDetailService.saveBatch(shiftMaterialDetailList);