main
parent
041a6a68a6
commit
9684302ae9
|
|
@ -142,7 +142,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
s.name as "schoolName"
|
s.name as "schoolName"
|
||||||
from app_user a
|
from app_user a
|
||||||
left join app_school s on s.id = a.school
|
left join app_school s on s.id = a.school
|
||||||
where
|
<where>
|
||||||
<if test="isMember != null "> and a.is_member = #{isMember}</if>
|
<if test="isMember != null "> and a.is_member = #{isMember}</if>
|
||||||
<if test="appId != null "> and a.id != #{appId}</if>
|
<if test="appId != null "> and a.id != #{appId}</if>
|
||||||
<if test="school != null and school != ''"> and a.school = #{school}</if>
|
<if test="school != null and school != ''"> and a.school = #{school}</if>
|
||||||
|
|
@ -157,6 +157,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertAppUser" parameterType="AppUser" useGeneratedKeys="true" keyProperty="id">
|
<insert id="insertAppUser" parameterType="AppUser" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue