| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | |
| | | //再将整理好的“疾病名称”替换 |
| | | libTemplates.get(i).setIcdname(icdname); |
| | | } |
| | | //将问题按序号排一下序 |
| | | Collections.sort(svyLibTemplateVOS.get(j).getSvyTemplateLibScripts(), new Comparator<SvyLibTemplateScript>() { |
| | | @Override |
| | | public int compare(SvyLibTemplateScript o1, SvyLibTemplateScript o2) { |
| | | return Integer.compare(o1.getSort().intValue(), o2.getSort().intValue()); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | |