|
@@ -212,6 +212,15 @@
|
|
|
#{id}
|
|
#{id}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 通过实验室ids查询设备 -->
|
|
|
|
|
+ <select id="selLabHardwareBySubIds" resultMap="LabHardwareResult">
|
|
|
|
|
+ <include refid="selectLabHardwareVo"/>
|
|
|
|
|
+ where xx.is_pcfire = 0 and xx. xx.subject_id in
|
|
|
|
|
+ <foreach item="id" collection="array" open="(" separator="," close=")">
|
|
|
|
|
+ #{id}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </select>
|
|
|
<select id="queryBySubjectId" resultMap="LabHardwareResult">
|
|
<select id="queryBySubjectId" resultMap="LabHardwareResult">
|
|
|
<include refid="selectLabHardwareVo"/>
|
|
<include refid="selectLabHardwareVo"/>
|
|
|
where xx.subject_id = #{subjectId}
|
|
where xx.subject_id = #{subjectId}
|