投诉建议回复

This commit is contained in:
sxu 2025-05-19 14:48:27 +08:00
parent f0255ceb1b
commit 52d29a7df6
1 changed files with 14 additions and 0 deletions

View File

@ -105,6 +105,20 @@ public class AllocCanteenSuggestionController extends BaseController {
}
}
@ApiOperation(value = "回复投诉建议 ")
//@PreventRepeatSubmit
//@RequiresPermissions("alloc:suggestion:edit")
@SysLog(title = "回复投诉建议 ", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->回复投诉建议 ")
@PostMapping("/reply")
public AjaxResult reply(@RequestBody AllocCanteenSuggestion allocCanteenSuggestion) {
try {
allocCanteenSuggestion.setReplyState(1L);
return toAjax(allocCanteenSuggestionService.updateAllocCanteenSuggestion(allocCanteenSuggestion));
} catch (Exception e) {
return error("系统错误, " + e.getMessage());
}
}
/**
* 删除投诉建议
*/