囤油锁价
This commit is contained in:
parent
88db1d93a0
commit
fa64cf61b6
@ -109,7 +109,7 @@ public interface CardFuelRecordMapper extends BaseMapper<CardFuelRecord> {
|
||||
|
||||
List<CardFuelRecordCount> selectFuelRecordCount(CardFuelRecord cardFuelRecord);
|
||||
|
||||
CardFuelRecord getRecordByUserId(@Param("cardFuelRecord") CardFuelRecord cardFuelRecord);
|
||||
List<CardFuelRecord> getRecordByUserId(@Param("cardFuelRecord") CardFuelRecord cardFuelRecord);
|
||||
}
|
||||
|
||||
|
||||
|
@ -113,5 +113,5 @@ public interface CardFuelRecordService {
|
||||
*/
|
||||
List<CardFuelRecordCount> selectFuelRecordCount(CardFuelRecord cardFuelRecord);
|
||||
|
||||
CardFuelRecord getRecordByUserId(CardFuelRecord cardFuelRecord);
|
||||
List<CardFuelRecord> getRecordByUserId(CardFuelRecord cardFuelRecord);
|
||||
}
|
||||
|
@ -1005,7 +1005,7 @@ public class CardFuelRecordServiceImpl implements CardFuelRecordService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public CardFuelRecord getRecordByUserId(CardFuelRecord cardFuelRecord) {
|
||||
public List<CardFuelRecord> 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<CardFuelRecord> recordByUserId = cardFuelRecordMapper.getRecordByUserId(cardFuelRecord);
|
||||
return recordByUserId;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user