From 34adc1a5e26637db6dbbec4309bfc8e3b9872f91 Mon Sep 17 00:00:00 2001 From: "DESKTOP-BLB5287\\FP" <18691763612@163.com> Date: Wed, 9 Jul 2025 17:28:32 +0800 Subject: [PATCH] fix --- .../java/com/renkang/consultation/mapper/ConNoticeMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/health-consultation/health-consultation-biz/src/main/java/com/renkang/consultation/mapper/ConNoticeMapper.java b/health-consultation/health-consultation-biz/src/main/java/com/renkang/consultation/mapper/ConNoticeMapper.java index a172eed..9c5c1d0 100644 --- a/health-consultation/health-consultation-biz/src/main/java/com/renkang/consultation/mapper/ConNoticeMapper.java +++ b/health-consultation/health-consultation-biz/src/main/java/com/renkang/consultation/mapper/ConNoticeMapper.java @@ -24,7 +24,7 @@ public interface ConNoticeMapper extends BaseMapper { */ IPage queryPageList(IPage page, @Param("conNotice") ConNotice conNotice); - @Select("SELECT * FROM con_notice WHERE status = '1' and del_flag = '0' and type = #{noticeType} order by create_time desc limit 1") + @Select("SELECT * FROM con_notice WHERE status = '1' and del_flag = '0' and notice_type = #{type} order by create_time desc limit 1") public ConNotice selectNoticeByType(String type); }