diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/domain/param/OrderRefundHistoryParam.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/domain/param/OrderRefundHistoryParam.java index 94b1040..34a37bf 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/domain/param/OrderRefundHistoryParam.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/domain/param/OrderRefundHistoryParam.java @@ -34,6 +34,7 @@ public class OrderRefundHistoryParam implements Serializable private LocalDateTime endDateTime; private String searchValue; + private String createBy; public OrderRefundHistoryParam() { this.endDateTime = LocalDateTime.now().plusDays(7); diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml index 73959fb..5281778 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml @@ -448,6 +448,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and at2.trade_time #{param.endDateTime} + + and at2.update_by like CONCAT('%',#{param.createBy},'%') + and oi.order_id =#{param.orderId}