|
@@ -216,8 +216,8 @@ public class RetrievalFacade {
|
|
|
List<LIS> lislt = lisRepository.findByNameLike("*" + inputStr + "*");
|
|
|
//套餐显示在前
|
|
|
for (LIS lis : lislt) {
|
|
|
- if (lis.getLisPacks().size() > 0) {
|
|
|
- for (LISPack lisPack : lis.getLisPacks()) {
|
|
|
+ if (lis.getLisPacks_related_lis().size() > 0) {
|
|
|
+ for (LISPack lisPack : lis.getLisPacks_related_lis()) {
|
|
|
StaticKnowledgeIndexDTO staticDTO = new StaticKnowledgeIndexDTO();
|
|
|
staticDTO.setRetrievalName(lis.getName());
|
|
|
staticDTO.setName(lisPack.getName());
|