leon hace 4 años
padre
commit
e87a8f0e6d

+ 2 - 2
src/main/java/com/mokamrp/privates/service/pangu/impl/FosterwxStationBindBoxServiceImpl.java

@@ -105,7 +105,7 @@ public class FosterwxStationBindBoxServiceImpl extends ServiceImpl<FosterwxStati
                 }
                 fosterwxStationBindBox.setBoxType(Integer.parseInt(boxInfo.get("boxType").toString()));
                 AppBaseBasicProfile appBaseBasicProfile =  appBaseBasicProfileService.getOne(
-                        new QueryWrapper<AppBaseBasicProfile>().eq("primary_key",fosterwxStationBindBox.getGhId())
+                        new QueryWrapper<AppBaseBasicProfile>().eq("primary_key",fosterwxStationBindBox.getGhId()).select("corp_name")
                 );
                 if (appBaseBasicProfile == null){
                     throw new Exception("第" + (i + 1) + "行,ghId 在灯塔不存在");
@@ -113,7 +113,7 @@ public class FosterwxStationBindBoxServiceImpl extends ServiceImpl<FosterwxStati
                 fosterwxStationBindBox.setCorpName(appBaseBasicProfile.getContractorInfoName());
             }else{
                 Settingpage settingpage =  settingpageService.getOne(
-                        new QueryWrapper<Settingpage>().eq("primary_key",fosterwxStationBindBox.getGhId())
+                        new QueryWrapper<Settingpage>().eq("primary_key",fosterwxStationBindBox.getGhId()).select("corp_name")
                 );
                 if (settingpage == null){
                     throw new Exception("第" + (i + 1) + "行,ghId 在灯塔不存在");