Compare commits
2
Commits
ac42d99bd2
...
e64091efde
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e64091efde | ||
|
|
34adc1a5e2 |
+1
-1
@@ -24,7 +24,7 @@ public interface ConNoticeMapper extends BaseMapper<ConNotice> {
|
||||
*/
|
||||
IPage<ConNotice> queryPageList(IPage<ConNotice> 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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user