切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
3f2970a95f85072d628fcecb5eb1c3491676deb4
1 个父辈
9ce8ef95
更新
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
4 行删除
pkg/application/notify/service/message_personal.go
pkg/infrastructure/dao/task_dao.go
pkg/application/notify/service/message_personal.go
查看文件 @
3f2970a
...
...
@@ -332,9 +332,7 @@ func (srv *MessagePersonalService) TodayMessageTaskRecordAnomaly(param *command.
return
nil
,
application
.
ThrowError
(
application
.
INTERNAL_SERVER_ERROR
,
"检查任务里程碑异常的消息"
+
err
.
Error
())
}
}
if
err
:=
transactionContext
.
CommitTransaction
();
err
!=
nil
{
return
nil
,
application
.
ThrowError
(
application
.
INTERNAL_SERVER_ERROR
,
err
.
Error
())
}
msgList
:=
[]
adapter
.
MessageListAdapter
{}
for
_
,
val
:=
range
taskStageList
{
s
:=
fmt
.
Sprintf
(
"【您负责的项目【%s】已超过N日未反馈进度,请前往该战略任务进行反馈。】"
,
val
.
Name
)
...
...
pkg/infrastructure/dao/task_dao.go
查看文件 @
3f2970a
...
...
@@ -444,7 +444,7 @@ func (d *TaskDao) TaskAnomaly(leaderId []string, anomaly int) ([]TaskStageData,
task.leader ->>'name' as leader_name,
task.anomaly
from task
where task.anomaly >=? and task.leader ->'id'
='?'
`
where task.anomaly >=? and task.leader ->'id'
in(?)
`
result
:=
[]
TaskStageData
{}
tx
:=
d
.
transactionContext
.
PgTx
_
,
err
:=
tx
.
Query
(
&
result
,
sqlStr
,
anomaly
,
pg
.
In
(
leaderId
))
...
...
请
注册
或
登录
后发表评论