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