|
|
@@ -98,7 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<where>
|
|
|
(s.admin_id = #{adminId} or find_in_set(#{adminId}, s.safe_user_id))
|
|
|
<if test="id != null "> and t.id = #{id}</if>
|
|
|
- <if test="parentId != null "> and t.id = #{parentId}</if>
|
|
|
+ <if test="parentId != null "> and t.parent_id = #{parentId}</if>
|
|
|
<if test="type != null "> and t.`type` = #{type}</if>
|
|
|
</where>
|
|
|
</if>
|