@@ -38,5 +38,5 @@ public class OrderItemDTO implements Serializable
private Integer goodsQuantity;
/** 商品分类id */
- private Long goodsCategoryId;
+// private Long goodsCategoryId;
}
@@ -32,9 +32,9 @@ public class ReservationPagingParam implements Serializable {
*/
private String status;
/**
- * 预约时间
+ * 预约时间 格式参考:2024-05-22
- private Date date;
+ private String date;
* 商家ID
@@ -82,6 +82,9 @@
<if test="param.status != null">
and re.status = #{param.status}
</if>
+ <if test="param.date != null">
+ and DATE_FORMAT(re.appoint_time, '%Y-%m-%d') = #{param.date}
+ </if>
order by re.appoint_time asc
</select>