|  |  |  | 
|---|
|  |  |  | import com.doumee.core.utils.Constants; | 
|---|
|  |  |  | import com.doumee.core.utils.DateUtil; | 
|---|
|  |  |  | import com.doumee.dao.business.model.*; | 
|---|
|  |  |  | import com.doumee.dao.business.vo.LargeScreenDataVO; | 
|---|
|  |  |  | import com.doumee.dao.web.reqeust.*; | 
|---|
|  |  |  | import com.doumee.dao.web.response.DriverHomeVO; | 
|---|
|  |  |  | import com.doumee.dao.web.response.LineUpVO; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @LoginNoRequired | 
|---|
|  |  |  | @ApiOperation("签到大屏数据") | 
|---|
|  |  |  | @GetMapping("/getLargeScreenData") | 
|---|
|  |  |  | public ApiResponse<LargeScreenDataVO> getLargeScreenData() { | 
|---|
|  |  |  | return ApiResponse.success(platformJobService.getLargeScreenData()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @LoginNoRequired | 
|---|
|  |  |  | @ApiOperation("月台任务测试定时方法") | 
|---|
|  |  |  | @GetMapping("/testTimer") | 
|---|
|  |  |  | public ApiResponse testTimer(Integer type) { | 
|---|
|  |  |  | if(Constants.equalsInteger(type ,1)){ | 
|---|
|  |  |  | platformJobService.timeOutWork(); | 
|---|
|  |  |  | }else if(Constants.equalsInteger(type ,2)){ | 
|---|
|  |  |  | platformJobService.timeOutCallIn(); | 
|---|
|  |  |  | }else if(Constants.equalsInteger(type ,3)){ | 
|---|
|  |  |  | platformJobService.timeOutReport(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return ApiResponse.success("操作成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|