add 新增 查询充电优免订单接口

This commit is contained in:
Lemon
2025-06-11 08:52:30 +08:00
parent c1b67f105f
commit d080b70373
7 changed files with 115 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
package com.jsowell.pile.service;
import com.jsowell.pile.domain.CarCouponRecord;
import com.jsowell.pile.vo.uniapp.customer.ParkingOrderVO;
import java.util.List;
@@ -63,4 +64,6 @@ public interface CarCouponRecordService {
* 根据订单号与车牌号查询发券成功的记录
*/
public CarCouponRecord selectCarCouponRecord(String orderCode);
List<ParkingOrderVO> queryParkingOrderList(String memberId);
}

View File

@@ -6,6 +6,7 @@ import com.jsowell.common.util.DateUtils;
import com.jsowell.pile.domain.CarCouponRecord;
import com.jsowell.pile.mapper.CarCouponRecordMapper;
import com.jsowell.pile.service.CarCouponRecordService;
import com.jsowell.pile.vo.uniapp.customer.ParkingOrderVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -111,4 +112,9 @@ public class CarCouponRecordServiceImpl implements CarCouponRecordService {
}
return carCouponRecord;
}
@Override
public List<ParkingOrderVO> queryParkingOrderList(String memberId) {
return carCouponRecordMapper.queryParkingOrderList(memberId);
}
}