...
|
...
|
@@ -136,9 +136,10 @@ where chance_id =? and enable_status=1 order by approve_time,level desc` |
|
|
return nil, err
|
|
|
}
|
|
|
|
|
|
//获取机会审核人节点信息(eg:可判断用户是否是机会的审核人)
|
|
|
func GetAuditFlowProcessListByAuditUser(chanceId int64, auditUserId int64) (v []*AuditFlowProcess, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
sql := "select id,review_status from audit_flow_process where chance_id=? and enable_status=1 and uid=?"
|
|
|
sql := "select id,review_status from audit_flow_process where chance_id=? and uid=?" //and enable_status=1
|
|
|
if _, err = o.Raw(sql, chanceId, auditUserId).QueryRows(&v); err == nil {
|
|
|
return v, nil
|
|
|
}
|
...
|
...
|
|