fix
This commit is contained in:
@@ -103,7 +103,11 @@ public class PlayCommodityInfoServiceImpl extends ServiceImpl<PlayCommodityInfoM
|
||||
|
||||
@Override
|
||||
public PlayCommodityInfoVo queryCommodityInfo(String id) {
|
||||
return this.baseMapper.queryCommodityInfo(id);
|
||||
PlayCommodityInfoVo vo = this.baseMapper.queryCommodityInfo(id);
|
||||
if (vo == null) {
|
||||
throw new CustomException("服务项目不存在");
|
||||
}
|
||||
return vo;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user