| | |
| | | <sql id="Base_Column_List"> |
| | | id, team_id,tester_id, task_content, task_time, evaluate_score, evaluate_time, create_time, update_time, create_by, update_by, disabled |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.TTesterOtherTaskVO"> |
| | | select ttot.id, ttot.team_id,ttot.tester_id, ttot.task_content, ttot.task_time, ttot.evaluate_score, ttot.evaluate_time, |
| | | ttot.create_time, ttot.update_time, ttot.create_by, ttot.update_by, ttot.disabled,tpt.team_name as teamName |
| | | from t_tester_other_task ttot |
| | | left join t_project_team tpt on ttot.team_id = tpt.id |
| | | <where> |
| | | <if test="query.teamName != null and query.teamName != ''"> |
| | | and tpt.team_name like concat('%',#{query.teamName},'%') |
| | | </if> |
| | | <if test="query.taskContent != null and query.taskContent != ''"> |
| | | and ttot.task_content like concat('%',#{query.taskContent},'%') |
| | | </if> |
| | | <if test="query.teamIds != null and query.teamIds.size() > 0"> |
| | | and ttot.team_id in |
| | | <foreach item="teamId" collection="query.teamIds" index="index" open="(" close=")" separator=","> |
| | | #{teamId} |
| | | </foreach> |
| | | </if> |
| | | AND ttot.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | ORDER BY ttot.create_time DESC |
| | | </select> |
| | | |
| | | </mapper> |