kongdeqiang
2023-06-06 47c0c2fbf4e9f57ef1f05481b43554a5d7089e32
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());
        }
    }
    //插入执法订单记录
@@ -299,6 +307,10 @@
        Path path = Paths.get("E:\\ycCheckBill\\Bank_PSBC_20350421.txt");
        try {
            List<String>  lines = Files.readAllLines(path);
            String s = lines.get(0);
            String[] split = s.split("\\|");
            for (String line : lines) {
                System.out.println(line);
            }