# DrawerCountCurrencyConfigServiceImpl.java

    package cloud.wconnect.frontoffice.service.drawercount.impl;

    import cloud.wconnect.frontoffice.entity.drawercount.DrawerCountCurrencyConfig;
    import cloud.wconnect.frontoffice.mapper.drawercount.DrawerCountCurrencyConfigMapper;
    import cloud.wconnect.frontoffice.service.drawercount.IDrawerCountCurrencyConfigService;
    import com.baomidou.dynamic.datasource.annotation.DS;
    import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
    import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
    import org.springframework.stereotype.Service;

    /**
     * <p>
     * Drawer Count功能的币种配置表 服务实现类
     * </p>
     *
     * @author zc
     * @since 2023-08-24
     */
    @Service
    @DS("ratelog_manage")
    public class DrawerCountCurrencyConfigServiceImpl extends ServiceImpl<DrawerCountCurrencyConfigMapper, DrawerCountCurrencyConfig> implements IDrawerCountCurrencyConfigService {

        /**
         * 查询币种配置
         *
         * @param propertyId 资产 id
         * @return DrawerCountCurrencyConfig
         * @author zc
         * @date 2023/8/25
         */
        @Override
        public DrawerCountCurrencyConfig get(int propertyId) {
            return getOne(new QueryWrapper<DrawerCountCurrencyConfig>().lambda()
                    .eq(DrawerCountCurrencyConfig::getPropertyId, propertyId));
        }
    }