|
|
@ -1,8 +1,8 @@ |
|
|
|
package com.fr.plugin.file.submit.oss.job; |
|
|
|
package com.fr.plugin.file.submit.oss.job; |
|
|
|
|
|
|
|
|
|
|
|
import com.aliyun.oss.OSSClient; |
|
|
|
import com.aliyun.oss.OSSClient; |
|
|
|
import com.fr.data.AbstractSubmitTask; |
|
|
|
|
|
|
|
import com.fanruan.api.xml.XmlKit; |
|
|
|
import com.fanruan.api.xml.XmlKit; |
|
|
|
|
|
|
|
import com.fr.data.AbstractSubmitTask; |
|
|
|
import com.fr.intelli.record.Focus; |
|
|
|
import com.fr.intelli.record.Focus; |
|
|
|
import com.fr.intelli.record.Original; |
|
|
|
import com.fr.intelli.record.Original; |
|
|
|
import com.fr.plugin.file.submit.oss.fun.OssConstants; |
|
|
|
import com.fr.plugin.file.submit.oss.fun.OssConstants; |
|
|
@ -61,7 +61,8 @@ public class OssSubmitJob extends AbstractSubmitTask { |
|
|
|
ColumnRow[] crs = calculateRelatedColumnRows(submitTargetConfig); |
|
|
|
ColumnRow[] crs = calculateRelatedColumnRows(submitTargetConfig); |
|
|
|
if (currentReport instanceof WB) { |
|
|
|
if (currentReport instanceof WB) { |
|
|
|
WB wb = (WB) (currentReport); |
|
|
|
WB wb = (WB) (currentReport); |
|
|
|
wb.setCurrentColumnRow(crs, (ColumnRow) ca.getAttribute(ColumnRow.class), ca, new DBWriteAction() { |
|
|
|
ColumnRow cr = ca.getAttribute(ColumnRow.class); |
|
|
|
|
|
|
|
wb.setCurrentColumnRow(crs, cr, ca, new DBWriteAction() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void run(int index, Calculator ca, int groupIdx) throws Exception { |
|
|
|
public void run(int index, Calculator ca, int groupIdx) throws Exception { |
|
|
|
OssUpload.upload(ca, ossClient, submitTargetConfig); |
|
|
|
OssUpload.upload(ca, ossClient, submitTargetConfig); |
|
|
|