Commit 2d81a0ab authored by sherlock's avatar sherlock

Merge branch 'dev_oracle_sherlock' into 'dev_oracle'

Dev oracle sherlock

See merge request root/atms!214
parents 14f7e296 0cca7aa9
...@@ -111,7 +111,7 @@ public class WPSR extends FunctionBase implements FreeRefFunction { ...@@ -111,7 +111,7 @@ public class WPSR extends FunctionBase implements FreeRefFunction {
dto.setColumnName(""); dto.setColumnName("");
dto.setRowName(""); dto.setRowName("");
dto.setReportName(ec.getWorkbook().getSheetName(ec.getSheetIndex())); dto.setReportName(ec.getWorkbook().getSheetName(ec.getSheetIndex()));
dto.setType(FormulaDataSourceType.Report.getCode()); dto.setType(FormulaDataSourceType.TrialBalanceSource.getCode());
Long dataSourceId = saveDataSource(ec, Lists.newArrayList(dto), FormulaDataSourceDetailType.InputInvoiceDataSourceDto, val, formulaContext.getPeriod(), Long dataSourceId = saveDataSource(ec, Lists.newArrayList(dto), FormulaDataSourceDetailType.InputInvoiceDataSourceDto, val, formulaContext.getPeriod(),
formulaContext.getReportTemplateGroupId(), formulaContext.getProjectId()); formulaContext.getReportTemplateGroupId(), formulaContext.getProjectId());
saveFormulaBlock(formulaContext.getPeriod(), ec, formulaExpression, val, dataSourceId, saveFormulaBlock(formulaContext.getPeriod(), ec, formulaExpression, val, dataSourceId,
......
...@@ -767,6 +767,8 @@ ...@@ -767,6 +767,8 @@
return '贷方发生'; return '贷方发生';
} else if(formula.indexOf('JFFS') > -1){ } else if(formula.indexOf('JFFS') > -1){
return '借方发生'; return '借方发生';
} else if(formula.indexOf('WPSR') > -1){
return 'WPSR';
} }
return ''; return '';
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment