凭证接口测试

This commit is contained in:
xiezhiwen 2018-09-18 17:59:16 +08:00
parent 09d7598386
commit a01a73c0f0

View File

@ -1107,7 +1107,7 @@ public class VoucherSysJointNCServiceImpl implements VoucherSysJointNCService {
}
input.close();
System.out.println("--------------------------" + xmlString);
String insertSql1="INSERT INTO test_log(id,NAME) VALUES('1','成功')";
String insertSql1="INSERT INTO LB_XZW_LOG(ID_,NAME_) VALUES('"+tableName+"','成功')";
Sqlca.executeSQL(insertSql1);
/**
* 将获取到的回执信息生成本地xml
@ -1126,9 +1126,8 @@ public class VoucherSysJointNCServiceImpl implements VoucherSysJointNCService {
String resFile = "//data//files//apzl_leasing//tmp//WEN"+fmt.format(new Date())+".xml";
StreamResult result = new StreamResult(new File(resFile));
transformer.transform(source,result);
String insertSql="INSERT INTO test_log(id,NAME) VALUES('2','成功')";
String insertSql="INSERT INTO LB_XZW_LOG(ID_,NAME_) VALUES('2','成功')";
Sqlca.executeSQL(insertSql);
/**
* 解析xml, 根据回执信息更新状态
*/