|  |  | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson.JSONObject; | 
 |  |  | import com.baomidou.mybatisplus.plugins.Page; | 
 |  |  | import com.core.annotations.ManagerAuth; | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.core.common.R; | 
 |  |  | import com.zy.asrs.entity.*; | 
 |  |  | import com.zy.asrs.mapper.ReportQueryMapper; | 
 |  |  | import com.zy.asrs.service.LocDetlService; | 
 |  |  | import com.zy.common.web.BaseController; | 
 |  |  | import com.core.annotations.ManagerAuth; | 
 |  |  | import com.core.common.R; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  | import org.springframework.web.bind.annotation.RequestBody; | 
 |  |  | import org.springframework.web.bind.annotation.RequestMapping; | 
 |  |  | import org.springframework.web.bind.annotation.RequestParam; | 
 |  |  | import org.springframework.web.bind.annotation.RestController; | 
 |  |  |  | 
 |  |  | import java.util.ArrayList; | 
 |  |  | import java.util.HashMap; | 
 |  |  | 
 |  |  | @RequestMapping("/report") | 
 |  |  | public class ReportQueryController extends BaseController { | 
 |  |  |  | 
 |  |  |    @Autowired | 
 |  |  |    private LocDetlService locDetlService; | 
 |  |  |    @Autowired | 
 |  |  |    private ReportQueryMapper reportQueryMapper; | 
 |  |  |  | 
 |  |  | 
 |  |  |       ViewStayTimeBean bean = new ViewStayTimeBean(); | 
 |  |  |       bean.setPageSize(limit); | 
 |  |  |       bean.setPageNumber(curr); | 
 |  |  |       bean.setLoc_no(String.valueOf(param.get("loc_no"))); | 
 |  |  |       List<ViewStayTimeBean> list = reportQueryMapper.queryViewStayTimeList(bean); | 
 |  |  |       int count = reportQueryMapper.getViewStayTimeCount(bean); | 
 |  |  |       Page<ViewStayTimeBean> page = new Page<>(); |