| | |
| | | import com.ycl.system.mapper.SysDeptMapper; |
| | | import constant.ApiConstants; |
| | | import constant.CheckConstants; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.util.CollectionUtils; |
| | |
| | | * 不区分区域 |
| | | */ |
| | | @Component |
| | | @Slf4j |
| | | public class PlatformOnlineCalculation extends IndexCalculationServe implements CalculationStrategy<PlatformOnlineVO> { |
| | | @Autowired |
| | | private SysDeptMapper deptMapper; |
| | |
| | | videos.add(checkIndex); |
| | | } |
| | | }); |
| | | |
| | | checkIndexVideoService.saveOrUpdateBatch(videos); |
| | | }else { |
| | | log.info("数据为空"); |
| | | } |
| | | } |
| | | } |