Commit 863eb55b by zhouhaibao

refactor(excel): 移除批量门店组合Excel DTO中的填充注解

- 移除了 BatchStoreCombinedExcelDTO 中 estimatedDeliveryCountPerMonth 字段的 @FillFromPreviousRow 注解
- 移除了 BatchStoreCombinedExcelDTO 中 estimatedGrossMargin 字段的 @FillFromPreviousRow 注解
- 移除了 BatchStoreCombinedExcelDTO 中 hasGuarantee 字段的 @FillFromPreviousRow 注解
- 移除了 BatchStoreCombinedExcelDTO 中 trafficSettlementMode 字段的 @FillFromPreviousRow 注解
- 移除了 BatchStoreCombinedExcelDTO 中 trafficPartyProfitCalculationMode 等多个字段的 @FillFromPreviousRow 注解
- 移除了 SingleStoreExcelDTO 中 otherFeeSettlementTarget 字段的 @FillFromPreviousRow 注解
- 整理了 Excel 导入导出的数据填充逻辑,优化数据处理方式
1 parent f6afb129
...@@ -18,7 +18,6 @@ public class BatchStoreCombinedExcelDTO { ...@@ -18,7 +18,6 @@ public class BatchStoreCombinedExcelDTO {
private String signingEntity; private String signingEntity;
@ExcelProperty(value = "*预估交付数/月", index = 3, converter = IntegerStringConverter.class) @ExcelProperty(value = "*预估交付数/月", index = 3, converter = IntegerStringConverter.class)
@FillFromPreviousRow
private Integer estimatedDeliveryCountPerMonth; private Integer estimatedDeliveryCountPerMonth;
@ExcelProperty(value = "*运营模式", index = 4) @ExcelProperty(value = "*运营模式", index = 4)
...@@ -37,18 +36,15 @@ public class BatchStoreCombinedExcelDTO { ...@@ -37,18 +36,15 @@ public class BatchStoreCombinedExcelDTO {
private String parkingStore; private String parkingStore;
@ExcelProperty(value = "*预估毛利率", index = 9, converter = PercentStringConverter.class) @ExcelProperty(value = "*预估毛利率", index = 9, converter = PercentStringConverter.class)
@FillFromPreviousRow
private BigDecimal estimatedGrossMargin; private BigDecimal estimatedGrossMargin;
@ExcelProperty(value = "*是否存在兜底", index = 10) @ExcelProperty(value = "*是否存在兜底", index = 10)
@FillFromPreviousRow
private String hasGuarantee; private String hasGuarantee;
@ExcelProperty(value = "*产品分类", index = 11) @ExcelProperty(value = "*产品分类", index = 11)
private String productCategory; private String productCategory;
@ExcelProperty(value = "*流量结算模式", index = 12) @ExcelProperty(value = "*流量结算模式", index = 12)
@FillFromPreviousRow
private String trafficSettlementMode; private String trafficSettlementMode;
@ExcelProperty(value = "*流量方是否线上自动分账", index = 13) @ExcelProperty(value = "*流量方是否线上自动分账", index = 13)
...@@ -60,19 +56,15 @@ public class BatchStoreCombinedExcelDTO { ...@@ -60,19 +56,15 @@ public class BatchStoreCombinedExcelDTO {
private String trafficPartySettlementTarget; private String trafficPartySettlementTarget;
@ExcelProperty(value = "*流量方分润计算模式", index = 15) @ExcelProperty(value = "*流量方分润计算模式", index = 15)
@FillFromPreviousRow
private String trafficPartyProfitCalculationMode; private String trafficPartyProfitCalculationMode;
@ExcelProperty(value = "*流量方分润类型", index = 16) @ExcelProperty(value = "*流量方分润类型", index = 16)
@FillFromPreviousRow
private String trafficPartyProfitType; private String trafficPartyProfitType;
@ExcelProperty(value = "*流量方比例", index = 17, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*流量方比例", index = 17, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal trafficPartyRatio; private BigDecimal trafficPartyRatio;
@ExcelProperty(value = "*产品成本归属", index = 18) @ExcelProperty(value = "*产品成本归属", index = 18)
@FillFromPreviousRow
private String productCostOwnership; private String productCostOwnership;
@ExcelProperty(value = "*服务商是否线上自动分账", index = 19) @ExcelProperty(value = "*服务商是否线上自动分账", index = 19)
...@@ -84,15 +76,12 @@ public class BatchStoreCombinedExcelDTO { ...@@ -84,15 +76,12 @@ public class BatchStoreCombinedExcelDTO {
private String serviceProviderSettlementTarget; private String serviceProviderSettlementTarget;
@ExcelProperty(value = "*服务商分润计算模式", index = 21) @ExcelProperty(value = "*服务商分润计算模式", index = 21)
@FillFromPreviousRow
private String serviceProviderProfitCalculationMode; private String serviceProviderProfitCalculationMode;
@ExcelProperty(value = "*服务商分润类型", index = 22) @ExcelProperty(value = "*服务商分润类型", index = 22)
@FillFromPreviousRow
private String serviceProviderProfitType; private String serviceProviderProfitType;
@ExcelProperty(value = "*服务商比例", index = 23, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*服务商比例", index = 23, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal serviceProviderRatio; private BigDecimal serviceProviderRatio;
@ExcelProperty(value = "*资源费是否线上自动分账", index = 24) @ExcelProperty(value = "*资源费是否线上自动分账", index = 24)
...@@ -104,31 +93,24 @@ public class BatchStoreCombinedExcelDTO { ...@@ -104,31 +93,24 @@ public class BatchStoreCombinedExcelDTO {
private String resourceFeeSettlementTarget; private String resourceFeeSettlementTarget;
@ExcelProperty(value = "*资源费分润计算模式", index = 26) @ExcelProperty(value = "*资源费分润计算模式", index = 26)
@FillFromPreviousRow
private String resourceFeeProfitCalculationMode; private String resourceFeeProfitCalculationMode;
@ExcelProperty(value = "*资源费分润类型", index = 27) @ExcelProperty(value = "*资源费分润类型", index = 27)
@FillFromPreviousRow
private String resourceFeeProfitType; private String resourceFeeProfitType;
@ExcelProperty(value = "*资源费比例", index = 28, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*资源费比例", index = 28, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal resourceFeeRatio; private BigDecimal resourceFeeRatio;
@ExcelProperty(value = "*其他费用分润计算模式", index = 29) @ExcelProperty(value = "*其他费用分润计算模式", index = 29)
@FillFromPreviousRow
private String otherFeeProfitCalculationMode; private String otherFeeProfitCalculationMode;
@ExcelProperty(value = "*其他费用分润类型", index = 30) @ExcelProperty(value = "*其他费用分润类型", index = 30)
@FillFromPreviousRow
private String otherFeeProfitType; private String otherFeeProfitType;
@ExcelProperty(value = "*其他费用分润比例", index = 31, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*其他费用分润比例", index = 31, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal otherFeeRatio; private BigDecimal otherFeeRatio;
@ExcelProperty(value = "*线上分账对象", index = 32) @ExcelProperty(value = "*线上分账对象", index = 32)
@FillFromPreviousRow
private String otherFeeSettlementTarget; private String otherFeeSettlementTarget;
@ExcelProperty(value = "*管理层市场费是否前置", index = 33) @ExcelProperty(value = "*管理层市场费是否前置", index = 33)
...@@ -136,27 +118,21 @@ public class BatchStoreCombinedExcelDTO { ...@@ -136,27 +118,21 @@ public class BatchStoreCombinedExcelDTO {
private String managementMarketFeePrepaid; private String managementMarketFeePrepaid;
@ExcelProperty(value = "*管理层市场费1计算模式", index = 34) @ExcelProperty(value = "*管理层市场费1计算模式", index = 34)
@FillFromPreviousRow
private String managementMarketFee1CalculationMode; private String managementMarketFee1CalculationMode;
@ExcelProperty(value = "*管理层市场费1计算方式", index = 35) @ExcelProperty(value = "*管理层市场费1计算方式", index = 35)
@FillFromPreviousRow
private String managementMarketFee1CalculationMethod; private String managementMarketFee1CalculationMethod;
@ExcelProperty(value = "*管理层市场费1", index = 36, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*管理层市场费1", index = 36, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal managementMarketFee1; private BigDecimal managementMarketFee1;
@ExcelProperty(value = "*管理层市场费2计算模式", index = 37) @ExcelProperty(value = "*管理层市场费2计算模式", index = 37)
@FillFromPreviousRow
private String managementMarketFee2CalculationMode; private String managementMarketFee2CalculationMode;
@ExcelProperty(value = "*管理层市场费2计算方式", index = 38) @ExcelProperty(value = "*管理层市场费2计算方式", index = 38)
@FillFromPreviousRow
private String managementMarketFee2CalculationMethod; private String managementMarketFee2CalculationMethod;
@ExcelProperty(value = "*管理层市场费2", index = 39, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*管理层市场费2", index = 39, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal managementMarketFee2; private BigDecimal managementMarketFee2;
@ExcelProperty(value = "*一线阳光是否前置", index = 40) @ExcelProperty(value = "*一线阳光是否前置", index = 40)
...@@ -168,15 +144,12 @@ public class BatchStoreCombinedExcelDTO { ...@@ -168,15 +144,12 @@ public class BatchStoreCombinedExcelDTO {
private String sunshineOnlinePoints; private String sunshineOnlinePoints;
@ExcelProperty(value = "*一线阳光计算模式", index = 42) @ExcelProperty(value = "*一线阳光计算模式", index = 42)
@FillFromPreviousRow
private String sunshineCalculationMode; private String sunshineCalculationMode;
@ExcelProperty(value = "*一线阳光计算方式", index = 43) @ExcelProperty(value = "*一线阳光计算方式", index = 43)
@FillFromPreviousRow
private String sunshineCalculationMethod; private String sunshineCalculationMethod;
@ExcelProperty(value = "*一线阳光激励费", index = 44, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*一线阳光激励费", index = 44, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal sunshineIncentiveFee; private BigDecimal sunshineIncentiveFee;
@ExcelProperty(value = "*一线阳光2是否开启线上积分", index = 45) @ExcelProperty(value = "*一线阳光2是否开启线上积分", index = 45)
...@@ -184,15 +157,12 @@ public class BatchStoreCombinedExcelDTO { ...@@ -184,15 +157,12 @@ public class BatchStoreCombinedExcelDTO {
private String sunshine2OnlinePoints; private String sunshine2OnlinePoints;
@ExcelProperty(value = "*一线阳光2计算模式", index = 46) @ExcelProperty(value = "*一线阳光2计算模式", index = 46)
@FillFromPreviousRow
private String sunshine2CalculationMode; private String sunshine2CalculationMode;
@ExcelProperty(value = "*一线阳光2计算方式", index = 47) @ExcelProperty(value = "*一线阳光2计算方式", index = 47)
@FillFromPreviousRow
private String sunshine2CalculationMethod; private String sunshine2CalculationMethod;
@ExcelProperty(value = "*一线阳光2激励费", index = 48, converter = PercentAndNumberConverter.class) @ExcelProperty(value = "*一线阳光2激励费", index = 48, converter = PercentAndNumberConverter.class)
@FillFromPreviousRow
private BigDecimal sunshine2IncentiveFee; private BigDecimal sunshine2IncentiveFee;
@ExcelProperty(value = "*装修、设备总投入", index = 49, converter = NumberStringConverter.class) @ExcelProperty(value = "*装修、设备总投入", index = 49, converter = NumberStringConverter.class)
......
...@@ -137,7 +137,6 @@ public class SingleStoreExcelDTO { ...@@ -137,7 +137,6 @@ public class SingleStoreExcelDTO {
@ExcelMergeRow(columIndex = 30) @ExcelMergeRow(columIndex = 30)
@ExcelProperty(value = "*线上分账对象", index = 30) @ExcelProperty(value = "*线上分账对象", index = 30)
@FillFromPreviousRow
private String otherFeeSettlementTarget; private String otherFeeSettlementTarget;
@ExcelMergeRow(columIndex = 31) @ExcelMergeRow(columIndex = 31)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!