diff --git a/src/main/java/com/huaheng/pc/agv/controller/WorkStationController.java b/src/main/java/com/huaheng/pc/agv/controller/WorkStationController.java index a57bebd..9b5d975 100644 --- a/src/main/java/com/huaheng/pc/agv/controller/WorkStationController.java +++ b/src/main/java/com/huaheng/pc/agv/controller/WorkStationController.java @@ -179,11 +179,12 @@ public class WorkStationController extends BaseController { return AjaxResult.success(loginName + "成功解绑工位"); } + @Deprecated//废弃,改为平板绑定工位 @RequiresPermissions("agv:workstation:view") - @Log(title = "查询绑定工位", action = BusinessType.GRANT) - @PostMapping("/getBindWorkStation") + @Log(title = "查询用户绑定工位", action = BusinessType.GRANT) + @PostMapping("/getUserBindWorkStation") @ResponseBody - public AjaxResult getBindWorkStation(String loginName){ + public AjaxResult getUserBindWorkStation(String loginName){ User user = iUserService.selectUserByLoginName(loginName); if(user == null){ return AjaxResult.error("用户" + loginName + "不存在");