| | |
| | | <if test="laboratoryName != null and laboratoryName != ''"> |
| | | and ss.name like #{laboratoryName} |
| | | </if> |
| | | <if test="project != null and project != ''"> |
| | | and su.project like concat("%",#{project},"%") |
| | | </if> |
| | | <if test="controllerName != null and controllerName != ''"> |
| | | and sc.controller_name like concat("%",#{controllerName},"%") |
| | | </if> |
| | | order by ss.name ASC,sc.controller_name,su.container_code,su.name |
| | | <if test="first != null and pageSize != null"> |
| | | limit #{first}, #{pageSize} |
| | |
| | | </if> |
| | | <if test="editId != null and editId != ''"> |
| | | and su.id != #{editId} |
| | | </if> |
| | | <if test="project != null and project != ''"> |
| | | and su.project like concat("%",#{project},"%") |
| | | </if> |
| | | <if test="controllerName != null and controllerName != ''"> |
| | | and sc.controller_name like concat("%",#{controllerName},"%") |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | and slc.valid_flag = 1 |
| | | </select> |
| | | |
| | | <select id="selectProjectsByContainerCode" resultType="java.lang.String"> |
| | | select project |
| | | from sys_laboratory_container |
| | | where container_code = #{0} |
| | | and valid_flag = 1 |
| | | </select> |
| | | |
| | | </mapper> |