refactor(wms): 优化退库操作功能

- 修改退库操作接口路径,简化为 /returnStock
- 移除退库操作日志记录功能
This commit is contained in:
2025-08-12 11:05:59 +08:00
parent 1b5e4b4957
commit 42230edfbe
2 changed files with 3 additions and 1 deletions

View File

@@ -52,4 +52,6 @@ public class WmsStockIoWithDetailBo {
// 明细列表
private List<WmsStockIoDetailBo> details;
private Long parentId;
}

View File

@@ -133,7 +133,7 @@ public class WmsStockIoServiceImpl implements IWmsStockIoService {
public void addWithDetail(WmsStockIoWithDetailBo bo) {
// 插入主表
WmsStockIo stockIo = BeanUtil.toBean(bo, WmsStockIo.class);
stockIo.setParentId(bo.getStockIoId());
stockIo.setParentId(bo.getParentId());
baseMapper.insert(stockIo);
// 插入明细
if (bo.getDetails() != null && !bo.getDetails().isEmpty()) {