| | |
| | | } |
| | | |
| | | /** |
| | | * APP-从业单位查询(派遣单位) |
| | | */ |
| | | @GetMapping("/queryDispatcher") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入dispatcher") |
| | | public R<IPage<DispatcherVO>> queryDispatcher(DispatcherVO dispatcher, Query query) { |
| | | IPage<DispatcherVO> pages = dispatcherService.queryDispatcher(Condition.getPage(query), dispatcher); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | |
| | | "update blade_user set dispatch = " + "'" + user1.getDispatch() + "'" + |
| | | " " +"where id = " + "'" + user1.getId() + "'"; |
| | | FtpUtil.sqlFileUpload(s1); |
| | | }else { |
| | | //修改 |
| | | status = dispatcherService.updateById(dispatcher); |
| | | } |
| | | |
| | | } |
| | | return R.status(status); |
| | | } |