linwe
2023-12-20 80d384b639f7bdc9f325d9b1fa51a95beb3093c1
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>