feat(wms): 添加调拨单明细批量修改功能
- 在 IWmsTransferOrderItemService 接口中添加 batchUpdateItems 方法定义 - 在 WmsTransferOrderItemController 中添加 /batchUpdate 接口端点 - 实现 WmsTransferOrderItemServiceImpl 中的批量更新逻辑 - 支持仅更新有值字段的批量修改操作 - 集成 MyBatis-Plus 的 Db 工具类进行批量更新 - 添加事务注解确保数据一致性处理
This commit is contained in:
@@ -73,4 +73,9 @@ public interface IWmsTransferOrderItemService {
|
||||
* 根据钢卷列表匹配或创建物料
|
||||
*/
|
||||
Map<Long, Long> matchOrCreateItemByCoilIds(List<WmsTransferOrderItemBo> pairs);
|
||||
|
||||
/**
|
||||
* 批量修改调拨单明细(仅修改有值的字段)
|
||||
*/
|
||||
void batchUpdateItems(List<WmsTransferOrderItemBo> list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user