kongdeqiang
2023-06-05 957fe0a4eda7e4616d91d0b8939901bff6366542
src/main/java/com/boying/controller/phone/YCPayController.java
@@ -40,6 +40,7 @@
    private final TicketBlackService ticketBlackService;
    private final SystemConfigProperties systemConfigProperties;
    private final WhiteListService whiteListService;
    private final EnterParkService enterParkService;
    /**
     * 查询订单接口
@@ -261,6 +262,13 @@
        orderRecord.setTicketStatus(0);
        orderRecord.setPayCode(outPark.getPayCode());
        orderRecordService.saveOrUpdate(orderRecord);
        if(outPark.getImgId() != null){
            orderRecord.setImgOutId(outPark.getImgId());
        }
        EnterPark enterPark = enterParkService.getByCarNoAndDate(outPark.getCarNo(), outPark.getParkId(), outPark.getEnterTime());
        if(enterPark != null && enterPark.getImgId() != null){
            orderRecord.setImgInId(enterPark.getImgId());
        }
    }
    //插入执法订单记录