| | |
| | | |
| | | |
| | | @GetMapping("/updateUser") |
| | | public R updateUser(String hold,String cardid,String holdv) { |
| | | public R updateUser(String hold, String cardid, String holdv) { |
| | | SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式 |
| | | String time = df.format(new Date()); |
| | | userService.updateUser(hold, cardid,holdv,time); |
| | | userService.updateUser(hold, cardid, holdv, time); |
| | | return R.success("吊销成功"); |
| | | } |
| | | |
| | | /** |
| | | * 查询押运人员 |
| | | * |
| | | * @return |
| | | */ |
| | | @GetMapping("/selectPeo") |
| | | public R selectPeo(@ApiIgnore UserVO user) { |
| | | List list = userService.selectPeo(user); |
| | | return R.data(list); |
| | | } |
| | | |
| | | |
| | | } |