|
|
@@ -582,7 +582,7 @@ and layer=#{0}
|
|
|
and c2.app_index = #{appIndex,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
order by sort
|
|
|
- <if test="number != null">
|
|
|
+ <if test="layer != null">
|
|
|
limit #{layer,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
</select>
|
|
|
@@ -603,7 +603,7 @@ and layer=#{0}
|
|
|
and app_index = #{appIndex,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
order by sort
|
|
|
- <if test="number != null">
|
|
|
+ <if test="sort != null">
|
|
|
limit #{sort,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
</select>
|