| | |
| | | <sql id="Base_Column_List"> |
| | | id, create_time, update_time, create_by, update_by, disabled, cleaner_code, cleaner_name, projectId |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.system.CleanerListVO"> |
| | | select t1.* from t_cleaner t1 |
| | | <where> |
| | | <if test="query.cleanerCode != null and query.cleanerCode != ''"> |
| | | and t1.cleaner_code like concat('%', #{query.cleanerCode}, '%') |
| | | </if> |
| | | <if test="query.cleanerName != null and query.cleanerName != ''"> |
| | | and t1.cleaner_name like concat('%', #{query.cleanerName}, '%') |
| | | </if> |
| | | <if test="query.projectId != null and query.projectId != ''"> |
| | | and t1.projectId = #{query.projectId} |
| | | </if> |
| | | </where> |
| | | and t1.disabled = = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | order by t1.create_time desc |
| | | </select> |
| | | |
| | | </mapper> |