feat(wms): 添加发货单状态修改功能并优化材料卷查询逻辑

- 在IWmsDeliveryWaybillService中新增changeStatus方法定义
- 在WmsDeliveryWaybillController中添加/status接口用于修改发货单状态
- 在WmsDeliveryWaybillServiceImpl中实现changeStatus业务逻辑
- 在WmsMaterialCoilServiceImpl中添加逻辑删除过滤条件
- 从材料卷查询中移除发货时间范围筛选相关代码
- 优化材料卷查询中的时间筛选逻辑和条件处理
This commit is contained in:
2026-01-28 10:10:10 +08:00
parent 655023b91f
commit 4e508dbad0
4 changed files with 20 additions and 13 deletions

View File

@@ -85,6 +85,12 @@ public class WmsDeliveryWaybillController extends BaseController {
return toAjax(iWmsDeliveryWaybillService.updateByBo(bo));
}
// 修改发货单状态
@Log(title = "发货单主", businessType = BusinessType.UPDATE)
@PutMapping("/status")
public R<Void> changeStatus(@RequestBody WmsDeliveryWaybillBo bo) {
return toAjax(iWmsDeliveryWaybillService.changeStatus(bo));
}
/**
* 删除发货单主
*