|
|
|
@ -2,6 +2,7 @@ package postpc |
|
|
|
|
|
|
|
import ( |
|
|
|
"fmt" |
|
|
|
"key_performance_indicators/models/modelshr" |
|
|
|
"key_performance_indicators/models/modelskpi" |
|
|
|
"key_performance_indicators/overall" |
|
|
|
"key_performance_indicators/overall/publicmethod" |
|
|
|
@ -70,6 +71,9 @@ func getTargetAboutPost(departmentId, dimensionId, targetId int64, level int) (p |
|
|
|
for i := 0; i < len(postId); i++ { |
|
|
|
var postmanCont postPeople |
|
|
|
postmanCont.Id = strconv.FormatInt(postId[i], 10) |
|
|
|
var postCont modelshr.Position |
|
|
|
postCont.GetCont(map[string]interface{}{"`id`": postId[i]}, "`name`") |
|
|
|
postmanCont.Name = postCont.Name |
|
|
|
_, postmanCont.Operator, _ = getTargetAboutPostMan(departmentId, postId[i], dimensionId, targetId, level) |
|
|
|
postPeopleList = append(postPeopleList, postmanCont) |
|
|
|
} |
|
|
|
|