mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 04:25:21 +08:00
update 查询用户可申请开票的订单列表
This commit is contained in:
@@ -247,6 +247,7 @@ public class OrderController extends BaseController {
|
||||
/**
|
||||
* 查询未开发票订单
|
||||
* 时间限制60天内
|
||||
* http://localhost:8080/uniapp/order/queryUninvoicedOrderList
|
||||
*/
|
||||
@PostMapping("/queryUninvoicedOrderList")
|
||||
public RestApiResponse<?> queryUninvoicedOrderList(HttpServletRequest request, @RequestBody QueryOrderDTO dto) {
|
||||
@@ -259,6 +260,9 @@ public class OrderController extends BaseController {
|
||||
}
|
||||
List<OrderVO> list = orderService.queryUninvoicedOrderList(dto);
|
||||
response = new RestApiResponse<>(ImmutableMap.of("list", list));
|
||||
} catch (BusinessException e) {
|
||||
logger.error("查询未开发票订单 warn", e);
|
||||
response = new RestApiResponse<>(e.getCode(), e.getMessage());
|
||||
} catch (Exception e){
|
||||
logger.error("查询未开发票订单 error", e);
|
||||
response = new RestApiResponse<>("00300003", "查询未开发票订单异常");
|
||||
|
||||
Reference in New Issue
Block a user