diff --git a/app/admin/md/md_central_kitchen_for_school.go b/app/admin/md/md_central_kitchen_for_school.go index fba133f..2756e68 100644 --- a/app/admin/md/md_central_kitchen_for_school.go +++ b/app/admin/md/md_central_kitchen_for_school.go @@ -3,6 +3,8 @@ package md type CentralKitchenForSchoolInfoResp struct { Name string `json:"name" label:"名称"` Memo string `json:"memo" label:"备注"` + Mode string `json:"mode" label:"模式"` + Pvd string `json:"pvd" label:"场景"` Kind string `json:"kind" label:"种类(1:央厨-学校 2:央厨-工厂 3:自营-学校 4:自营-工厂)"` State string `json:"state" label:"状态(1:正常 2:冻结)"` IsOpenTeacherReportMeal int `json:"is_open_teacher_report_meal" label:"教师报餐(1:开启 2:关闭)"` diff --git a/app/admin/md/md_self_support_for_school.go b/app/admin/md/md_self_support_for_school.go index ba7cf3f..124de0a 100644 --- a/app/admin/md/md_self_support_for_school.go +++ b/app/admin/md/md_self_support_for_school.go @@ -3,6 +3,8 @@ package md type SelfSupportForSchoolInfoResp struct { Name string `json:"name" label:"名称"` Memo string `json:"memo" label:"备注"` + Mode string `json:"mode" label:"模式"` + Pvd string `json:"pvd" label:"场景"` Kind string `json:"kind" label:"种类(1:央厨-学校 2:央厨-工厂 3:自营-学校 4:自营-工厂)"` State string `json:"state" label:"状态(1:正常 2:冻结)"` TeacherNum int64 `json:"teacher_num" label:"教师数量"` diff --git a/app/admin/svc/svc_central_kitchen_for_school.go b/app/admin/svc/svc_central_kitchen_for_school.go index 8e16028..c288d14 100644 --- a/app/admin/svc/svc_central_kitchen_for_school.go +++ b/app/admin/svc/svc_central_kitchen_for_school.go @@ -16,6 +16,8 @@ func CentralKitchenForSchoolInfo(enterpriseId int) (err error, resp md.CentralKi } resp.Name = enterprise.Name resp.Memo = enterprise.Memo + resp.Mode = enum.EnterpriseMode(enterprise.Mode).String() + resp.Pvd = enum.EnterprisePvd(enterprise.Pvd).String() resp.Kind = enum.EnterpriseKind(enterprise.Kind).String() resp.State = enum.EnterpriseState(enterprise.State).String() diff --git a/app/admin/svc/svc_self_support_for_school.go b/app/admin/svc/svc_self_support_for_school.go index a424bb2..627eefa 100644 --- a/app/admin/svc/svc_self_support_for_school.go +++ b/app/admin/svc/svc_self_support_for_school.go @@ -17,6 +17,8 @@ func SelfSupportForSchoolInfo(enterpriseId int) (err error, resp md.SelfSupportF resp.Name = enterprise.Name resp.Memo = enterprise.Memo resp.Kind = enum.EnterpriseKind(enterprise.Kind).String() + resp.Mode = enum.EnterpriseMode(enterprise.Mode).String() + resp.Pvd = enum.EnterprisePvd(enterprise.Pvd).String() resp.State = enum.EnterpriseState(enterprise.State).String() //2、统计 "教师"、 "学生"、 "班级" 数量