fix:修复bug
This commit is contained in:
@ -510,6 +510,10 @@ func (c *Instance) Examine(id uint64, status int, remark string, isAssist int, p
|
||||
|
||||
if mWorkProgress.Remark == "" {
|
||||
mWorkProgress.Remark = "审批通过"
|
||||
|
||||
if _status == model2.WorkProgressStatusForRefuse {
|
||||
mWorkProgress.Remark = "审批拒绝"
|
||||
}
|
||||
}
|
||||
if err = model2.Create(mWorkProgress.WorkProgress, tx); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user