1
This commit is contained in:
@@ -229,12 +229,4 @@ public class OrderRows extends BaseEntity
|
||||
@Excel(name = "订单标签")
|
||||
private String orderTag;
|
||||
|
||||
/** 订单时间范围 - 开始时间 */
|
||||
@Transient
|
||||
private Date beginTime;
|
||||
|
||||
/** 订单时间范围 - 结束时间 */
|
||||
@Transient
|
||||
private Date endTime;
|
||||
|
||||
}
|
||||
|
||||
@@ -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 >= #{beginTime}</if>
|
||||
<if test="endTime != null"> and order_time <= #{endTime}</if>
|
||||
<if test="params.beginTime != null"> and order_time >= #{params.beginTime}</if>
|
||||
<if test="params.endTime != null"> and order_time <= #{params.endTime}</if>
|
||||
</where>
|
||||
order by order_time desc
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user