| | |
| | | import com.dji.sample.territory.service.impl.TbDkjbxxServiceImpl; |
| | | import com.dji.sample.wayline.model.entity.WaylineFileEntity; |
| | | import com.dji.sample.wayline.service.IWaylineFileService; |
| | | import com.dji.sample.wayline.service.IWaylineJobService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | private ShpToDataSourceService shpToDataSourceService; |
| | | @Autowired |
| | | private IWaylineFileService waylineFileService; |
| | | @Autowired |
| | | private IWaylineJobService waylineJobService; |
| | | @Autowired |
| | | private TbDkjbxxServiceImpl tbDkjbxxService; |
| | | @Autowired |
| | |
| | | @GetMapping("/useMyTask") |
| | | public ResponseResult useMyTask() throws Exception { |
| | | try { |
| | | // timerUtil.myTask(); |
| | | timerUtil.myTask2(); |
| | | timerUtil.myTask(); |
| | | // timerUtil.myTask2(); |
| | | return ResponseResult.success(); |
| | | } catch (Exception e) { |
| | | throw new RuntimeException("db存储发送出现异常"+e); |