广告查询bug修改

This commit is contained in:
yijiegong 2024-08-28 13:34:11 +08:00
parent d7fe7cf40a
commit e48029a9a4
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ public class TbShopAdServiceImpl extends ServiceImpl<TbShopAdMapper, TbShopAd> i
return ResponseEntity.badRequest().body("店铺ID不能为空");
}
wrapper.eq("shop_id", params.get("shopId"));
if (StrUtil.isNotBlank((String) params.get("status"))) {
wrapper.eq("status", params.get("status"));
}