作者 yangfu

修改 筛选历史(一级不需要汇总), 提交筛选结果

... ... @@ -130,7 +130,7 @@ func SubmitChecks(header *protocol.RequestHeader, request *protocol.SubmitChecks
var (
DeleteAll = `delete from chance_check_result where chance_id =? and user_company_id=? `
UpdateCommitStatus = `update audit_flow_process set submit_check_status=? ,submit_check_time=now() where chance_id=? and id=?`
UpdateChanceCheckResultStatus = `update chance set check_result_status=?,check_result=?,check_time=now() where id=?`
UpdateChanceCheckResultStatus = `update chance set check_result_status=?,check_result=? where id=?`
)
if err = utils.ExecuteSQLWithOrmer(o, DeleteAll, request.ChanceId, header.UserId); err != nil {
log.Error(err)
... ... @@ -348,7 +348,7 @@ func SiftingResultsItemHistory(header *protocol.RequestHeader, request *protocol
item := checkResults[i]
rsp.SiftingResults.AddStatic(item.CheckId, item.Answer)
}
rsp.SiftingResults.SetSelfChecksLevel1ByRule()
//rsp.SiftingResults.SetSelfChecksLevel1ByRule()
return
}
... ...