Commit 2c9157f1 authored by zhaobiyan's avatar zhaobiyan

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

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