shichongfu
2023-04-25 ce0b49552668d3331055e2b1a1447a743dc54939
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.product.org.admin.service.idel;
 
import com.product.core.entity.DataTableEntity;
import com.product.core.entity.FieldSetEntity;
import com.product.core.exception.BaseException;
 
/**
 * 流水号管理  接口层
 * @author xin.luo
 * date 2020-06-13 10:03:49
 * interface ISerialNumberService
 */
public interface ISerialNumberService {
    /**
     * 获取流水号
     * @param serialNumberName 流水号名称
     */
    String createSerialNumber(String serialNumberName)throws BaseException;
    /**
     * 新增流水号配置
     * @param fs 流水号信息
     */
    String addSerialNumberConfig(FieldSetEntity fs)throws BaseException;
    /**
     * 修改流水号配置
     * @param fs 流水号信息
     */
    boolean upSerialNumberConfig(FieldSetEntity fs)throws BaseException;
    /**
     * 删除流水号配置
     * @param uuids 流水号uuid数组
     */
    boolean delSerialNumberConfig(String[] uuids)throws BaseException;
    /**
     * 获取所有流水号配置
     * @param fse 流水号fse
     */
    DataTableEntity serialNumberAll(FieldSetEntity fse)throws BaseException;
    /**
     * 根据UUID获取流水号信息
     * @param uuid 流水号uuid数组
     */
    FieldSetEntity serialNumberInfo(String uuid)throws BaseException;
}