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

import com.yd.dal.entity.customer.AclCustomerShare;
import com.yd.dal.mapper.customer.AclCustomerShareMapper;
import com.yd.dal.service.customer.AclCustomerShareDALService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("aclCustomerShareDALService")
public class AclCustomerShareDALServiceImpl implements AclCustomerShareDALService {
    @Resource
    private AclCustomerShareMapper aclCustomerShareMapper;


    @Override
    public List<AclCustomerShare> findByCustomerIdAndInsurerId(Long customerId, long insurerId) {
        return aclCustomerShareMapper.findByCustomerIdAndInsurerId(customerId, insurerId);
    }
}
