public class BaseController extends Object
Constructor and Description |
---|
BaseController() |
Modifier and Type | Method and Description |
---|---|
protected ResultBean |
deleteResult(int rs) |
protected ResultBean |
fail(String msg) |
protected ResultBean |
fail(String msg,
Object data) |
protected ResultBean |
saveResult(int rs) |
protected ResultBean |
success(String msg) |
protected ResultBean |
success(String msg,
Object data) |
protected ResultBean |
updateResult(int rs) |
protected void |
validate(org.springframework.validation.BindingResult result) |
protected ResultBean success(String msg)
protected ResultBean saveResult(int rs)
protected ResultBean updateResult(int rs)
protected ResultBean deleteResult(int rs)
protected ResultBean success(String msg, Object data)
protected ResultBean fail(String msg)
protected ResultBean fail(String msg, Object data)
protected void validate(org.springframework.validation.BindingResult result)
Copyright © 2023. All rights reserved.