记得上下班打卡 | git大法好,push需谨慎

Commit 6b92c197 authored by 胡佳晨's avatar 胡佳晨

修改 正在下单出货

parent 2663736c
...@@ -102,7 +102,7 @@ public class GoblinAppZhengzaiServiceImpl implements IGoblinAppZhengzaiService { ...@@ -102,7 +102,7 @@ public class GoblinAppZhengzaiServiceImpl implements IGoblinAppZhengzaiService {
for (String orderId : orderIds) { for (String orderId : orderIds) {
GoblinStoreOrderVo storeOrderVo = redisUtils.getGoblinOrder(orderId); GoblinStoreOrderVo storeOrderVo = redisUtils.getGoblinOrder(orderId);
if (!storeInfoVo.getStoreId().equals(storeOrderVo.getStoreId())) { if (!storeInfoVo.getStoreId().equals(storeOrderVo.getStoreId())) {
return ResponseDto.failure("店铺异常"); continue;
} }
if (storeOrderVo.getStatus().equals(GoblinStatusConst.Status.ORDER_STATUS_0.getValue())) { if (storeOrderVo.getStatus().equals(GoblinStatusConst.Status.ORDER_STATUS_0.getValue())) {
return ResponseDto.failure("出货失败,订单未支付"); return ResponseDto.failure("出货失败,订单未支付");
...@@ -153,7 +153,7 @@ public class GoblinAppZhengzaiServiceImpl implements IGoblinAppZhengzaiService { ...@@ -153,7 +153,7 @@ public class GoblinAppZhengzaiServiceImpl implements IGoblinAppZhengzaiService {
for (String orderId : orderIds) { for (String orderId : orderIds) {
GoblinStoreOrderVo storeOrderVo = redisUtils.getGoblinOrder(orderId); GoblinStoreOrderVo storeOrderVo = redisUtils.getGoblinOrder(orderId);
if (!storeInfoVo.getStoreId().equals(storeOrderVo.getStoreId())) { if (!storeInfoVo.getStoreId().equals(storeOrderVo.getStoreId())) {
return ResponseDto.failure("店铺异常"); continue;
} }
if (storeOrderVo.getStatus().equals(GoblinStatusConst.Status.ORDER_STATUS_0.getValue())) { if (storeOrderVo.getStatus().equals(GoblinStatusConst.Status.ORDER_STATUS_0.getValue())) {
return ResponseDto.failure("订单未支付"); return ResponseDto.failure("订单未支付");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment