Lius
2024-09-13 15a20a91316b726f45ccc9e06bbd632f10eedb43
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
@@ -58,6 +58,9 @@
        WHERE
            med.equipment_id = me.id
            AND med.dep_id = #{ departId }
            <if test="key != null and key != '' ">
                AND me.device_abnormal_status = 1
            </if>
        ORDER BY me.equipment_id
    </select>
@@ -71,6 +74,9 @@
        WHERE
            mpe.equipment_id = me.id
            AND mpe.production_id = #{ productionId }
          <if test="key != null and key != '' ">
              AND me.device_abnormal_status = 1
          </if>
        ORDER BY me.equipment_id
    </select>