@@ -615,4 +615,9 @@ public class SbInfoDTO extends BaseDTO implements Serializable {
* 完善标识 1 位号 2 设备型号 3 资产编码 4 设备类型
*/
private Integer replenishFlag;
+
+ /**
+ * 设备类型
+ */
+ private List<String> typeList;
}
@@ -238,6 +238,12 @@ sb.scrap_user_name,sb.repair_dept_id,sb.sort_num
#{item}
</foreach>
</if>
+ <if test="typeList != null">
+ AND sb.type_id in
+ <foreach item="item" index="index" collection="typeList" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
<if test="useType != null">
and sb.use_type = #{useType}