| | |
| | | import com.doumee.dao.business.model.YwOutinbound; |
| | | import com.doumee.service.business.*; |
| | | import com.doumee.service.business.impl.YwOutinboundServiceImpl; |
| | | import com.doumee.service.business.impl.hksync.HkSyncDeviceServiceImpl; |
| | | import com.doumee.service.system.SystemDictDataService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | return ApiResponse.success("定时生成今日巡检任务任务执行中"); |
| | | } |
| | | |
| | | @Autowired |
| | | private YwElectricalService ywElectricalService; |
| | | @ApiOperation("开启定时查询智慧电表设备状态") |
| | | @GetMapping("/getElectricalStatus") |
| | | public ApiResponse getElectricalStatus() { |
| | | ywElectricalService.getElectricalStatus(); |
| | | return ApiResponse.success("开启定时查询智慧电表设备状态成功"); |
| | | } |
| | | |
| | | @Autowired |
| | | private com.doumee.service.business.YwElectricalBizService ywElectricalBizService; |
| | | |
| | | @ApiOperation("定时批量抄表入库") |
| | | @GetMapping("/syncElectricalMeterData") |
| | | public ApiResponse syncElectricalMeterData() { |
| | | ywElectricalBizService.syncMeterDataScheduled(); |
| | | return ApiResponse.success("定时批量抄表执行成功"); |
| | | } |
| | | |
| | | @ApiOperation("清理三个月前电表接口日志") |
| | | @GetMapping("/cleanElectricalLog") |
| | | public ApiResponse cleanElectricalLog() { |
| | | ywElectricalBizService.cleanLogBeforeThreeMonths(); |
| | | return ApiResponse.success("电表接口日志清理成功"); |
| | | } |
| | | |
| | | @ApiOperation("定时更新房源租赁状态") |
| | | @GetMapping("/ywRoomStatusTimer") |
| | | public ApiResponse ywRoomStatusTimer() { |
| | | ywContractService.updRentContractStatus(); |
| | | ywContractService.updRoomLeaseNowStatus(); |
| | | return ApiResponse.success("定时更新房源租赁状态任务执行中"); |
| | | } |
| | | |
| | | |
| | | |
| | | @ApiOperation("定时更新redis数据") |
| | | @GetMapping("/ywUpdRedisDataTimer") |