package com.yd.dal.service.customer.impl;

import com.yd.dal.entity.customer.AclPractitionerSetting;
import com.yd.dal.mapper.customer.AclPractitionerSettingMapper;
import com.yd.dal.service.customer.AclPractitionerSettingDALService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("aclPractitionerSettingDALService")
public class AclPractitionerSettingDALServiceImpl implements AclPractitionerSettingDALService {
    @Autowired
    private AclPractitionerSettingMapper aclPractitionerSettingMapper;
    @Override
    public List<AclPractitionerSetting> findByPractitionerIdList(List<Long> practitionerIds) {
        return aclPractitionerSettingMapper.findByPractitionerIdList(practitionerIds);
    }

    @Override
    public void save(AclPractitionerSetting setting) {
        aclPractitionerSettingMapper.insert(setting);
    }
}
