| | |
| | | String tjh = ycxms.get(0).getTjh(); |
| | | if(StringUtils.isNotBlank(tjh)){ |
| | | ycxmService.delOrderYcXmJyByTjh(tjh); |
| | | |
| | | String szyssy=""; |
| | | StringBuilder builders = new StringBuilder(); |
| | | for (TjOrderYcxm ycxm : ycxms) { |
| | | ycxm.setJynr(JSONUtil.toJsonStr(ycxm.getMap())); |
| | | if(ycxm.getJcxm().contains("舒张压")||ycxm.getJcxm().contains("收缩压")){ |
| | | builders.append(ycxm.getJcxm()).append(ycxm.getJcjg()).append(" "); |
| | | szyssy+=builders.toString(); |
| | | } |
| | | // List<TjOrderYcxm> collect = ycxms.stream().distinct().collect(Collectors.toList()); |
| | | } |
| | | ycxmService.saveBatch(ycxms); |
| | | return AjaxResult.success(); |
| | | } |