|
@@ -39,24 +39,24 @@ public class AuditController extends SimpleController{
|
|
|
/**
|
|
|
* @return 返回到广告主资质审核第一页。
|
|
|
*/
|
|
|
- @RequestMapping
|
|
|
- public String index(Model model,
|
|
|
- @RequestParam HashMap<String, Object> paramMap,
|
|
|
- @RequestParam(defaultValue="1") int page) {
|
|
|
- int totalRow = auditService.countByParams(paramMap);
|
|
|
- Pager pager = new Pager();
|
|
|
- pager.setPage(page);
|
|
|
- System.out.println("luo0:" + paramMap);
|
|
|
- pager.setTotalRow(totalRow);
|
|
|
- List<Audit> auditList = auditService.findByParams(paramMap, pager);
|
|
|
-
|
|
|
- System.out.println(auditList.toString());
|
|
|
- model.addAllAttributes(paramMap);
|
|
|
- model.addAttribute("pager", pager);
|
|
|
- model.addAttribute("auditList", auditList);
|
|
|
- return page("index");
|
|
|
- }
|
|
|
-
|
|
|
+// @RequestMapping
|
|
|
+// public String index(Model model,
|
|
|
+// @RequestParam HashMap<String, Object> paramMap,
|
|
|
+// @RequestParam(defaultValue="1") int page) {
|
|
|
+// int totalRow = auditService.countByParams(paramMap);
|
|
|
+// Pager pager = new Pager();
|
|
|
+// pager.setPage(page);
|
|
|
+// System.out.println("luo0:" + paramMap);
|
|
|
+// pager.setTotalRow(totalRow);
|
|
|
+// List<Audit> auditList = auditService.findByParams(paramMap, pager);
|
|
|
+//
|
|
|
+// System.out.println(auditList.toString());
|
|
|
+// model.addAllAttributes(paramMap);
|
|
|
+// model.addAttribute("pager", pager);
|
|
|
+// model.addAttribute("auditList", auditList);
|
|
|
+// return page("index");
|
|
|
+// }
|
|
|
+//
|
|
|
@RequestMapping("/list")
|
|
|
public String list(Model model,
|
|
|
@RequestParam HashMap<String, Object> paramMap,
|