RaoMeng 6 роки тому
батько
коміт
f8ffdcd933

+ 3 - 0
applications/school/school-server/src/main/java/com/usoftchina/smartschool/school/wxschool/basic/service/impl/WxPrincipalMailboxServiceImpl.java

@@ -73,6 +73,9 @@ public class WxPrincipalMailboxServiceImpl implements WxPrincipalMailboxService
 				principalMailboxDO.setMbGrade(wxGradeMapper.get(clazzDO.getGradeId()).getGradeName());
 			}
 		}
+
+
+
 		int save = principalMailboxMapper.save(principalMailboxDO);
 		if (save>0){
 			SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");

+ 3 - 3
applications/school/school-server/src/main/java/com/usoftchina/smartschool/school/wxschool/basic/service/impl/WxTaskNotifyServiceImpl.java

@@ -241,11 +241,11 @@ public class WxTaskNotifyServiceImpl implements WxTaskNotifyService {
                         map.put("parentsPhoto", parentsDO.getParentsPhoto());
                     }
                 }
-                if (ObjectUtils.isNotEmpty(tr.getStuId())){
-                    StudentDO studentDO = studentMapper.get(tr.getStuId());
+                Long stuId = tr.getStuId();
+                if (ObjectUtils.isNotEmpty(stuId)){
+                    StudentDO studentDO = studentMapper.get(stuId);
                     if (ObjectUtils.isNotEmpty(studentDO)){
                         map.put("stuName", studentDO.getStuName());
-
                     }
                 }
                 maps.add(map);

+ 1 - 1
applications/school/school-server/src/main/java/com/usoftchina/smartschool/school/wxschool/basic/service/impl/WxUserServiceImpl.java

@@ -240,8 +240,8 @@ public class WxUserServiceImpl implements WxUserService {
 							clazzMap.put("teacherDOS",removeDuplicate(teacherDOS));
 							maps.add(clazzMap);
 						}
-
 					}
+
 				}
 
 			}