aa
This commit is contained in:
@@ -1245,11 +1245,11 @@ func RefreshJdDelivery(ctx *jxcontext.Context) (err error) {
|
|||||||
return retVal, err
|
return retVal, err
|
||||||
}
|
}
|
||||||
if err == nil {
|
if err == nil {
|
||||||
fmt.Println("Status", dOrder.Status)
|
|
||||||
dao.UpdateEntity(db, dOrder, "Status")
|
dao.UpdateEntity(db, dOrder, "Status")
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("Status", dOrder.Status)
|
if strings.Contains(err.Error(), "审核状态不正确") {
|
||||||
fmt.Println("err", err)
|
dao.UpdateEntity(db, dOrder, "Status")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user