| | |
| | | <if test="query.status != null"> |
| | | and tfsr.status = #{query.status} |
| | | </if> |
| | | <if test="query.status == null"> |
| | | and tfsr.status != -1 |
| | | </if> |
| | | <if test="query.reportType != null"> |
| | | and tfsr.report_type = #{query.reportType} |
| | | </if> |
| | |
| | | <if test="query.teamName != null and query.teamName != ''"> |
| | | and tpt.team_name like concat('%', #{query.teamName}) |
| | | </if> |
| | | <if test="query.status != null"> |
| | | <if test="query.status != null and query.status != -1"> |
| | | and tfsr.status = #{query.status} |
| | | </if> |
| | | <if test="query.status == null"> |
| | | and tfsr.status != -1 |
| | | </if> |
| | | <if test="query.reportType != null"> |
| | | and tfsr.report_type = #{query.reportType} |
| | |
| | | #{teamId} |
| | | </foreach> |
| | | </if> |
| | | and tfsr.status in (2,3) |
| | | AND tfsr.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | ORDER BY tfsr.create_time DESC |
| | |
| | | <if test="query.teamName != null and query.teamName != ''"> |
| | | and tpt.team_name like concat('%', #{query.teamName}) |
| | | </if> |
| | | <if test="query.status != null"> |
| | | <if test="query.status != null and query.status != -1"> |
| | | and tfsr.status = #{query.status} |
| | | </if> |
| | | <if test="query.status == null"> |
| | | and tfsr.status != -1 |
| | | </if> |
| | | <if test="query.reportType != null"> |
| | | and tfsr.report_type = #{query.reportType} |
| | | </if> |