张天森
2022-11-16 f60bfb196779b46c6c5511c02aa6749b84086301
三说会堂事件处理
1个文件已修改
32 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml
@@ -248,7 +248,8 @@
        AND user_event_status not in(3,4)
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND current_process_type=1
            AND current_process_type in (1,5)
            AND center_id is not  null
            <if test="dto.id != null">
                AND center_id=#{dto.id}
            </if>
@@ -261,6 +262,7 @@
        </if>
        <if test="dto.type == 4">
            AND current_process_type in(2,5)
            AND center_id is null
            <if test="dto.id != null">
                AND request_user_community=#{dto.id}
            </if>
@@ -274,7 +276,8 @@
        AND user_event_status not in(3,4)
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND current_process_type=1
            AND current_process_type in (1,5)
            AND center_id is not  null
            <if test="dto.id != null">
                AND center_id=#{dto.id}
            </if>
@@ -287,6 +290,7 @@
        </if>
        <if test="dto.type == 4">
            AND current_process_type in(2,5)
            AND center_id is null
            <if test="dto.id != null">
                AND request_user_community=#{dto.id}
            </if>
@@ -300,7 +304,8 @@
        AND user_event_status not in(3)
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND current_process_type=1
            AND current_process_type in (1,5)
            AND center_id is not null
            <if test="dto.id != null">
                AND center_id=#{dto.id}
            </if>
@@ -313,6 +318,7 @@
        </if>
        <if test="dto.type == 4">
            AND current_process_type in(2,5)
            AND center_id is null
            <if test="dto.id != null">
                AND request_user_community=#{dto.id}
            </if>
@@ -328,7 +334,8 @@
        AND t1.event_status=7
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND t.current_process_type=1
            AND t.current_process_type in (1,5)
            AND t.center_id is not  null
            <if test="dto.id != null">
                AND t.center_id=#{dto.id}
            </if>
@@ -341,6 +348,7 @@
        </if>
        <if test="dto.type == 4">
            AND t.current_process_type in(2,5)
            AND t.center_id is null
            <if test="dto.id != null">
                AND t.request_user_community=#{dto.id}
            </if>
@@ -353,7 +361,8 @@
        AND user_event_status not in(3,4)
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND current_process_type=1
            AND current_process_type in (1,5)
            AND center_id is not  null
            <if test="dto.id != null">
                AND center_id=#{dto.id}
            </if>
@@ -366,6 +375,7 @@
        </if>
        <if test="dto.type == 4">
            AND current_process_type in(2,5)
            AND center_id is null
            <if test="dto.id != null">
                AND request_user_community=#{dto.id}
            </if>
@@ -379,7 +389,8 @@
        AND user_event_status not in(3,4)
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND current_process_type=1
            AND current_process_type in (1,5)
            AND center_id is not  null
            <if test="dto.id != null">
                AND center_id=#{dto.id}
            </if>
@@ -392,6 +403,7 @@
        </if>
        <if test="dto.type == 4">
            AND current_process_type in(2,5)
            AND center_id is null
            <if test="dto.id != null">
                AND request_user_community=#{dto.id}
            </if>
@@ -404,7 +416,8 @@
        AND event_process_status not in (8)
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND current_process_type=1
            AND current_process_type in (1,5)
            AND center_id is not  null
            <if test="dto.id != null">
                AND center_id=#{dto.id}
            </if>
@@ -417,6 +430,7 @@
        </if>
        <if test="dto.type == 4">
            AND current_process_type in(2,5)
            AND center_id is null
            <if test="dto.id != null">
                AND request_user_community=#{dto.id}
            </if>
@@ -430,7 +444,8 @@
        AND event_process_status = 6
        AND app_id='wx0cef797390444b75'
        <if test="dto.type == 2">
            AND current_process_type=1
            AND current_process_type in (1,5)
            AND center_id is not  null
            <if test="dto.id != null">
                AND center_id=#{dto.id}
            </if>
@@ -443,6 +458,7 @@
        </if>
        <if test="dto.type == 4">
            AND current_process_type in(2,5)
            AND center_id is null
            <if test="dto.id != null">
                AND request_user_community=#{dto.id}
            </if>