package com.chinaweal.aiccs.aiccs.claim.service.impl;

import com.chinaweal.aiccs.aiccs.claim.service.TSEntBaseAddrService;
import com.chinaweal.aiccs.aiccs.claim.entity.TSEntBaseAddr;
import com.chinaweal.aiccs.aiccs.claim.mapper.TSEntBaseAddrMapper;
import org.springframework.stereotype.Service;

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

/**
 * description
 * Created by xiaot on 2017/5/11 17:43.
 */
@Service
public class TSEntBaseAddrServiceImpl implements TSEntBaseAddrService {

    @Resource
    private TSEntBaseAddrMapper tsentbaseaddrDao;
    /**
     * ���������ַ����Ӫ������Ϣʵ�� Bean ��ȡ�����ַ����Ӫ������Ϣ�б� *
     */
    public List<TSEntBaseAddr> findTSEntBaseAddrList(TSEntBaseAddr tsentbaseaddrModel){
        return  tsentbaseaddrDao.findTSEntBaseAddrList(tsentbaseaddrModel);
    }

    /**
     * ���������ַ/��Ӫ������Ϣ ID ��ȡ�����ַ����Ӫ������Ϣ *
     */
    public TSEntBaseAddr findTsentbaseaddrByID(String entbaseaddrid){
        return  tsentbaseaddrDao.findTsentbaseaddrByID(entbaseaddrid);
    }

    /**
     * ֻ��������ס��
     */
    public TSEntBaseAddr findTsentBaseAddrBypripid(String pripid){
        return  tsentbaseaddrDao.findTsentBaseAddrBypripid(pripid);
    }

}
