作者 唐旭辉

bug 修改

@@ -39,7 +39,7 @@ func buildSqlForAuditList(usercompanyid int64, companyid int64, userid int64) st @@ -39,7 +39,7 @@ func buildSqlForAuditList(usercompanyid int64, companyid int64, userid int64) st
39 */ 39 */
40 var ( 40 var (
41 //自己提交的 41 //自己提交的
42 - sql1 string = fmt.Sprintf(` SELECT id FROM chance WHERE AND enable_status=1 AND user_id=%d `, usercompanyid) 42 + sql1 string = fmt.Sprintf(` SELECT id FROM chance WHERE enable_status=1 AND user_id=%d `, usercompanyid)
43 //自己可审核的 43 //自己可审核的
44 sql2 string = fmt.Sprintf(` SELECT a.id FROM chance AS a 44 sql2 string = fmt.Sprintf(` SELECT a.id FROM chance AS a
45 JOIN audit_flow_process AS b ON a.id=b.chance_id 45 JOIN audit_flow_process AS b ON a.id=b.chance_id