Browse Source

update logs

deason 1 year ago
parent
commit
816e25661c

+ 5 - 0
examcloud-core-basic-service/src/main/java/cn/com/qmth/examcloud/core/basic/service/impl/StudentServiceImpl.java

@@ -24,6 +24,8 @@ import com.google.common.collect.Lists;
 import com.google.common.collect.Maps;
 import org.apache.commons.collections4.CollectionUtils;
 import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.data.jpa.domain.Specification;
 import org.springframework.stereotype.Service;
@@ -39,6 +41,8 @@ import java.util.stream.Collectors;
 @Service
 public class StudentServiceImpl implements StudentService {
 
+    private static final Logger log = LoggerFactory.getLogger(StudentServiceImpl.class);
+
     @Autowired
     StudentRepo studentRepo;
 
@@ -442,6 +446,7 @@ public class StudentServiceImpl implements StudentService {
             studentCache.remove(cur);
         }
 
+        log.warn("解绑学号!rootOrgId:{} studentCode:{} identityNumber:{}", rootOrgId, studentCode, identityNumber);
         return studentIdList;
     }