package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmSysMenuDao;
import com.ssm.manage.dao.SsmTransactionRecordDao;
import com.ssm.manage.entity.SysMenu;
import com.ssm.manage.entity.TransactionRecord;
import com.ssm.manage.mapper.SsmStoreTurnTreatmentMapper;
import com.ssm.manage.mapper.SsmTransactionRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SsmTransactionRecordDaoImpl  extends BaseDaoImpl<TransactionRecord> implements SsmTransactionRecordDao {

    @Autowired
    private SsmTransactionRecordMapper mapper;

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

    @Override
    public int add(TransactionRecord transactionRecord) {
        return mapper.add(transactionRecord);
    }
}
