凭证相关-起租前凭证(回租)
This commit is contained in:
parent
a882b6c205
commit
78a1e9993b
@ -13,10 +13,9 @@ import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
import com.tenwa.voucher.serviceImp.CreateVoucherServiceImpl;
|
||||
|
||||
public class CreateVoucherLoanDistributor {
|
||||
public String CreateVoucher(String FlowUnid,String VOUCHERNO) throws Exception {
|
||||
public String CreateVoucher(String FlowUnid,String VOUCHERNO, Transaction sqlca2) throws Exception {
|
||||
|
||||
Transaction Sqlca =null;
|
||||
|
||||
Map<String,String> map=new HashMap<String, String>();
|
||||
Map<String,String> param=new HashMap<String, String>();
|
||||
|
||||
@ -89,7 +88,7 @@ public class CreateVoucherLoanDistributor {
|
||||
sql+=" AND lcct.HANDLING_CHARGE_MONEY_TYPE='0020' ";
|
||||
}
|
||||
|
||||
List<Map<String,String>> dataList=DataOperatorUtil.getDataBySql(Sqlca, sql, map);
|
||||
List<Map<String,String>> dataList=DataOperatorUtil.getDataBySql(sqlca2, sql, map);
|
||||
|
||||
CreateVoucherServiceImpl vs=new CreateVoucherServiceImpl();
|
||||
String VOUCHER_TYPE="1";// 凭证分类 金蝶
|
||||
|
||||
@ -13,29 +13,30 @@ public class ContractOnhireVoucher extends BaseBussiness {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String FlowUnid=this.getAttribute("FlowUnid").toString();
|
||||
CreateVoucherLoanDistributor cvld=new CreateVoucherLoanDistributor();
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018073100000061");// 确认GPS收入 --回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000068");// 确认GPS收入 --直租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018073100000061",Sqlca);// 确认GPS收入 --回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000068",Sqlca);// 确认GPS收入 --直租
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018070900000003");// 收取首付款-回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080200000065");// 收取首付款-直租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018070900000003",Sqlca);// 收取首付款-回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080200000065",Sqlca);// 收取首付款-直租
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018070900000002");// 购置融资租赁资产-回
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018072400000060");// 购置融资租赁资产-直
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018070900000002",Sqlca);// 购置融资租赁资产-回
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018072400000060",Sqlca);// 购置融资租赁资产-直
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000005");// 合同起租(一次性确认收入)-回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000069");// 合同起租(一次性确认收入)-直租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000005",Sqlca);// 合同起租(一次性确认收入)-回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000069",Sqlca);// 合同起租(一次性确认收入)-直租
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000006");// 合同起租(按月分摊收入)--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000071");// 合同起租(按月分摊收入)--直租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000006",Sqlca);// 合同起租(按月分摊收入)--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000071",Sqlca);// 合同起租(按月分摊收入)--直租
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000004");// 收取客户保证金--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000070");// 收取客户保证金--直租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000004",Sqlca);// 收取客户保证金--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000070",Sqlca);// 收取客户保证金--直租
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000007");// 收取客户手续费(一次性确认收入)--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000072");// 收取客户手续费(一次性确认收入)--直租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000007",Sqlca);// 收取客户手续费(一次性确认收入)--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000072",Sqlca);// 收取客户手续费(一次性确认收入)--直租
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000009");// 收取客户手续费(按月分摊收入)--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000073");// 收取客户手续费(按月分摊收入)--直租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000009",Sqlca);// 收取客户手续费(按月分摊收入)--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000073",Sqlca);// 收取客户手续费(按月分摊收入)--直租
|
||||
System.out.println(0/0);
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user