|
@@ -48,16 +48,13 @@ public class YeWeiHuiController {
|
|
@GetMapping("/yeweihui/home.html")
|
|
@GetMapping("/yeweihui/home.html")
|
|
public ModelAndView yeweihui(ModelMap model,@RequestParam(value = "userId") Long userId) {
|
|
public ModelAndView yeweihui(ModelMap model,@RequestParam(value = "userId") Long userId) {
|
|
|
|
|
|
- Map<String, Object> queryParam = Maps.newLinkedHashMap();
|
|
|
|
- queryParam.put("user_id", userId);
|
|
|
|
-// queryParam.put("statistics", "M");
|
|
|
|
-
|
|
|
|
// List<QzTask> taskList = qzTaskService.selectAll(1225321682867105793L);
|
|
// List<QzTask> taskList = qzTaskService.selectAll(1225321682867105793L);
|
|
// List<sysUptownUnit> rbList = rbService.selectAll(1225321682867105793L);
|
|
// List<sysUptownUnit> rbList = rbService.selectAll(1225321682867105793L);
|
|
List<QzTask> taskList = qzTaskService.selectAll(userId);
|
|
List<QzTask> taskList = qzTaskService.selectAll(userId);
|
|
List<sysUptownUnit> rbList = rbService.selectAll(userId);
|
|
List<sysUptownUnit> rbList = rbService.selectAll(userId);
|
|
model.put("taskList", YvanUtil.toJsonPretty(taskList));
|
|
model.put("taskList", YvanUtil.toJsonPretty(taskList));
|
|
model.put("rbList", YvanUtil.toJsonPretty(rbList));
|
|
model.put("rbList", YvanUtil.toJsonPretty(rbList));
|
|
|
|
+ model.put("user_id", "\""+userId+"\"");
|
|
|
|
|
|
return new ModelAndView("/yeweihui/home.ftl", model);
|
|
return new ModelAndView("/yeweihui/home.ftl", model);
|
|
}
|
|
}
|