This commit is contained in:
2025-10-05 02:31:40 +08:00
parent fe622b9648
commit 0f02a86820
2 changed files with 2 additions and 10 deletions

View File

@@ -229,12 +229,4 @@ public class OrderRows extends BaseEntity
@Excel(name = "订单标签")
private String orderTag;
/** 订单时间范围 - 开始时间 */
@Transient
private Date beginTime;
/** 订单时间范围 - 结束时间 */
@Transient
private Date endTime;
}

View File

@@ -121,8 +121,8 @@
<if test="itemId != null and itemId != ''"> and item_id = #{itemId}</if>
<if test="callerItemId != null and callerItemId != ''"> and caller_item_id = #{callerItemId}</if>
<if test="orderTag != null and orderTag != ''"> and order_tag = #{orderTag}</if>
<if test="beginTime != null"> and order_time &gt;= #{beginTime}</if>
<if test="endTime != null"> and order_time &lt;= #{endTime}</if>
<if test="params.beginTime != null"> and order_time &gt;= #{params.beginTime}</if>
<if test="params.endTime != null"> and order_time &lt;= #{params.endTime}</if>
</where>
order by order_time desc
</select>