package org.jeecg.modules.sequence.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.sequence.entity.MiddleSequence;

/**
 * @Description: middle_sequence
 * @Author: jeecg-boot
 * @Date: 2024-04-26
 * @Version: V1.0
 */
public interface IMiddleSequenceService extends IService<MiddleSequence> {

    /**
     * 生成序列号
     *
     * @param prefix 前缀
     * @param length 长度
     * @return
     */
    String generate(String prefix, Integer length);

}
