Commit 11d8d291 by weijiguang

添加错误日志

parent ecda981f
...@@ -88,10 +88,10 @@ public class AppServiceImpl { ...@@ -88,10 +88,10 @@ public class AppServiceImpl {
if (shop.getOrderState() == null) { if (shop.getOrderState() == null) {
perfectOrderState(shop, lng, lat); perfectOrderState(shop, lng, lat);
} }
if (BooleanUtils.isTrue(testFlag)) { if (BooleanUtils.isTrue(testFlag) && ShopState.TESTING.getState().equals(shop.getState())) {
if (ShopState.TESTING.getState().equals(shop.getState())) {
shop.setState(ShopState.OPEN.getState()); shop.setState(ShopState.OPEN.getState());
} shop.setOrderState(1);
shop.setStateDesc("");
} }
return shop; return shop;
} }
...@@ -104,7 +104,6 @@ public class AppServiceImpl { ...@@ -104,7 +104,6 @@ public class AppServiceImpl {
// 状态已停止营业 // 状态已停止营业
if (shop.getState() != 1) { if (shop.getState() != 1) {
shop.setOrderState(0); shop.setOrderState(0);
shop.setStateDesc("门店已暂停营业");
return false; return false;
} }
......
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