|
@@ -6,6 +6,7 @@ import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
import org.springblade.common.utils.BaseUtils;
|
|
|
import org.springblade.core.tool.utils.RegexUtil;
|
|
|
+import org.springblade.manager.dto.FormData;
|
|
|
import org.springblade.manager.dto.TreeNode;
|
|
|
import org.springblade.manager.vo.*;
|
|
|
|
|
@@ -39,7 +40,9 @@ public class ExecutorInit extends FormulaExecutor {
|
|
|
BaseInfo baseInfo = baseInfoFc.apply(tec.getContractId());
|
|
|
baseInfo.setTotalAmount(baseInfo.getContractAmount());
|
|
|
tec.getConstantMap().put(BaseInfo.TBN,baseInfo);
|
|
|
- tec.formDataMap.putAll(FormulaUtils.toFormDataMap(baseInfo));
|
|
|
+ LinkedHashMap<String, FormData> baseMap =FormulaUtils.toFormDataMap(baseInfo);
|
|
|
+ tec.getRepeatKeys().addAll(baseMap.keySet());
|
|
|
+ tec.formDataMap.putAll(baseMap);
|
|
|
if(MeterType.MATERIAL.equals(tec.getMeterType())||MeterType.START.equals(tec.getMeterType())){
|
|
|
/*加载计量期信息*/
|
|
|
tec.periodInfo=meterPeriodFc.apply(tec.getReportId());
|
|
@@ -61,7 +64,9 @@ public class ExecutorInit extends FormulaExecutor {
|
|
|
tec.periodInfo.setPeriodNumber(periodNumber);
|
|
|
}
|
|
|
}
|
|
|
- tec.formDataMap.putAll(FormulaUtils.toFormDataMap(tec.periodInfo));
|
|
|
+ LinkedHashMap<String, FormData> periodMap= FormulaUtils.toFormDataMap(tec.periodInfo);
|
|
|
+ tec.getRepeatKeys().addAll(periodMap.keySet());
|
|
|
+ tec.formDataMap.putAll(periodMap);
|
|
|
|
|
|
}
|
|
|
|