11
lige
2023-09-13 285ff92599f9c7e42af704606d1587b5d05d89ca
ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjAsyncServiceImpl.java
@@ -79,6 +79,8 @@
    @Async("async")
    public void extracted(TjOrder tjOrder, TjCustomer tjCustomer, BigDecimal discount, SysUser sysUser, TjReservation tjReservation, TjFlowingWater tjFlowingWater) {
        long l = System.currentTimeMillis();
        LambdaQueryWrapper<TjAskMedicalHistory> wq=new LambdaQueryWrapper<>();
        wq.eq(TjAskMedicalHistory::getCusId,tjCustomer.getCusId());
        wq.isNull(TjAskMedicalHistory::getTjNum);
@@ -187,6 +189,7 @@
                tjOrderDetailService.updateById(tjOrderDetail);
            }
        }
        System.out.println("这段代码时间"+(l-System.currentTimeMillis()));
    }
    @Override
@@ -1272,6 +1275,9 @@
            for (Map.Entry<String, List<TjSampling>> entry : stringListMap.entrySet()) {
                Map<String,Object>map=new HashMap<>();
                TjCustomer customer = tjCustomerService.getById(entry.getKey());
                if (customer==null){
                    continue;
                }
                customer.setCusName(hideCusName(customer.getCusName()));
                customer.setCusPhone(hidePhoneNum(customer.getCusPhone()));
                customer.setCusIdcard(hideIdCardNum(customer.getCusIdcard()));