|
@@ -26,7 +26,7 @@
|
|
position.no like concat('%',#{keyword},'%'))
|
|
position.no like concat('%',#{keyword},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="parentId != null and parentId != ''">
|
|
<if test="parentId != null and parentId != ''">
|
|
- and ( position.parent_id = #{parentId} or position.id = #{parentId})
|
|
|
|
|
|
+ and position.parent_id = #{parentId}
|
|
</if>
|
|
</if>
|
|
<if test="parentCode != null and parentCode != ''">
|
|
<if test="parentCode != null and parentCode != ''">
|
|
and position.code like concat(#{parentCode},'%')
|
|
and position.code like concat(#{parentCode},'%')
|