切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
16feaa8443078c07c86c4b5ec72bef9873946eb0
1 个父辈
0864880a
更新字段拼写错误
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
pkg/application/task/adapter/task_info.go
pkg/application/task/service/service.go
pkg/application/task/adapter/task_info.go
查看文件 @
16feaa8
...
...
@@ -9,7 +9,7 @@ type TaskInfoAdapter struct {
Status
int
`json:"status"`
// 任务的状态
StatusDescription
string
`json:"statusDescription"`
//
Level
int
`json:"level"`
// 优先级,值越小优先级越高
Lev
alName
string
`json:"leva
lName"`
// 优先级名称
Lev
elName
string
`json:"leve
lName"`
// 优先级名称
RelatedUserId
[]
string
`json:"relatedUserId"`
// 相关的员工id
RelatedUser
[]
UserData
`json:"relatedUser"`
// 相关的员工id
StageList
[]
TaskStage
`json:"stageList"`
...
...
pkg/application/task/service/service.go
查看文件 @
16feaa8
...
...
@@ -263,7 +263,7 @@ func (srv TaskService) UpdateTask(param *command.UpdateTaskCommand) (map[string]
oldStage
.
SortBy
=
i
+
1
oldStage
.
Name
=
val2
.
Name
oldStage
.
PlanCompleted
(
t
)
//TODO 修改里程碑计划完成时间,特殊处理
}
stageList
=
append
(
stageList
,
newStageList
...
)
...
...
@@ -344,7 +344,7 @@ func (srv TaskService) GetTaskInfo(param *command.GetTaskCommand) (*adapter.Task
Status
:
int
(
taskData
.
Status
),
StatusDescription
:
taskData
.
StatusDescription
(),
Level
:
taskData
.
Level
,
Lev
a
lName
:
taskData
.
LevelName
,
Lev
e
lName
:
taskData
.
LevelName
,
RelatedUserId
:
[]
string
{},
RelatedUser
:
[]
adapter
.
UserData
{},
StageList
:
[]
adapter
.
TaskStage
{},
...
...
请
注册
或
登录
后发表评论