From eddd9d4f9169b5c165ff3201851db8c4d64966b8 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 16 Jan 2024 17:40:10 +0800 Subject: [PATCH] update --- app/admin/md/md_central_kitchen_for_school_order.go | 1 + app/admin/svc/order/svc_central_kitchen_for_school_order.go | 3 +++ 2 files changed, 4 insertions(+) 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