凭证生辰自带编码

This commit is contained in:
amarsoft 2018-07-21 11:04:59 +08:00
parent c296f995eb
commit e1aa65c95e

View File

@ -102,6 +102,10 @@ public class SerialNumberUtil {
return SerialNumberUtil.getSerialNumber("G{year}{month}{day}{maxOrderNumber}",8,null, "¼¯ÍűàºÅ", null, tx);
}
public static synchronized String getVoucherNumber(JBOTransaction tx) throws Exception{
return SerialNumberUtil.getSerialNumber("PZ{year}{month}{day}{maxOrderNumber}",8,null, "ƾ֤±àºÅ", null, tx);
}
public static synchronized String getPlannumber(String sSerialType,String calType,JBOTransaction tx)throws Exception{
String sSerialType2="";
if(calType.equals("quoted_price")){