正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -130,7 +130,7 @@ func SubmitChecks(header *protocol.RequestHeader, request *protocol.SubmitChecks | @@ -130,7 +130,7 @@ func SubmitChecks(header *protocol.RequestHeader, request *protocol.SubmitChecks | ||
130 | var ( | 130 | var ( |
131 | DeleteAll = `delete from chance_check_result where chance_id =? and user_company_id=? ` | 131 | DeleteAll = `delete from chance_check_result where chance_id =? and user_company_id=? ` |
132 | UpdateCommitStatus = `update audit_flow_process set submit_check_status=? ,submit_check_time=now() where chance_id=? and id=?` | 132 | UpdateCommitStatus = `update audit_flow_process set submit_check_status=? ,submit_check_time=now() where chance_id=? and id=?` |
133 | - UpdateChanceCheckResultStatus = `update chance set check_result_status=?,check_result=?,check_time=now() where id=?` | 133 | + UpdateChanceCheckResultStatus = `update chance set check_result_status=?,check_result=? where id=?` |
134 | ) | 134 | ) |
135 | if err = utils.ExecuteSQLWithOrmer(o, DeleteAll, request.ChanceId, header.UserId); err != nil { | 135 | if err = utils.ExecuteSQLWithOrmer(o, DeleteAll, request.ChanceId, header.UserId); err != nil { |
136 | log.Error(err) | 136 | log.Error(err) |
@@ -348,7 +348,7 @@ func SiftingResultsItemHistory(header *protocol.RequestHeader, request *protocol | @@ -348,7 +348,7 @@ func SiftingResultsItemHistory(header *protocol.RequestHeader, request *protocol | ||
348 | item := checkResults[i] | 348 | item := checkResults[i] |
349 | rsp.SiftingResults.AddStatic(item.CheckId, item.Answer) | 349 | rsp.SiftingResults.AddStatic(item.CheckId, item.Answer) |
350 | } | 350 | } |
351 | - rsp.SiftingResults.SetSelfChecksLevel1ByRule() | 351 | + //rsp.SiftingResults.SetSelfChecksLevel1ByRule() |
352 | return | 352 | return |
353 | } | 353 | } |
354 | 354 |
-
请 注册 或 登录 后发表评论