|
@@ -24,6 +24,9 @@
|
|
<if test="tuType != null and tuType !=''">
|
|
<if test="tuType != null and tuType !=''">
|
|
and u.tu_type = #{tuType}
|
|
and u.tu_type = #{tuType}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="unitId != null and unitId !=''">
|
|
|
|
+ and uu.unit_id = #{unitId}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
order by u.time_update desc
|
|
order by u.time_update desc
|
|
</select>
|
|
</select>
|
|
@@ -50,6 +53,9 @@
|
|
<if test="tuType != null and tuType !=''">
|
|
<if test="tuType != null and tuType !=''">
|
|
and u.tu_type = #{tuType}
|
|
and u.tu_type = #{tuType}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="unitId != null and unitId !=''">
|
|
|
|
+ and uu.unit_id = #{unitId}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
order by u.time_update desc
|
|
order by u.time_update desc
|
|
</select>
|
|
</select>
|