取餐码获取为null修复
This commit is contained in:
parent
347431f199
commit
4c19b6c9d3
|
|
@ -979,7 +979,7 @@ 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();
|
||||||
if (orderInfo.getMasterId() != null) {
|
if (StrUtil.isNotBlank(orderInfo.getMasterId())) {
|
||||||
jsonObject.put("masterId", orderInfo.getMasterId());
|
jsonObject.put("masterId", orderInfo.getMasterId());
|
||||||
return jsonObject;
|
return jsonObject;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue