package com.jwipc.sys.service.impl;

import com.jwipc.sys.entity.Sequence;
import com.jwipc.sys.mapper.SequenceMapper;
import com.jwipc.sys.service.ISequenceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-30
 */
@Service
public class SequenceServiceImpl extends ServiceImpl<SequenceMapper, Sequence> implements ISequenceService {

    @Override
    public Integer getSequenceSuffix(String code) {
        return this.baseMapper.getSequenceSuffix(code);
    }
}
