package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmCallNumberDao;
import com.ssm.manage.dao.SsmCancelDebtListDao;
import com.ssm.manage.entity.CancelDebtList;
import com.ssm.manage.extendEntity.CallEntity;
import com.ssm.manage.mapper.CallNumberMapper;
import com.ssm.manage.mapper.CancelDebtListMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SsmCancelDebtListDaoImpl  extends BaseDaoImpl<CancelDebtList> implements SsmCancelDebtListDao {

    @Autowired
    private CancelDebtListMapper mapper;

    @Override
    public CancelDebtListMapper getMapper() {
        return mapper;
    }

    @Override
    public void deleteByDocNum(CancelDebtList cancelDebtList) {
        mapper.deleteByDocNum(cancelDebtList);
    }
}
