|
@@ -77,7 +77,7 @@ func EnterpriseUserListByCentralKitchenForSchool(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.Id, EnterpriseId: v1.EnterpriseId, IdNo: v1.IdNo, SchoolName: "教师", Name: v1.Name, Grade: "教师", Class: "教师", GradeId: 0, ClassId: 0}) |
|
|
|
|
|
|
|
|
}{Id: v1.Id, EnterpriseId: v1.EnterpriseId, IdNo: v1.IdNo, SchoolName: "教师", Name: v1.Name, Grade: "教师", Class: "教师", GradeId: -1, ClassId: -1}) |
|
|
temp.IsTeacher = 1 |
|
|
temp.IsTeacher = 1 |
|
|
} else { |
|
|
} else { |
|
|
data, err2 := classWithUserDb.GetInfoByUserIdentityId(v1.Id) |
|
|
data, err2 := classWithUserDb.GetInfoByUserIdentityId(v1.Id) |
|
|