kongdeqiang
2023-06-06 ef6a20003f5847c31a0bf3226f29cb051b875613
提交更新
1个文件已修改
7 ■■■■ 已修改文件
src/main/java/com/boying/controller/phone/YCPayController.java 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/boying/controller/phone/YCPayController.java
@@ -261,15 +261,18 @@
        orderRecord.setType(1);
        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());
        List<EnterPark> byCarNo = enterParkService.findByCarNo(outPark.getCarNo(),outPark.getParkId());
        if(byCarNo.size() >0){
            EnterPark enterPark = byCarNo.get(0);
        if(enterPark != null && enterPark.getImgId() != null){
            orderRecord.setImgInId(enterPark.getImgId());
        }
    }
        orderRecordService.saveOrUpdate(orderRecord);
    }
    //插入执法订单记录
    public void addOrderRecord2(Ticket ticket){