Lius
2023-10-08 95cef064268b1c13b32111636c267871b54bb24b
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
@@ -58,6 +58,7 @@
        WHERE
            med.equipment_id = me.id
            AND med.dep_id = #{ departId }
        ORDER BY me.equipment_id
    </select>
    <!--根据产线id查询设备-->
@@ -70,6 +71,7 @@
        WHERE
            mpe.equipment_id = me.id
            AND mpe.production_id = #{ productionId }
        ORDER BY me.equipment_id
    </select>
    <!--根据产线id查询设备id集合-->
@@ -129,7 +131,7 @@
            k.equipment_type,
            k.equipment_type_pictures
        ORDER BY
            equipmentName
            EquipmentID
    </select>
    <!--根据部门id查询设备id集合-->
@@ -166,6 +168,7 @@
                #{id}
            </foreach>
        </where>
        ORDER BY me.equipment_id
    </select>
    <!--根据设备编号查询设备信息和产线信息-->
@@ -188,6 +191,7 @@
                #{id}
            </foreach>
        </where>
        ORDER BY me.equipment_id
    </select>