作者 唐旭辉

bug 修复

@@ -47,7 +47,7 @@ func buildSqlForAuditList(usercompanyid int64, companyid int64, userid int64) st @@ -47,7 +47,7 @@ func buildSqlForAuditList(usercompanyid int64, companyid int64, userid int64) st
47 //公开到自己部门的 47 //公开到自己部门的
48 sql3 string = ` SELECT a.id FROM chance AS a 48 sql3 string = ` SELECT a.id FROM chance AS a
49 JOIN chance_department AS b ON a.id=b.chance_id 49 JOIN chance_department AS b ON a.id=b.chance_id
50 - WHERE b.department_id IN (%s) AND a.review_status = 3 AND a.publish_status=` + fmt.Sprint(models.ChancePublishStatus2) 50 + WHERE b.department_id IN (%s) AND a.review_status = 3 AND a.publish_status=` + fmt.Sprint(models.ChancePublishStatus1)
51 //指定提交的部门 51 //指定提交的部门
52 sql4 string = ` SELECT id FROM chance WHERE department_id IN (%s) and review_status =3 ` 52 sql4 string = ` SELECT id FROM chance WHERE department_id IN (%s) and review_status =3 `
53 53