fix(meetings): selectList 加 7 个筛选 if (P0#1), Date 字段加 @DateTimeFormat 让字符串能 Spring 绑定

This commit is contained in:
郭庆泰
2026-08-18 23:20:54 +08:00
parent e644e0897f
commit 14757f359b
2 changed files with 11 additions and 0 deletions
@@ -37,6 +37,14 @@
<select id="selectList" resultMap="BizMeetingResult" parameterType="BizMeeting">
<include refid="selectFields"/>
<where>
<if test="projectNo != null and projectNo != ''">and project_no like concat('%', #{projectNo}, '%')</if>
<if test="meetingId != null">and meeting_id = #{meetingId}</if>
<if test="meetingName != null and meetingName != ''">and meeting_name like concat('%', #{meetingName}, '%')</if>
<if test="periodNo != null">and period_no = #{periodNo}</if>
<if test="projectForm != null and projectForm != ''">and project_form = #{projectForm}</if>
<if test="currentStage != null and currentStage != ''">and current_stage = #{currentStage}</if>
<if test="startTime != null">and start_time &gt;= #{startTime}</if>
<if test="endTime != null">and end_time &lt;= #{endTime}</if>
</where>
order by meeting_id desc
</select>