初始化配置完善
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user