| | |
| | | public Response getLockHis(int lockId, String startTime, String endTime, int pageNum, int pageSize) throws ParseException { |
| | | LockHis his=new LockHis(); |
| | | his.setLockId(lockId); |
| | | PageInfo pageInfo=util.getPageInfo(pageNum,pageSize, ThreadLocalUtil.parse(startTime,1),ThreadLocalUtil.parse(endTime,1) |
| | | PageInfo pageInfo=util.getPageInfoWithOutDefault(pageNum,pageSize, ThreadLocalUtil.parse(startTime,1),ThreadLocalUtil.parse(endTime,1) |
| | | ,"db_lock_his","tb_lock_his_"+lockId,his); |
| | | return new Response().setII(1,pageInfo.getList()!=null,pageInfo,"查询锁的历史状态"); |
| | | } |