|
@@ -404,6 +404,10 @@
|
|
|
resultMap="LabSubjectResultVO">
|
|
resultMap="LabSubjectResultVO">
|
|
|
<include refid="selectLabSubjectListVo"/>
|
|
<include refid="selectLabSubjectListVo"/>
|
|
|
<where>
|
|
<where>
|
|
|
|
|
+ <if test="searchValue != null ">
|
|
|
|
|
+ and (t.name like concat('%', #{searchValue}, '%')
|
|
|
|
|
+ or t.room like concat('%', #{searchValue}, '%'))
|
|
|
|
|
+ </if>
|
|
|
<if test="name != null and name != ''">and t.name like concat('%', #{name}, '%')</if>
|
|
<if test="name != null and name != ''">and t.name like concat('%', #{name}, '%')</if>
|
|
|
<if test="adminName != null and adminName != ''">and su.nick_name like concat('%', #{adminName}, '%')</if>
|
|
<if test="adminName != null and adminName != ''">and su.nick_name like concat('%', #{adminName}, '%')</if>
|
|
|
|
|
|
|
@@ -478,6 +482,10 @@
|
|
|
left join sys_dept sd on sd.dept_id = t.dept_id
|
|
left join sys_dept sd on sd.dept_id = t.dept_id
|
|
|
left join lab_safe_classified cf on cf.id = t.level
|
|
left join lab_safe_classified cf on cf.id = t.level
|
|
|
<where>
|
|
<where>
|
|
|
|
|
+ <if test="searchValue != null ">
|
|
|
|
|
+ and (t.name like concat('%', #{searchValue}, '%')
|
|
|
|
|
+ or t.room like concat('%', #{searchValue}, '%'))
|
|
|
|
|
+ </if>
|
|
|
<if test="name != null and name != ''">and t.name like concat('%', #{name}, '%')</if>
|
|
<if test="name != null and name != ''">and t.name like concat('%', #{name}, '%')</if>
|
|
|
<if test="adminName != null and adminName != ''">and su.nick_name like concat('%', #{adminName}, '%')</if>
|
|
<if test="adminName != null and adminName != ''">and su.nick_name like concat('%', #{adminName}, '%')</if>
|
|
|
|
|
|