|
@@ -1391,7 +1391,7 @@ public class TbIndentServiceImpl extends ServiceImpl<TbIndentDao, TbIndent> impl
|
|
|
throw new SqxException("无效的配送单id");
|
|
throw new SqxException("无效的配送单id");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (indent.getRiderUserId() != currentUserId) {
|
|
|
|
|
|
|
+ if (!indent.getRiderUserId().equals(currentUserId)) {
|
|
|
throw new SqxException("不能操作非自己的订单");
|
|
throw new SqxException("不能操作非自己的订单");
|
|
|
}
|
|
}
|
|
|
|
|
|