gongchunyi
2026-05-18 8b1bfaac66ddcfcf4633db2b379fefffadc743ec
src/main/resources/mapper/device/DeviceMaintenanceMapper.xml
@@ -20,6 +20,7 @@
        dm.maintenance_actually_name,
        dm.maintenance_person,
        dm.maintenance_location,
        dm.maintenance_items,
        dl.device_name,
        dl.device_model,
        su.nick_name as create_user_name
@@ -42,6 +43,9 @@
            </if>
            <if test="deviceMaintenanceDto.maintenanceLocation != null and deviceMaintenanceDto.maintenanceLocation != ''">
                and dm.maintenance_location like concat('%',#{deviceMaintenanceDto.maintenanceLocation},'%')
            </if>
            <if test="deviceMaintenanceDto.maintenanceItems != null and deviceMaintenanceDto.maintenanceItems != ''">
                and dm.maintenance_items like concat('%',#{deviceMaintenanceDto.maintenanceItems},'%')
            </if>
            <if test="deviceMaintenanceDto.maintenancePlanTime != null">
                and dm.maintenance_plan_time like concat('%',#{deviceMaintenanceDto.maintenancePlanTime},'%')
@@ -70,6 +74,7 @@
               dm.maintenance_actually_name,
               dm.maintenance_person,
               dm.maintenance_location,
               dm.maintenance_items,
               dl.device_name,
               dl.device_model,
               su.user_name as create_user_name