| | |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.core.utils.DateUtil; |
| | | import com.doumee.dao.business.model.PlatformBooks; |
| | | import com.doumee.dao.business.model.PlatformGroup; |
| | | import com.doumee.dao.business.model.PlatformJob; |
| | | import com.doumee.dao.business.model.PlatformShowParam; |
| | | import com.doumee.dao.business.model.*; |
| | | import com.doumee.dao.web.reqeust.*; |
| | | import com.doumee.dao.web.response.DriverHomeVO; |
| | | import com.doumee.dao.web.response.LineUpVO; |
| | |
| | | @Autowired |
| | | private PlatformJobService platformJobService; |
| | | |
| | | |
| | | @Autowired |
| | | private PlatformGroupService platformGroupService; |
| | | |
| | | @Autowired |
| | | private PlatformShowParamService platformShowParamService; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @Autowired |
| | | private PlatformService platformService; |
| | | |
| | | @ApiOperation("获取月台组信息") |
| | | @ApiImplicitParams({ |
| | |
| | | } |
| | | |
| | | @ApiOperation("更新月台配置信息") |
| | | @GetMapping("/updUserPlatformConfig") |
| | | @PostMapping("/updUserPlatformConfig") |
| | | public ApiResponse updUserPlatformConfig (@RequestBody List<Integer> ids, @RequestHeader(Constants.HEADER_USER_TOKEN) String token){ |
| | | platformShowParamService.updUserConfig(ids,getLoginUser(token)); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("修改禁启用状态") |
| | | @PostMapping("/updPlatformStatus") |
| | | public ApiResponse updPlatformStatus (@RequestBody Platform platform, @RequestHeader(Constants.HEADER_USER_TOKEN) String token){ |
| | | platformService.updateStatusById(platform); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | platformJobService.platformInPark(jobOperateDTO); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |