|
@@ -302,7 +302,6 @@ public class StudentVisitServiceImpl extends BaseServiceImpl<Integer, StudentVis
|
|
|
} else {
|
|
|
if ("已解决".equals(row.get(s).toString())) {
|
|
|
objectMap.put(columnValue, 1);
|
|
|
- break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -314,7 +313,7 @@ public class StudentVisitServiceImpl extends BaseServiceImpl<Integer, StudentVis
|
|
|
throw new BizException("手机号{}不存在",cost.getPhone());
|
|
|
}
|
|
|
cost.setStudentId(user.getId());
|
|
|
- StudentRegistration studentRegistration = studentRegistrationDao.queryByUserIdAndMusicGroupId(cost.getStudentId(), cost.getMusicGroupId());
|
|
|
+ StudentRegistration studentRegistration = studentRegistrationDao.getStudentRegister(cost.getMusicGroupId(),cost.getStudentId());
|
|
|
if(Objects.isNull(studentRegistration)){
|
|
|
throw new BizException("学员{}不在乐团{}中,无需回访",cost.getStudentId(),cost.getMusicGroupId());
|
|
|
}
|