|
@@ -7,7 +7,7 @@ import (
|
|
|
"html/template"
|
|
|
)
|
|
|
|
|
|
-type StaffStatus int
|
|
|
+type StaffStatus int
|
|
|
type StudentStatus int
|
|
|
|
|
|
//reform:person_ids
|
|
@@ -51,13 +51,13 @@ func (personId PersonId) GetPerson() *Person {
|
|
|
func (personIds PersonIdPtrs) GetMaps() (result PersonIdsData) {
|
|
|
result.personIds = PersonIdsData
|
|
|
|
|
|
- result.idMap = map[int]*PersonId{}
|
|
|
- result.empGUIDMap = map[int]*PersonId{}
|
|
|
- result.staffIdMap = map[int]*PersonId{}
|
|
|
- result.studentIdMap = map[int]*PersonId{}
|
|
|
- result.learndepIdMap = map[int]*PersonId{}
|
|
|
+ result.idMap = map[int]*PersonId{}
|
|
|
+ result.empGUIDMap = map[int]*PersonId{}
|
|
|
+ result.staffIdMap = map[int]*PersonId{}
|
|
|
+ result.studentIdMap = map[int]*PersonId{}
|
|
|
+ result.learndepIdMap = map[int]*PersonId{}
|
|
|
result.recordBookNumMap = map[int]*PersonId{}
|
|
|
- result.physGuardIdMap = map[int]*PersonId{}
|
|
|
+ result.physGuardIdMap = map[int]*PersonId{}
|
|
|
|
|
|
for _, personId := range result.personIds {
|
|
|
result.idMap[personId.Id] = personId
|