Skip to content

Commit

Permalink
Merge pull request #101 from NJUPT-SAST/dev-mio
Browse files Browse the repository at this point in the history
Dev mio
  • Loading branch information
Akiyama-Mio-a authored Dec 11, 2023
2 parents 45b3af6 + 774ac15 commit f81fcbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/sast/evento/service/FeedBackService.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ public interface FeedBackService {
// 管理端获取活动及其反馈数量列表
PageModel<FeedbackNumModel> getFeedbackEvents(Integer page, Integer size);

}
}
4 changes: 3 additions & 1 deletion src/main/resources/mapper/eventModelMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@
<!-- 最新的活动列表(按开始时间正序排列未开始的活动)-->
<select id="getNewest" resultMap="eventModelMap">
<include refid="selectFrom" />
WHERE e.state = 1
<!-- state 小于等于 2。 -->
<!-- 未开始 或 报名中 的活动。 -->
WHERE e.state &lt;= 2
ORDER BY e.gmt_event_start ASC
</select>

Expand Down

0 comments on commit f81fcbc

Please sign in to comment.