Commit 11d8d291 by weijiguang

添加错误日志

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