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