...
|
...
|
@@ -163,7 +163,7 @@ func (srv *MessagePersonalService) TodayMessageTaskStageAnomaly(param *command.G |
|
|
}
|
|
|
// 作为上级,我的下级员工的异常里程碑
|
|
|
var taskList2 []dao.TaskData3
|
|
|
if len(childUserId) == 0 {
|
|
|
if len(childUserId) > 0 {
|
|
|
taskList2, err = taskDao.TaskStageAnomalyByLeader(childUserId)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "检查任务里程碑异常的消息"+err.Error())
|
...
|
...
|
@@ -177,7 +177,7 @@ func (srv *MessagePersonalService) TodayMessageTaskStageAnomaly(param *command.G |
|
|
}
|
|
|
// 作为上级, 我的下下级员工的异常里程碑
|
|
|
var taskList3 []dao.TaskData3
|
|
|
if len(childUserId) == 0 {
|
|
|
if len(childUserId) > 0 {
|
|
|
taskList3, err = taskDao.TaskStageAnomalyByLeader(childUserId2)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "检查任务里程碑异常的消息"+err.Error())
|
...
|
...
|
@@ -362,7 +362,7 @@ func (srv *MessagePersonalService) TodayMessageTaskRecordAnomaly(param *command. |
|
|
}
|
|
|
//我作为上级, 获取我的下一级的异常任务
|
|
|
var taskStageList2 []dao.TaskData2
|
|
|
if len(childUserId) == 0 {
|
|
|
if len(childUserId) > 0 {
|
|
|
taskStageList2, err = taskDao.TaskAnomalyByLeader(childUserId, 4)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "检查任务里程碑异常的消息"+err.Error())
|
...
|
...
|
@@ -376,7 +376,7 @@ func (srv *MessagePersonalService) TodayMessageTaskRecordAnomaly(param *command. |
|
|
}
|
|
|
// 我作为上级,获取我的下下级的异常任务
|
|
|
var taskStageList3 []dao.TaskData2
|
|
|
if len(childUserId) == 0 {
|
|
|
if len(childUserId) > 0 {
|
|
|
taskStageList3, err = taskDao.TaskAnomalyByLeader(childUserId2, 5)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "检查任务里程碑异常的消息"+err.Error())
|
...
|
...
|
|