Browse Source

SQL错误修改

chenw 7 years ago
parent
commit
ed91d47919

+ 1 - 1
applications/school/school-server/src/main/resources/mapper/SysStudentMapper.xml

@@ -531,6 +531,6 @@
         </where>
     </select>
   <select id="selectParentById" resultMap="parentMap">
-    select * from sys_parent where parent_id = #{id}
+    select * from sys_parents where parent_id = #{id}
   </select>
 </mapper>