| | |
| | | <include refid="Base_Column_List" /> |
| | | from t_qa_test_item_report |
| | | where item_id = #{itemId} |
| | | AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | order by create_time desc |
| | | </select> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.TQaTestItemReportVO"> |
| | |
| | | <if test="query.reportContent != null and query.reportContent != ''"> |
| | | and tqtir.report_content = #{query.reportContent} |
| | | </if> |
| | | <if test="query.status != null and query.status != -1"> |
| | | <if test="query.teamIds != null and query.teamIds.size() > 0"> |
| | | and tqti.team_id in |
| | | <foreach item="teamId" collection="query.teamIds" separator="," close=")" open="(" index=""> |
| | | #{teamId} |
| | | </foreach> |
| | | </if> |
| | | <if test="query.status != null"> |
| | | and tqtir.status = #{query.status} |
| | | </if> |
| | | <if test="query.status == null"> |
| | |
| | | </where> |
| | | ORDER BY tqtir.create_time DESC |
| | | </select> |
| | | <select id="getListByItemId" resultType="com.ruoyi.system.vo.TQaTestItemReportVO"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from t_qa_test_item_report |
| | | where item_id = #{itemId} |
| | | and status in (1,2,3) |
| | | and disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | order by create_time desc |
| | | </select> |
| | | |
| | | </mapper> |