| | |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | return secManager.updatePos(params); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 首页总览 |
| | | * |
| | | * @return |
| | | */ |
| | | @RequestMapping("/quantity") |
| | | public String infrared( |
| | | @RequestParam(value = "type", required = false) String type, |
| | | ModelMap view) { |
| | | |
| | | SysUser user = ContextUtil.getLoginUser(); |
| | | view.put(Constant.MODEL_KEY_LOGIN_USER, user); |
| | | |
| | | String deptId = ContextUtil.subDeptId(user); |
| | | view.put("deptId", deptId); |
| | | // List<InfraredCamera> listCamera = infraredManager.listCamera(deptId, user.getCompanyId()); |
| | | // |
| | | // if(null == listCamera){ |
| | | // listCamera = new ArrayList<>(); |
| | | // listCamera.add(new InfraredCamera()); |
| | | // } |
| | | // view.put("listCamera", listCamera); |
| | | |
| | | return prefix + "/quantity"; |
| | | } |
| | | |
| | | } |