Commit 2c9157f1 authored by zhaobiyan's avatar zhaobiyan

会员详情新增积分相关字段

parent cab4f187
...@@ -208,7 +208,7 @@ public class RewardRedeemServiceImpl extends AbstractService<RewardRedeemMapper, ...@@ -208,7 +208,7 @@ public class RewardRedeemServiceImpl extends AbstractService<RewardRedeemMapper,
@Override @Override
public RecordInfoImportRespVO recordImport(List<RedeemInfoImportExcelVO> dataList) { public RecordInfoImportRespVO recordImport(List<RedeemInfoImportExcelVO> dataList) {
if (CollectionUtils.isEmpty(dataList)) { if (CollectionUtils.isEmpty(dataList)) {
return RecordInfoImportRespVO.builder().build(); return RecordInfoImportRespVO.builder().redeemIdFailedMap(Collections.emptyMap()).build();
} }
if (dataList.size() > MAX_IMPORT_RECORD_COUNT) { if (dataList.size() > MAX_IMPORT_RECORD_COUNT) {
throw exception(ErrorCodeConstants.REDEEM_IMPORT_MAX_COUNT, MAX_IMPORT_RECORD_COUNT); throw exception(ErrorCodeConstants.REDEEM_IMPORT_MAX_COUNT, MAX_IMPORT_RECORD_COUNT);
...@@ -241,7 +241,7 @@ public class RewardRedeemServiceImpl extends AbstractService<RewardRedeemMapper, ...@@ -241,7 +241,7 @@ public class RewardRedeemServiceImpl extends AbstractService<RewardRedeemMapper,
return rewardRedeemDO; return rewardRedeemDO;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
this.updateBatchById(saveDataList); this.updateBatchById(saveDataList);
return RecordInfoImportRespVO.builder().build(); return RecordInfoImportRespVO.builder().redeemIdFailedMap(Collections.emptyMap()).build();
} }
@Override @Override
......
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