...
|
...
|
@@ -123,7 +123,7 @@ func UpdatetAuditFlowProcessNoApprove(o orm.Ormer, chanceId int64, level int, re |
|
|
//获取机会审核流信息
|
|
|
func GetAuditFlowProcessList(chanceId int64) (v []*AuditFlowProcess, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
sql := "select * from audit_flow_process where chance_id=? and enable_status=1 order by update_at ,level "
|
|
|
sql := "select * from audit_flow_process where chance_id=? and enable_status=1 order by create_at,level,update_at asc "
|
|
|
if _, err = o.Raw(sql, chanceId).QueryRows(&v); err == nil {
|
|
|
return v, nil
|
|
|
}
|
...
|
...
|
|