zhongrj
2023-12-23 c13a98709aec93a4bb747bd53021b085f3ac5e7c
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>