|
@@ -488,7 +488,7 @@ func (d *ApproverDao) PassHandler(auditType string, id int, uid int, auditId int
|
|
}
|
|
}
|
|
// 改变审批流程中的整改人id, 以及创建时间
|
|
// 改变审批流程中的整改人id, 以及创建时间
|
|
create_time := time.Now().Format(conf.SysTimeform)
|
|
create_time := time.Now().Format(conf.SysTimeform)
|
|
- _, err = session.Exec("update `cm_approver` set `audit_id` = ? where `bidsection_id` = ? and `data_type` = ? and `data_id` = ? and `audit_order` = ? create_time = ?", auditId, auditor.BidsectionId, auditor.DataType, auditor.DataId, auditor.AuditOrder+1, create_time)
|
|
|
|
|
|
+ _, err = session.Exec("update `cm_approver` set `audit_id` = ? where `bidsection_id` = ? and `data_type` = ? and `data_id` = ? and `audit_order` = ? and create_time = ?", auditId, auditor.BidsectionId, auditor.DataType, auditor.DataId, auditor.AuditOrder+1, create_time)
|
|
if err != nil {
|
|
if err != nil {
|
|
session.Rollback()
|
|
session.Rollback()
|
|
return err
|
|
return err
|