|
|
@@ -33,9 +33,7 @@
|
|
|
t.storage_id, t.car_id, t.car_number, t.transport_id, t.transport_name,
|
|
|
t.dispose_userid, t.dispose_username, t.dispose_time, t.complete_time,
|
|
|
t.complete_userid, t.complete_username, t.pressure,t.out_status,
|
|
|
- (select l.room room from lab_subject s,lab_subject_layout l where s.layout_id =l.id and s.id=
|
|
|
- ( select location_id from qp_bottle_storage bs , qp_task ta where bs.id=t.storage_id
|
|
|
- and bs.task_id = ta.id) ) room
|
|
|
+ (select fl.room_num from lab_build_floor_layout fl where fl.sub_id=ta.location_id) room
|
|
|
from qp_bottle_storage_out t
|
|
|
LEFT JOIN qp_bottle_storage bs on t.storage_id=bs.id
|
|
|
LEFT JOIN qp_task ta on bs.task_id=ta.id
|
|
|
@@ -44,6 +42,7 @@
|
|
|
</sql>
|
|
|
<select id="selectQpBottleStorageOutList" parameterType="com.zd.airbottle.domain.vo.QpBottleStorageOutVO" resultMap="QpBottleStorageOutResult">
|
|
|
<include refid="selectQpBottleStorageOutListVo"/>
|
|
|
+ <where>
|
|
|
<if test="searchValue != null and searchValue != ''">
|
|
|
and ( t.apply_user_name like concat('%', #{searchValue}, '%')
|
|
|
or t.phone like concat('%', #{searchValue}, '%')
|
|
|
@@ -74,6 +73,7 @@
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ </where>
|
|
|
<!-- 数据范围过滤 -->
|
|
|
${params.dataScope}
|
|
|
order by t.create_time desc
|