凭证接口
This commit is contained in:
parent
99d6166ab9
commit
d82a343c35
@ -37,11 +37,7 @@
|
||||
function NCInterface(){
|
||||
alert("´«Ê俪ʼ");
|
||||
var mes = RunJavaMethodTrans("com.tenwa.voucher.serviceImp.VoucherSysJointNCServiceImpl","sendVoucherData","");
|
||||
if("true"==mes){
|
||||
alert("传输成功");
|
||||
}else{
|
||||
alert("传输失败");
|
||||
}
|
||||
alert("传输完成");
|
||||
}
|
||||
|
||||
function synVoucherCode(){
|
||||
|
||||
@ -50,6 +50,10 @@ public class SerialNumberUtil {
|
||||
public static synchronized String getRentOutNoNumber(JBOTransaction tx) throws Exception{
|
||||
return SerialNumberUtil.getSerialNumber("PR{year}{month}{maxOrderNumber}",4,null, "", null, tx);
|
||||
}
|
||||
|
||||
public static synchronized String getVoucherPCNumber(JBOTransaction tx) throws Exception{
|
||||
return SerialNumberUtil.getSerialNumber("AP{year}{month}{day}-{maxOrderNumber}",3,null, "ƾ֤½Ó¿ÚÅú´Î", null, tx);
|
||||
}
|
||||
/**
|
||||
* ͨÁª´ú¿ÛÁ÷Ë®ºÅ
|
||||
* @param tx
|
||||
|
||||
@ -3,5 +3,5 @@ package com.tenwa.voucher.service;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
|
||||
public interface VoucherSysJointNCService {
|
||||
public String sendVoucherData(JBOTransaction tx)throws Exception;
|
||||
public void sendVoucherData(JBOTransaction tx)throws Exception;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user