Commit b68c6d94 by 王璐琦

refactor(service): 移除无用的 notDeliveryCount 字段设置

- 删除 DailyReportRecordService 中对 notDeliveryCount 字段的硬编码赋值
1 parent 11b17f44
...@@ -329,7 +329,6 @@ public class DailyReportRecordService { ...@@ -329,7 +329,6 @@ public class DailyReportRecordService {
report.setYqMerchantName(dailyReportRecordDTO.getYqMerchantName()); report.setYqMerchantName(dailyReportRecordDTO.getYqMerchantName());
report.setStaffCount(staffCount); report.setStaffCount(staffCount);
report.setDeliveryCount(deliveryCount); report.setDeliveryCount(deliveryCount);
report.setNotDeliveryCount(0);
merchantDailyReportHuaweiRemote.saveMerchantDailyReportHuawei(report); merchantDailyReportHuaweiRemote.saveMerchantDailyReportHuawei(report);
log.info("syncMerchantDailyReportHuawei success, merchantId={}, sceneType=1, brand={}", merchantId, carBrand.getBrandName()); log.info("syncMerchantDailyReportHuawei success, merchantId={}, sceneType=1, brand={}", merchantId, carBrand.getBrandName());
...@@ -362,7 +361,6 @@ public class DailyReportRecordService { ...@@ -362,7 +361,6 @@ public class DailyReportRecordService {
report.setYqMerchantId(yqMerchantId); report.setYqMerchantId(yqMerchantId);
report.setYqMerchantName(dailyReportRecordDTO.getYqMerchantName()); report.setYqMerchantName(dailyReportRecordDTO.getYqMerchantName());
report.setStaffCount(staffCount); report.setStaffCount(staffCount);
report.setNotDeliveryCount(0);
report.setWaitInviteCount(getIntField(fieldDataList, DailyReportFieldEnum.F2_24.getValue())); report.setWaitInviteCount(getIntField(fieldDataList, DailyReportFieldEnum.F2_24.getValue()));
report.setCustomerLossCount(getIntField(fieldDataList, DailyReportFieldEnum.F2_25.getValue())); report.setCustomerLossCount(getIntField(fieldDataList, DailyReportFieldEnum.F2_25.getValue()));
report.setIssueCouponCount(getIntField(fieldDataList, DailyReportFieldEnum.F2_23.getValue())); report.setIssueCouponCount(getIntField(fieldDataList, DailyReportFieldEnum.F2_23.getValue()));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!