作者 yangfu

系统自动审核通过 名称改为系统

@@ -431,6 +431,11 @@ func getAuditFlowLog(chanceid int64) ([]protocol.ChanceFlowLog, error) { @@ -431,6 +431,11 @@ func getAuditFlowLog(chanceid int64) ([]protocol.ChanceFlowLog, error) {
431 LEFT JOIN user AS c ON b.user_id = c.id 431 LEFT JOIN user AS c ON b.user_id = c.id
432 WHERE chance_id =? ` 432 WHERE chance_id =? `
433 err = utils.ExecuteQueryAll(&flowLogs, datasql, chanceid) 433 err = utils.ExecuteQueryAll(&flowLogs, datasql, chanceid)
  434 + for i := range flowLogs {
  435 + if flowLogs[i].Code == 6 { //系统自动审核通过
  436 + flowLogs[i].NickName = "系统"
  437 + }
  438 + }
434 return flowLogs, err 439 return flowLogs, err
435 } 440 }
436 441