凭证接口测试
This commit is contained in:
parent
6181b5e181
commit
50bbffd93e
@ -103,8 +103,8 @@ public class VoucherSysJointNCServiceImpl implements VoucherSysJointNCService {
|
||||
*/
|
||||
private static void DOM4JcreateToVoucher(Transaction Sqlca,List<Map<String, String>>list, Map<String, String> map) throws Exception {
|
||||
// 本地xml存放文件夹, 没有就创建
|
||||
File file2 = new File("D:\\voucherXml_NC");
|
||||
if (!file2.exists()) {file2.mkdirs();}// 判断是否存在, 如果不存在就创建该文件夹
|
||||
//File file2 = new File("D:\\voucherXml_NC");
|
||||
//if (!file2.exists()) {file2.mkdirs();}// 判断是否存在, 如果不存在就创建该文件夹
|
||||
// 定义全局对象
|
||||
Document document=null; // xml文件头
|
||||
File file=null; // 生成的xml文件路径
|
||||
@ -435,8 +435,8 @@ public class VoucherSysJointNCServiceImpl implements VoucherSysJointNCService {
|
||||
*/
|
||||
private static void DOM4JcreateToCustomer(Transaction Sqlca) throws Exception{
|
||||
// 判断该文件夹是否存在, 如果不存在就创建
|
||||
File file2 = new File("D:\\voucherXml_NC");
|
||||
if(file2.exists()) {file2.mkdirs();}
|
||||
//File file2 = new File("D:\\voucherXml_NC");
|
||||
//if(file2.exists()) {file2.mkdirs();}
|
||||
// 定义全局对象
|
||||
// 生成xml的路劲
|
||||
File file=null;
|
||||
@ -745,10 +745,10 @@ public class VoucherSysJointNCServiceImpl implements VoucherSysJointNCService {
|
||||
* @throws Exception
|
||||
*/
|
||||
private static void DOM4JcreateToSupplier(Transaction Sqlca) throws Exception{
|
||||
File file2 = new File("D:\\voucherXml_NC");
|
||||
if(file2==null || "".equals(file2)) {
|
||||
file2.mkdirs();//创建父文件夹
|
||||
}
|
||||
//File file2 = new File("D:\\voucherXml_NC");
|
||||
//if(file2==null || "".equals(file2)) {
|
||||
// file2.mkdirs();//创建父文件夹
|
||||
//}
|
||||
File file = null;
|
||||
XMLWriter writer = null;
|
||||
String tableName="DISTRIBUTOR_INFO";// 表名
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user