Update work.go

This commit is contained in:
戴育兵 2025-11-26 17:45:43 +08:00
parent b1fab67ed9
commit ae22ed8c44

View File

@ -609,10 +609,11 @@ func autoConfirm(ctx context.Context, workUuid string) (err error) {
var confirmStatus uint32 = 1
if isFailed {
usedType = 0
confirmStatus = 3
} else {
usedType = resp.UsedType
confirmRemark = "系统自动确认"
confirmStatus = 3
confirmStatus = 1
}
var mm = make(map[string]interface{}, 3)
mm["userid"] = 0