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