diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/mapper/CardFuelRecordMapper.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/mapper/CardFuelRecordMapper.java index 7e1ac2b8c..d50ebb827 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/mapper/CardFuelRecordMapper.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/mapper/CardFuelRecordMapper.java @@ -109,7 +109,7 @@ public interface CardFuelRecordMapper extends BaseMapper { List selectFuelRecordCount(CardFuelRecord cardFuelRecord); - CardFuelRecord getRecordByUserId(@Param("cardFuelRecord") CardFuelRecord cardFuelRecord); + List getRecordByUserId(@Param("cardFuelRecord") CardFuelRecord cardFuelRecord); } diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/CardFuelRecordService.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/CardFuelRecordService.java index 4c2675368..ef4979ca0 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/CardFuelRecordService.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/CardFuelRecordService.java @@ -113,5 +113,5 @@ public interface CardFuelRecordService { */ List selectFuelRecordCount(CardFuelRecord cardFuelRecord); - CardFuelRecord getRecordByUserId(CardFuelRecord cardFuelRecord); + List getRecordByUserId(CardFuelRecord cardFuelRecord); } diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/impl/CardFuelRecordServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/impl/CardFuelRecordServiceImpl.java index 88a6f8a63..52e8729a4 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/impl/CardFuelRecordServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/service/impl/CardFuelRecordServiceImpl.java @@ -1005,7 +1005,7 @@ public class CardFuelRecordServiceImpl implements CardFuelRecordService { } @Override - public CardFuelRecord getRecordByUserId(CardFuelRecord cardFuelRecord) { + public List getRecordByUserId(CardFuelRecord cardFuelRecord) { Integer storeId = 0; if (ObjectUtils.isNotEmpty(cardFuelRecord.getStoreId())){ @@ -1014,7 +1014,7 @@ public class CardFuelRecordServiceImpl implements CardFuelRecordService { storeId= TokenUtil.getNowAccountInfo().getStoreId(); } cardFuelRecord.setStoreId(storeId); - CardFuelRecord recordByUserId = cardFuelRecordMapper.getRecordByUserId(cardFuelRecord); + List recordByUserId = cardFuelRecordMapper.getRecordByUserId(cardFuelRecord); return recordByUserId; } }