智慧保安后台管理-外网
tangzy
2021-08-31 74e6bcec42905ef97b1875e3e1786f2003f575d0
src/main/java/org/springblade/modules/social/service/impl/SocialServiceImpl.java
@@ -25,6 +25,7 @@
import org.springblade.modules.social.mapper.SocialMapper;
import org.springblade.modules.social.service.ISocialService;
import org.springblade.modules.social.vo.SocialVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@@ -37,9 +38,8 @@
 * @since 2021-07-16
 */
@Service
@AllArgsConstructor
public class SocialServiceImpl extends ServiceImpl<SocialMapper, Social> implements ISocialService {
   private final ISocialService iSocialService;
   @Override
@@ -52,7 +52,7 @@
      data.forEach(SocialExcel -> {
         Social social = Objects.requireNonNull(BeanUtil.copy(SocialExcel, Social.class));
         social.setDeptid(deptid);
         iSocialService.upSoil(social.getCardid());
         this.upSoil(social.getCardid());
         this.save(social);
      });
   }