瀏覽代碼

update

add_mode
DengBiao 1 年之前
父節點
當前提交
6f1bede12e
共有 3 個文件被更改,包括 28 次插入0 次删除
  1. +26
    -0
      app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go
  2. +1
    -0
      app/admin/md/md_enterprise_manage.go
  3. +1
    -0
      app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go

+ 26
- 0
app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go 查看文件

@@ -756,6 +756,32 @@ func CentralKitchenForSchoolOrdList(c *gin.Context) {
"value": enum.CentralKitchenForSchoolPackageOrdOrdStateForComplete,
},
},
"user_identity_kind_list": []map[string]interface{}{
{
"name": enum.UserIdentity.String(enum.UserIdentityForCentralKitchenForStudent),
"value": enum.UserIdentityForCentralKitchenForStudent,
},
{
"name": enum.UserIdentity.String(enum.UserIdentityForCentralKitchenForTeacher),
"value": enum.UserIdentityForCentralKitchenForTeacher,
},
{
"name": enum.UserIdentity.String(enum.UserIdentityForCentralKitchenForWorker),
"value": enum.UserIdentityForCentralKitchenForWorker,
},
{
"name": enum.UserIdentity.String(enum.UserIdentityForSelfSupportForStudent),
"value": enum.UserIdentityForSelfSupportForStudent,
},
{
"name": enum.UserIdentity.String(enum.UserIdentityForSelfSupportForTeacher),
"value": enum.UserIdentityForSelfSupportForTeacher,
},
{
"name": enum.UserIdentity.String(enum.UserIdentityForSelfSupportForWorker),
"value": enum.UserIdentityForSelfSupportForWorker,
},
},
}, nil)
return
}


+ 1
- 0
app/admin/md/md_enterprise_manage.go 查看文件

@@ -179,6 +179,7 @@ type CentralKitchenForSchoolOrdListResp struct {
EnterpriseName string `json:"enterprise_name" `
Uid int `json:"uid" `
UserIdentityId int `json:"user_identity_id" `
UserIdentityKind int `json:"user_identity_kind" `
UserIdentityName string `json:"user_identity_name" `
TotalPrice string `json:"total_price" `
Kind int `json:"kind" `


+ 1
- 0
app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go 查看文件

@@ -462,6 +462,7 @@ func CentralKitchenForSchoolOrdList(req md.CentralKitchenForSchoolOrdListReq) (r
EnterpriseName: v.Enterprise.Name,
Uid: v.UserIdentity.Uid,
UserIdentityId: v.UserIdentity.Id,
UserIdentityKind: v.UserIdentity.Kind,
UserIdentityName: v.CentralKitchenForSchoolPackageOrd.UserIdentityName,
TotalPrice: v.CentralKitchenForSchoolPackageOrd.TotalPrice,
Kind: v.CentralKitchenForSchoolPackageOrd.Kind,


Loading…
取消
儲存