| | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.sxkj.gd.utils.GdGeoAddressUtil; |
| | |
| | | */ |
| | | @Service |
| | | @AllArgsConstructor |
| | | @Slf4j |
| | | public class GdManageDeviceServiceImpl extends BaseServiceImpl<GdManageDeviceMapper, GdManageDeviceEntity> implements IGdManageDeviceService { |
| | | |
| | | private final JianXingtuApiService jianXingtuApiService; |
| | |
| | | int total = 0; |
| | | total += syncPilotDevices(); |
| | | total += syncAirportDevices(); |
| | | log.info("更新或新增设备"+total); |
| | | return total; |
| | | } |
| | | |