凭证相关-网银接口导入生成凭证客户id, 客户名称自带

This commit is contained in:
xiezhiwen 2018-09-03 16:39:42 +08:00
parent 3aba0874c7
commit 367c1168c7
3 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,6 @@
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "/Tenwa/Customer/customer_list/cust_list.jsp";
String sTempletNo = "CUST_INFO";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "");

View File

@ -319,6 +319,9 @@ public class CreateVoucherServiceImpl {
}else if("PZ2018071100000010".equals(VOUCHERNO)||"PZ2018080300000074".equals(VOUCHERNO)){
subData.put("CUSTID",dataTemp.get("DISTRIBUTOR_ID"));//¾­ÏúÉÌid
subData.put("CUSTNAME",dataTemp.get("DISTRIBUTOR_NAME"));//¾­ÏúÉÌÃû³Æ
}else if("PZ2018081600000120".equals(VOUCHERNO)){
subData.put("CUSTID","0203440110");//经销商id
subData.put("CUSTNAME","业务系统待查客户");//经销商名称
}else {
subData.put("CUSTID",dataTemp.get("CUSTID"));//¿ÍÉÌid
subData.put("CUSTNAME",dataTemp.get("CUSTNAME"));//¿ÍÉÌÃû³Æ

View File

@ -102,7 +102,8 @@ public class EbankUse {
param.put("FACT_DATE", fact_date);
param.put("ACC_NUMBER", ownnumber);
param.put("CONTRACT_NUMBER", CONTRACT_NUMBER);
param.put("VOUCHERNO", voucherNo);
Map<String, String> map = new HashMap<String, String>();
map.put("PROJ_TYPE", "02");
map.put("VOUCHER_NO", voucherNo);