소스 검색

套餐查询表修改

zhangchen 3 달 전
부모
커밋
2778a26fb5
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      alien-store/src/main/java/shop/alien/store/service/impl/WebAuditServiceImpl.java

+ 4 - 2
alien-store/src/main/java/shop/alien/store/service/impl/WebAuditServiceImpl.java

@@ -38,6 +38,8 @@ public class WebAuditServiceImpl extends ServiceImpl<WebAuditMapper, WebAudit> i
 
     private final LifeGroupPackageMapper lifeGroupPackageMapper;
 
+    private final LifeGroupBuyMainMapper lifeGroupBuyMainMapper;
+
     private final LifeActivityMapper lifeActivityMapper;
 
 
@@ -121,8 +123,8 @@ public class WebAuditServiceImpl extends ServiceImpl<WebAuditMapper, WebAudit> i
         }
         if (countColumn.getLifeGroupPackageId() != null) {
             newWebAudit.setLifeGroupPackageId(countColumn.getLifeGroupPackageId());
-            LifeGroupPackage lifeGroupPackage = lifeGroupPackageMapper.selectById(Integer.valueOf(countColumn.getLifeGroupPackageId()));
-            newWebAudit.setContent(lifeGroupPackage.getDishName());
+            LifeGroupBuyMain lifeGroupBuyMain = lifeGroupBuyMainMapper.selectById(Integer.valueOf(countColumn.getLifeGroupPackageId()));
+            newWebAudit.setContent(lifeGroupBuyMain.getGroupName());
 
         }
         if (countColumn.getLifeActivityId() != null) {