diff --git a/app/admin/md/md_central_kitchen_for_school_order.go b/app/admin/md/md_central_kitchen_for_school_order.go index b52a2a3..c1656f7 100644 --- a/app/admin/md/md_central_kitchen_for_school_order.go +++ b/app/admin/md/md_central_kitchen_for_school_order.go @@ -23,6 +23,7 @@ type CentralKitchenForSchoolOrderRefundListReq struct { EnterpriseId int `json:"enterprise_id" label:"单位id"` Phone string `json:"phone" label:"用户电话"` Name string `json:"name" label:"名称"` + Memo string `json:"memo" label:"备注"` Kind int `json:"kind" label:"订餐类型"` State int `json:"state" label:"退款订单状态"` StartDate string `json:"start_date" label:"开始时间"` diff --git a/app/admin/svc/order/svc_central_kitchen_for_school_order.go b/app/admin/svc/order/svc_central_kitchen_for_school_order.go index b2adc0b..c63981b 100644 --- a/app/admin/svc/order/svc_central_kitchen_for_school_order.go +++ b/app/admin/svc/order/svc_central_kitchen_for_school_order.go @@ -56,6 +56,9 @@ func CentralKitchenForSchoolOrderRefundList(req md.CentralKitchenForSchoolOrderR if req.OutRequestNo != "" { sess.And("central_kitchen_for_school_user_refund_day.out_request_no like ?", "%"+req.OutRequestNo+"%") } + if req.Memo != "" { + sess.And("central_kitchen_for_school_user_refund_day.memo like ?", "%"+req.Memo+"%") + } var classWithUserIdentityIdsOne []int var classWithUserIdentityIdsTwo []int