| | |
| | | <sql id="Base_Column_List"> |
| | | id, team_name, person_charge, status, create_time, update_time, create_by, update_by, disabled |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.TProjectTeamVO"> |
| | | SELECT |
| | | <include refid="Base_Column_List" /> |
| | | FROM t_project_team |
| | | <where> |
| | | <if test="teamName != null and teamName != ''"> |
| | | AND team_name LIKE CONCAT('%', #{teamName}, '%') |
| | | </if> |
| | | <if test="personCharge != null and personCharge != ''"> |
| | | AND person_charge LIKE CONCAT('%', #{personCharge}, '%') |
| | | </if> |
| | | <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''"> |
| | | AND create_time >= #{query.startTime} |
| | | AND create_time <= #{query.endTime} |
| | | </if> |
| | | AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | ORDER BY create_time DESC |
| | | </select> |
| | | |
| | | </mapper> |