| | |
| | | <if test="query.teamName != null and query.teamName != ''"> |
| | | and tpt.team_name like concat('%', #{query.teamName}, '%') |
| | | </if> |
| | | <if test="query.reportType != null"> |
| | | and tqpr.report_type = #{query.reportType} |
| | | </if> |
| | | <if test="query.status != null"> |
| | | and tqpr.status = #{query.status} |
| | | </if> |
| | | <if test="query.status == null"> |
| | | and tqpr.status != -1 |
| | | </if> |
| | | <if test="query.teamIds != null and query.teamIds.size() > 0"> |
| | | and tqpr.team_id in |
| | | <foreach collection="query.teamIds" item="teamId" open="(" separator="," close=")"> |
| | | #{teamId} |
| | | </foreach> |
| | | </if> |
| | | <if test="query.status == null"> |
| | | and tqpr.status != -1 |
| | | </if> |
| | | AND tqpr.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | |
| | | <if test="query.teamName != null and query.teamName != ''"> |
| | | and tpt.team_name like concat('%', #{query.teamName}, '%') |
| | | </if> |
| | | <if test="query.reportType != null"> |
| | | and tqpr.report_type = #{query.reportType} |
| | | </if> |
| | | <if test="query.status != null"> |
| | | and tqpr.status = #{query.status} |
| | | </if> |