初始化配置完善

This commit is contained in:
waner
2026-04-17 15:29:20 +08:00
parent 8989c25aed
commit a5c22222e9
25 changed files with 1234 additions and 442 deletions
@@ -59,6 +59,12 @@
<if test="status != null and status != ''">
AND status = #{status}
</if>
<if test="startedAtBegin != null">
AND started_at <![CDATA[ >= ]]> #{startedAtBegin}
</if>
<if test="startedAtEndExclusive != null">
AND started_at <![CDATA[ < ]]> #{startedAtEndExclusive}
</if>
</where>
ORDER BY create_time DESC, id DESC
LIMIT #{limit} OFFSET #{offset}
@@ -74,6 +80,12 @@
<if test="status != null and status != ''">
AND status = #{status}
</if>
<if test="startedAtBegin != null">
AND started_at <![CDATA[ >= ]]> #{startedAtBegin}
</if>
<if test="startedAtEndExclusive != null">
AND started_at <![CDATA[ < ]]> #{startedAtEndExclusive}
</if>
</where>
</select>