Commit 8bdc79b3 authored by chase's avatar chase

新增税金公式

parent 94d00491
......@@ -29,6 +29,22 @@ public class ReportCellDataSourceDto extends DataSourceDto {
this.type = FormulaDataSourceType.Report.getCode();
}
public void extractFromGroup(WPNAMEParasBo parasBo, Integer period, Integer year,
CellTemplatePerGroupDto cellTemplateData) {
this.tag = "WPNAME";
this.name = DataSourceName.ReportDataSource;
this.year = year;
this.period = period;
this.columnIndex = cellTemplateData.getColumnIndex() - 1;
this.columnName = cellTemplateData.getColumnName();
this.rowIndex = cellTemplateData.getRowIndex() - 1;
this.rowName = cellTemplateData.getRowName();
this.reportTemplateId = cellTemplateData.getReportTemplateId();
this.cellTemplateId = cellTemplateData.getCellTemplateId() + "";
this.resultType = cellTemplateData.getResultType();
this.isOnlyManualInput = false;
this.reportName = parasBo.getReportCode();
}
public static ReportCellDataSourceDto nullDataSource(BBParasBo bbParasBo, CurrentPeriodBo currentPeriodBo) {
ReportCellDataSourceDto nulDataSource = new ReportCellDataSourceDto();
nulDataSource.name = DataSourceName.ReportDataSource;
......
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