| | |
| | | |
| | | import java.beans.PropertyEditorSupport; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 响应请求分页数据 |
| | | */ |
| | | @SuppressWarnings({"rawtypes", "unchecked"}) |
| | | protected Map<String, Object> getDataTable3(long total, List<?> list) { |
| | | Map<String, Object> rspData = new HashMap<>(); |
| | | rspData.put("code", HttpStatus.SUCCESS); |
| | | rspData.put("msg", "查询成功"); |
| | | rspData.put("rows", list); |
| | | rspData.put("total", total); |
| | | return rspData; |
| | | } |
| | | |
| | | /** |
| | | * 返回成功 |
| | | */ |
| | | public AjaxResult success() { |