| | |
| | | if (s.equals(tjOrder.getCheckDoctor()) && tjOrder.getReleaseTime() != null) { |
| | | releaseCount++; |
| | | } |
| | | // TODO: 2023/3/31 发送短信/邮件统计 |
| | | if (s.equals(tjOrder.getCheckDoctor()) && "1".equals(tjOrder.getSendEmail())) { |
| | | messageCount++; |
| | | } |
| | |
| | | Integer tuan=0; |
| | | BigDecimal shouyi=new BigDecimal(0); |
| | | for (TjOrder tjOrder : list) { |
| | | final TjCustomer byId = customerService.getById(tjOrder.getUserId()); |
| | | if (byId.getCusSex()==0){ |
| | | boys+=1; |
| | | }else if (byId.getCusSex()==1){ |
| | | girls+=1; |
| | | TjCustomer customer = customerService.getById(tjOrder.getUserId()); |
| | | if(null !=customer){ |
| | | if (customer.getCusSex()==0){ |
| | | boys+=1; |
| | | }else if (customer.getCusSex()==1){ |
| | | girls+=1; |
| | | } |
| | | } |
| | | |
| | | if ("2".equals(tjOrder.getTjType())){ |
| | | person+=1; |
| | | } else if ("1".equals(tjOrder.getTjType())) { |
| | |
| | | wqqq.eq(TjFlowingWater::getOrderId,tjOrder.getOrderId()); |
| | | final List<TjFlowingWater> list1 = tjFlowingWaterService.list(wqqq); |
| | | for (TjFlowingWater tjFlowingWater : list1) { |
| | | shouyi.add(tjFlowingWater.getPaidIn()); |
| | | if(null !=tjFlowingWater.getPaidIn()){ |
| | | shouyi.add(tjFlowingWater.getPaidIn()); |
| | | } |
| | | |
| | | } |
| | | } |
| | | chartVo.setBoysNum(boys); |