Merge pull request #229 from Jiang-boyang/master

修复拒绝工单时 is_denied字段没有置为1问题
This commit is contained in:
lanyulei 2021-12-23 23:53:10 +08:00 committed by GitHub
commit 1edc8f21df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,6 +195,7 @@ func (h *Handle) circulation() (err error) {
Where("id = ?", h.workOrderId).
Updates(map[string]interface{}{
"state": stateValue,
"is_denied": h.flowProperties,
"related_person": h.updateValue["related_person"],
}).Error
if err != nil {