|
@@ -508,7 +508,7 @@ func (d *ApproverDao) PassHandler(auditType string, id int, uid int, auditId int
|
|
|
session.Rollback()
|
|
|
return err
|
|
|
}
|
|
|
- if lastAuditor.AuditId == auditor.AuditId {
|
|
|
+ if lastAuditor.Id == auditor.Id {
|
|
|
// 说明审批流程已经走完
|
|
|
_, err = session.Exec("update `cm_safe` set status = ? where id = ?", 4, auditor.DataId)
|
|
|
if err != nil {
|
|
@@ -629,7 +629,7 @@ func (d *ApproverDao) PassHandler(auditType string, id int, uid int, auditId int
|
|
|
session.Rollback()
|
|
|
return err
|
|
|
}
|
|
|
- if lastAuditor.AuditId == auditor.AuditId {
|
|
|
+ if lastAuditor.Id == auditor.Id {
|
|
|
// 说明审批流程已经走完
|
|
|
_, err = session.Exec("update `cm_quality` set status = ? where id = ?", 4, auditor.DataId)
|
|
|
if err != nil {
|