| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | </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> |