linwei
2024-01-08 ad2ec97fe0c60eee4bb7c8cdacff7c876f280ea7
src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml
@@ -35,8 +35,11 @@
    <select id="selectTaskLabelReportingEventPage" resultMap="taskLabelReportingEventResultMap">
        select * from jczz_task_label_reporting_event where is_deleted = 0
        <if test="vo.userId != null and vo.userId != ''">
            AND user_id = #{vo.checkUserId}
        <if test="taskLabelReportingEvent.userId != null and taskLabelReportingEvent.userId != ''">
            AND user_id = #{taskLabelReportingEvent.userId}
        </if>
        <if test="taskLabelReportingEvent.eventType != null and taskLabelReportingEvent.eventType != ''">
            AND event_type = #{taskLabelReportingEvent.eventType}
        </if>
    </select>