package com.jwipc.sys.client;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
public interface SequenceClient {
    public String createSequenceNo(String code) ;

    public String createfinanceSequenceNo(String code) ;

    //获取购销合同编码
    public String createPurchaseSaleSequenceNo(String code);

    public String createDeliverySequenceNo(String code) ;

    public String createBarCodeSequenceNo(String code) ;

    public String getBarCodeSequenceNo(String code, Integer len, boolean agent) ;

    public String getCodeSequenceNo(String code, Integer len) ;
    public String getCodeSequenceNo(String prefix, String code, Integer len) ;

    public String createDeliverySequence(String code, Integer len , boolean agent, boolean xhdd,String ddlx) ;
}
