| | |
| | | // tjFlowingWater.setPayStasus(1L); |
| | | TjOrder order = orderService.getById(tjFlowingWater.getOrderId()); |
| | | |
| | | if (order.getFinishTime() != null) { |
| | | return AjaxResult.error("该人员已签离,不可补录项目!"); |
| | | if (order.getPrintLastTime() != null) { |
| | | return AjaxResult.error("该人员报告已打印,不可补录项目!"); |
| | | } |
| | | |
| | | TjCustomer customer = customerService.getById(order.getUserId()); |
| | |
| | | tjFlowingWater.setIsAddition("Y"); |
| | | if (tjFlowingWater.getPayStasus().toString().equals("0")) { |
| | | tjFlowingWater.setPayStasus(0L); |
| | | tjFlowingWater.setZfgf(tjFlowingWater.getPayStasus().toString()); |
| | | } else { |
| | | tjFlowingWater.setPayStasus(1L); |
| | | } |
| | | tjFlowingWater.setZfgf(tjFlowingWater.getPayStasus().toString()); |
| | | if (tjFlowingWaterService.save(tjFlowingWater)) { |
| | | |
| | | Date dates = new Date(); |
| | |
| | | list2.add(tjConsumables); |
| | | } |
| | | } |
| | | if (null != list && list.size() > 0) { |
| | | if (null != list && !list.isEmpty()) { |
| | | ArrayList<TjConsumables> collectw = list2.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(TjConsumables::getId))), ArrayList::new)); |
| | | for (TjConsumables tjConsumables : collectw) { |
| | | LambdaQueryWrapper<TjChargingStandard> wqq = new LambdaQueryWrapper<>(); |
| | |
| | | } |
| | | return AjaxResult.error(); |
| | | } |
| | | |
| | | |
| | | |
| | | @GetMapping("/gettuantijiesuanrenyuan") |
| | | @ApiOperation(value = "获取团体结算人员") |
| | | public AjaxResult gettuantijiesuanrenyuan(@RequestParam(required = false) @ApiParam("单位ID") String dwId, |
| | | @RequestParam(required = false) @ApiParam("登记开始时间") String djkssj, |
| | | @RequestParam(required = false) @ApiParam("登记结束时间") String djjssj, |
| | | @RequestParam(required = false) @ApiParam("结算开始时间") String jskssj, |
| | | @RequestParam(required = false) @ApiParam("结算结束时间") String jsjssj, |
| | | @RequestParam(required = false) @ApiParam("体检号") String tjh, |
| | | @RequestParam(required = false) @ApiParam("结算人id") String jsrid, |
| | | @ApiParam(value = "显示条数(默认10)") @RequestParam(defaultValue = "10") Integer pageSize, |
| | | @ApiParam(value = "页码数(默认1)") @RequestParam(defaultValue = "1") Integer page) { |
| | | |
| | | if (StringUtil.isNotBlank(dwId)) dwId = ""; |
| | | if (StringUtil.isNotBlank(djkssj)) djkssj = ""; |
| | | if (StringUtil.isNotBlank(djjssj)) djjssj = ""; |
| | | if (StringUtil.isNotBlank(jskssj)) jskssj = ""; |
| | | if (StringUtil.isNotBlank(jsjssj)) jsjssj = ""; |
| | | if (StringUtil.isNotBlank(tjh)) tjh = ""; |
| | | if (StringUtil.isNotBlank(jsrid)) jsrid = ""; |
| | | return AjaxResult.success(tjFlowingWaterService.gettuantijiesuanrenyuan(page, pageSize,dwId,djkssj, djjssj, jskssj, jsjssj, tjh, jsrid)); |
| | | } |
| | | |
| | | |
| | | |
| | | @PostMapping("/tuantijiesuan") |
| | | @ApiOperation(value = "团体结算") |
| | | public AjaxResult tuantijiesuan(@RequestParam(required = false) @ApiParam("单位ID") List<String> dwId) { |
| | | |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | } |