|
@@ -396,6 +396,7 @@
|
|
|
aci.DELETED='0'
|
|
|
and aci.TENANTID=#{factoryId}
|
|
|
and IFNULL(DEVICESTATUS,'正常使用')!='停用' and IFNULL(DEVICESTATUS,'正常使用')!='报废' and PRODUCETYPE='1'
|
|
|
+ and aci.USEDEPTID != '' and aci.USEDEPTID is not null
|
|
|
<if test="typeList != null and typeList.size > 0">
|
|
|
and aci.CHECKITEMTYPE IN
|
|
|
<foreach collection="typeList" separator="," item="item" open="(" close=")">
|