This commit is contained in:
liuyifan 2018-07-23 20:11:31 +08:00
parent a0ac374b21
commit 653a816e1e

View File

@ -27,6 +27,7 @@ import com.tenwa.comm.exception.BusinessException;
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
import com.tenwa.quartz.StringUtil;
import com.tenwa.reckon.util.DateUtil;
import com.tenwa.util.SerialNumberUtil;
import com.tenwa.voucher.service.InitVoucherService;
import com.tenwa.voucher.service.VoucherJavaParamService;
import com.tenwa.voucher.service.VoucherService;
@ -348,6 +349,9 @@ public class CreateVoucherServiceImpl {
otherProperty.clear();
fromCondtion.put("id", voucherConfigId);
otherProperty.put("MODULAR_NUMBER", "¸´ÖÆ--"+modularnumber);
String VoucherNumber = SerialNumberUtil.getVoucherNumber(tx);
otherProperty.put("VOUCHER_NO", VoucherNumber); // ƾ֤±àºÅ×ÔÔö
otherProperty.put("PROJ_TYPE", "01"); // Ö±×âģʽ
String newID = "";
newID = DataOperatorUtil.copySingleJBO(LV_VOUCHER_CONFIG.CLASS_NAME, fromCondtion, LV_VOUCHER_CONFIG.CLASS_NAME, null, otherProperty, tx);
String sql = "select id from lv_voucher_loan where voucher_id=" + "'" + voucherConfigId + "'";