package com.liquidnet.service.sequence.service.impl;

import com.liquidnet.service.sequence.mapper.SysSequenceMapper;
import com.liquidnet.service.sequence.service.SysSequenceService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysSequenceServiceImpl implements SysSequenceService {
    private final Logger log = LoggerFactory.getLogger(this.getClass());
    @Autowired
    private SysSequenceMapper sysSequenceMapper;

    @Override
    public Long generateSeqNo(String seqName) {
        return sysSequenceMapper.generateSeqNo(seqName);
    }
}
