取餐码获取为null修复

This commit is contained in:
SongZhang 2024-10-14 16:28:37 +08:00
parent 347431f199
commit 4c19b6c9d3
1 changed files with 1 additions and 1 deletions

View File

@ -979,7 +979,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
TbOrderInfo orderInfo = orderInfoMapper.selectById(orderId);
if (orderInfo != null) {
JSONObject jsonObject = new JSONObject();
if (orderInfo.getMasterId() != null) {
if (StrUtil.isNotBlank(orderInfo.getMasterId())) {
jsonObject.put("masterId", orderInfo.getMasterId());
return jsonObject;
}