门店bug修复

This commit is contained in:
taozi
2022-01-28 23:30:07 +08:00
parent 519fc82dbc
commit 49b65f4897

View File

@ -2434,9 +2434,12 @@ public class YxStoreOrderServiceImpl extends BaseServiceImpl<StoreOrderMapper, Y
yxStoreOrder.getRefundStatus()); yxStoreOrder.getRefundStatus());
if (yxStoreOrder.getStoreId() > 0) { if (yxStoreOrder.getStoreId() > 0) {
String storeName = systemStoreService.getById(yxStoreOrder.getStoreId()).getName(); YxSystemStore systemStore = systemStoreService.getById(yxStoreOrder.getStoreId());
if (Objects.nonNull(systemStore)) {
String storeName = systemStore.getName();
yxStoreOrderDto.setStoreName(storeName); yxStoreOrderDto.setStoreName(storeName);
} }
}
//订单状态 //订单状态
String orderStatusStr = OrderUtil.orderStatusStr(yxStoreOrder.getPaid() String orderStatusStr = OrderUtil.orderStatusStr(yxStoreOrder.getPaid()