|
@@ -228,20 +228,20 @@ public class AccountingUnifiedOperatorServiceImpl implements AccountingUnifiedOp
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public SysNotify exportAccountSupplierList(AccountingUnifiedOperatorQueryParam param) {
|
|
public SysNotify exportAccountSupplierList(AccountingUnifiedOperatorQueryParam param) {
|
|
-// String excelExportPathRoot = excelExportConstant.getPathRoot();
|
|
|
|
-// String excelExportOrderPathTemplate = excelExportConstant.getPathTemplate();
|
|
|
|
-// String excelExportOrderPathStorage = excelExportConstant.getPathStorage();
|
|
|
|
|
|
+ String excelExportPathRoot = excelExportConstant.getPathRoot();
|
|
|
|
+ String excelExportOrderPathTemplate = excelExportConstant.getPathTemplate();
|
|
|
|
+ String excelExportOrderPathStorage = excelExportConstant.getPathStorage();
|
|
String relativePath = File.separator + "excel" + File.separator + "accounting" + File.separator + "unified" + File.separator+ "operator" + File.separator;
|
|
String relativePath = File.separator + "excel" + File.separator + "accounting" + File.separator + "unified" + File.separator+ "operator" + File.separator;
|
|
-// String templateRelativePath = excelExportPathRoot + excelExportOrderPathTemplate + relativePath;
|
|
|
|
-// String templateFullPath = templateRelativePath + EXPORT_ACCOUNTING_OP_SUPPLIER_TEMPLATE;
|
|
|
|
-// String targetFullPath = excelExportPathRoot + excelExportOrderPathStorage;
|
|
|
|
|
|
+ String templateRelativePath = excelExportPathRoot + excelExportOrderPathTemplate + relativePath;
|
|
|
|
+ String templateFullPath = templateRelativePath + EXPORT_ACCOUNTING_OP_SUPPLIER_TEMPLATE;
|
|
|
|
+ String targetFullPath = excelExportPathRoot + excelExportOrderPathStorage;
|
|
|
|
|
|
String strTime = DateUtil.format(new Date(), "yyyyMMddHHmmss");
|
|
String strTime = DateUtil.format(new Date(), "yyyyMMddHHmmss");
|
|
String targetFileName = "账单管理_导出账单(含供应商成本)_" + strTime + GenRandomHelper.genRandomNum(4) +".xlsx";
|
|
String targetFileName = "账单管理_导出账单(含供应商成本)_" + strTime + GenRandomHelper.genRandomNum(4) +".xlsx";
|
|
-// String targetWriteFileFullPath = targetFullPath + relativePath + targetFileName;
|
|
|
|
|
|
+ String targetWriteFileFullPath = targetFullPath + relativePath + targetFileName;
|
|
|
|
|
|
- String targetWriteFileFullPath = "D:\\template\\excel\\"+targetFileName;
|
|
|
|
- String templateFullPath = "D:\\template\\tmp\\" +EXPORT_ACCOUNTING_OP_SUPPLIER_TEMPLATE;
|
|
|
|
|
|
+// String targetWriteFileFullPath = "D:\\template\\excel\\"+targetFileName;
|
|
|
|
+// String templateFullPath = "D:\\template\\tmp\\" +EXPORT_ACCOUNTING_OP_SUPPLIER_TEMPLATE;
|
|
|
|
|
|
FileUtil.touch(targetWriteFileFullPath);
|
|
FileUtil.touch(targetWriteFileFullPath);
|
|
|
|
|