取餐码获取为null修复
This commit is contained in:
@@ -979,8 +979,10 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
TbOrderInfo orderInfo = orderInfoMapper.selectById(orderId);
|
||||
if (orderInfo != null) {
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
jsonObject.put("masterId", orderInfo.getMasterId());
|
||||
return jsonObject;
|
||||
if (orderInfo.getMasterId() != null) {
|
||||
jsonObject.put("masterId", orderInfo.getMasterId());
|
||||
return jsonObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
String account = tokenProvider.getSubject();
|
||||
|
||||
Reference in New Issue
Block a user