陶杰
2024-09-10 e69b3046a4e09c9d864959e20bdcd11cec80ba0c
src/main/resources/mapper/flower/FlowerMarkupPsSpCgMapper.xml
@@ -17,7 +17,7 @@
        <if test="condition.weight != null">
            AND q.weight = #{condition.weight}
        </if>
        ORDER BY q.sort_by
        ORDER BY CASE WHEN q.parent_id IS NULL THEN 1 ELSE 2 END,q.sort_by, spcg.create_time
    </select>