|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.wcs.core.map.controller; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson.JSON; | 
|---|
|  |  |  | import com.zy.asrs.framework.common.R; | 
|---|
|  |  |  | import com.zy.asrs.wcs.core.map.controller.param.MapDataParam; | 
|---|
|  |  |  | import com.zy.asrs.wcs.core.map.controller.param.MapQueryParam; | 
|---|
|  |  |  | import com.zy.asrs.wcs.core.map.service.MapService; | 
|---|
|  |  |  | import com.zy.asrs.wcs.core.utils.RedisUtil; | 
|---|
|  |  |  | import com.zy.asrs.wcs.rcs.constant.DeviceRedisConstant; | 
|---|
|  |  |  | import com.zy.asrs.wcs.system.controller.BaseController; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.*; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private MapService mapService; | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private RedisUtil redisUtil; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //    @PreAuthorize("hasAuthority('core:map:list')") | 
|---|
|  |  |  | @PostMapping("/floor/list") | 
|---|
|  |  |  | 
|---|
|  |  |  | //        return R.ok().add(mapService.getShelfLocNoList(locNo)); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @GetMapping("/clearLockPath") | 
|---|
|  |  |  | public R clearLockPath(@RequestParam Integer lev) { | 
|---|
|  |  |  | redisUtil.del(DeviceRedisConstant.MAP + lev); | 
|---|
|  |  |  | redisUtil.del(DeviceRedisConstant.LOCK_PATH + lev); | 
|---|
|  |  |  | return R.ok(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|