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