Commit 12a802a95f76bab43f9d567fe602c908d3455fcc

Authored by 周峰
1 parent 30a0432c

查询用户绑定工位改名

src/main/java/com/huaheng/pc/agv/controller/WorkStationController.java
@@ -179,11 +179,12 @@ public class WorkStationController extends BaseController { @@ -179,11 +179,12 @@ public class WorkStationController extends BaseController {
179 return AjaxResult.success(loginName + "成功解绑工位"); 179 return AjaxResult.success(loginName + "成功解绑工位");
180 } 180 }
181 181
  182 + @Deprecated//废弃,改为平板绑定工位
182 @RequiresPermissions("agv:workstation:view") 183 @RequiresPermissions("agv:workstation:view")
183 - @Log(title = "查询绑定工位", action = BusinessType.GRANT)  
184 - @PostMapping("/getBindWorkStation") 184 + @Log(title = "查询用户绑定工位", action = BusinessType.GRANT)
  185 + @PostMapping("/getUserBindWorkStation")
185 @ResponseBody 186 @ResponseBody
186 - public AjaxResult getBindWorkStation(String loginName){ 187 + public AjaxResult getUserBindWorkStation(String loginName){
187 User user = iUserService.selectUserByLoginName(loginName); 188 User user = iUserService.selectUserByLoginName(loginName);
188 if(user == null){ 189 if(user == null){
189 return AjaxResult.error("用户" + loginName + "不存在"); 190 return AjaxResult.error("用户" + loginName + "不存在");