# SvaOperatingStatisticsConfigServiceImpl.java

    package cloud.wconnect.workperformance.service.sva.operatingstatistics.impl;

    import cloud.wconnect.workperformance.entity.sva.operatingstatistics.SvaOperatingStatisticsConfig;
    import cloud.wconnect.workperformance.mapper.sva.operatingstatistics.SvaOperatingStatisticsConfigMapper;
    import cloud.wconnect.workperformance.service.sva.operatingstatistics.ISvaOperatingStatisticsConfigService;
    import com.baomidou.dynamic.datasource.annotation.DS;
    import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
    import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
    import org.springframework.stereotype.Service;

    /**
     * <p>
     * Operating Statistics报告的扩展字段表 服务实现类
     * </p>
     *
     * @author lichen
     * @since 2026-04-13
     */
    @Service
    @DS("work_performance")
    public class SvaOperatingStatisticsConfigServiceImpl extends ServiceImpl<SvaOperatingStatisticsConfigMapper, SvaOperatingStatisticsConfig> implements ISvaOperatingStatisticsConfigService {

        /**
         * 根据资产id获取扩展字段
         *
         * @param propertyId 资产id
         * @return 扩展字段
         */
        @Override
        public SvaOperatingStatisticsConfig getByPropertyId(int propertyId) {
            return getOne(new LambdaQueryWrapper<SvaOperatingStatisticsConfig>()
                    .eq(SvaOperatingStatisticsConfig::getPropertyId, propertyId));
        }
    }