linwe
2023-12-06 1a47d5fe54230e312aa8486aad7fb30ada1f7b2b
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>