package com.ssm.manage.service.impl;

import com.ssm.core.service.impl.BaseServiceImpl;
import com.ssm.manage.dao.BaseDao;
import com.ssm.manage.dao.SsmSysUserDao;
import com.ssm.manage.dao.SsmTransactionRecordDao;
import com.ssm.manage.entity.SysUser;
import com.ssm.manage.entity.TransactionRecord;
import com.ssm.manage.service.SsmSysUserService;
import com.ssm.manage.service.SsmTransactionRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SsmTransactionRecordServiceImpl  extends BaseServiceImpl<TransactionRecord> implements SsmTransactionRecordService {
    @Autowired
    private SsmTransactionRecordDao dao;

    @Override
    public SsmTransactionRecordDao getDao() {
        return dao;
    }

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