lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
@@ -296,4 +296,16 @@ ORDER BY me.equipment_id </select> <select id="findByProductionIds" resultType="org.jeecg.modules.mdc.entity.MdcEquipment"> SELECT t1.* FROM mdc_equipment t1 LEFT JOIN mdc_production_equipment t2 ON t1.id = t2.equipment_id WHERE t2.production_id IN <foreach collection="mdcProductionIds" item = "productionId" index = "index" open = "(" close= ")" separator = ","> #{productionId} </foreach> </select> </mapper>