"SELECT uniqueIdentificationAccount,staffName,staffWorkNumber,phone,email,staffProfessionalArchitectureId,staffProfessionalArchitectureId,staffGradeId,roleId from staff where isdel = 0 and staffId = #{staffId}",
"SELECT staffId,staffName,staffWorkNumber,phone,email,logNumber,lastTimeOfLanding,staffGradeId,staffProfessionalArchitectureId,roleId,uniqueIdentificationAccount,schoolId from staff where isdel = 0 and staffId = #{staffId}",
"</script> "})
List<Staff>queryStaffDetails(IntegerstaffId);
//查询学生详情
@Select({"<script>",
"SELECT * from staff where isdel = 0 and staffId = #{staffId}",
"SELECT s.uniqueIdentificationAccount,s.studentName,s.studentNumber,s.phone,s.email,s.roleId,s.schoolId,s.professionalId,s.gradeId,s.classId,u.* from student s,user u where s.isdel = 0 and s.studentId = #{studentId} and s.phone = u.phone",
@Select("SELECT u.* from user u where isdel=0 and phone = #{phone} and password = #{password}")
UserMlogins(UserMuser);
@Select("SELECT u.* from user u where isdel=0 and phone = #{phone}")
UserMqueryPhone(Stringphone);
List<UserM>queryPhone(Stringphone);
@Select({"<script>",
"SELECT u.*,d.disciplineName,p.professionalName,pc.professionalClassName,schoolName from user u,discipline d,professional p,professional_class pc,school s where u.isdel = 0 and u.disciplineId = d.disciplineId and u.professionalId = p.professionalId and u.professionalClassId = pc.professionalClassId and u.schoolId = s.schoolId and u.userId = #{userId}",
"SELECT u.*,schoolName from user u,school s where u.isdel = 0 and u.schoolId = s.schoolId and u.userId = #{userId}",
"</script> "})
List<UserM>queryUserDetails(IntegeruserId);
@Select({"<script>",
"SELECT u.*,schoolName from user u,school s where u.isdel = 0 and u.schoolId = s.schoolId and u.userId = #{userId}",