feat(wms): 新增钢卷告警历史批量处理功能
新增批量处理历史告警接口,支持将今天以前的告警标记为指定状态,前端添加对应操作按钮,可一键处理或忽略历史告警
This commit is contained in:
@@ -128,6 +128,16 @@ public class WmsMaterialWarningController extends BaseController {
|
||||
return toAjax(iWmsMaterialWarningService.batchHandle(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量处理历史告警(标记今天以前的所有记录为指定状态)
|
||||
*/
|
||||
@Log(title = "钢卷通用维度告警批量处理历史", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping("/batchHandleHistory")
|
||||
public R<Void> batchHandleHistory(@Validated @RequestBody WmsMaterialWarningBo bo) {
|
||||
return toAjax(iWmsMaterialWarningService.batchHandleHistory(bo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除钢卷通用维度告警(长度/厚度/宽度)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user