lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
@@ -71,6 +71,12 @@
        WHERE
            mpe.equipment_id = me.id
            AND mpe.production_id = #{ productionId }
        <if test="type == 'DNC'">
            AND me.device_type_dnc = '1'
        </if>
        <if test="type == 'MDC'">
            AND me.device_type_mdc = '1'
        </if>
        ORDER BY me.equipment_id
    </select>
@@ -276,4 +282,4 @@
            t1.id = #{ id }
    </select>
</mapper>
</mapper>