Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
85597218ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/admin/svc/enterprise_manage/svc_enterprise_manage.go

+ 1
- 1
app/admin/svc/enterprise_manage/svc_enterprise_manage.go View File

@@ -223,7 +223,7 @@ func EnterpriseUserListByCentralKitchenForSchoolV2(req md.EnterpriseUserListReq)
GradeId int `json:"grade_id" label:"年级id"` GradeId int `json:"grade_id" label:"年级id"`
Class string `json:"class" label:"班级"` Class string `json:"class" label:"班级"`
ClassId int `json:"class_id" label:"班级id"` ClassId int `json:"class_id" label:"班级id"`
}{Id: v1.UserIdentity.Id, EnterpriseId: v1.UserIdentity.EnterpriseId, IdNo: v1.IdNo, SchoolName: "教师", Name: v1.UserIdentity.Name, Grade: "教师", Class: "教师", GradeId: 0, ClassId: 0})
}{Id: v1.UserIdentity.Id, EnterpriseId: v1.UserIdentity.EnterpriseId, IdNo: v1.IdNo, SchoolName: v1.Enterprise.Name, Name: v1.UserIdentity.Name, Grade: "教师", Class: "教师", GradeId: -1, ClassId: -1})
temp.IsTeacher = 1 temp.IsTeacher = 1
} }
if v1.Identity == enum2.UserIdentityForCentralKitchenForStudent { if v1.Identity == enum2.UserIdentityForCentralKitchenForStudent {


Loading…
Cancel
Save