gongchunyi
5 天以前 089964a497c2528e88ddc610af5f88f631303431
src/main/resources/mapper/device/DeviceMaintenanceMapper.xml
@@ -18,6 +18,8 @@
        dm.update_user,
        dm.tenant_id,
        dm.maintenance_actually_name,
        dm.maintenance_person,
        dm.maintenance_location,
        dl.device_name,
        dl.device_model,
        su.nick_name as create_user_name
@@ -37,6 +39,9 @@
            </if>
            <if test="deviceMaintenanceDto.maintenanceActuallyName != null">
                and dm.maintenance_actually_name like concat('%',#{deviceMaintenanceDto.maintenanceActuallyName},'%')
            </if>
            <if test="deviceMaintenanceDto.maintenanceLocation != null and deviceMaintenanceDto.maintenanceLocation != ''">
                and dm.maintenance_location like concat('%',#{deviceMaintenanceDto.maintenanceLocation},'%')
            </if>
            <if test="deviceMaintenanceDto.maintenancePlanTime != null">
                and dm.maintenance_plan_time like concat('%',#{deviceMaintenanceDto.maintenancePlanTime},'%')
@@ -63,6 +68,8 @@
               dm.update_user,
               dm.tenant_id,
               dm.maintenance_actually_name,
               dm.maintenance_person,
               dm.maintenance_location,
               dl.device_name,
               dl.device_model,
               su.user_name as create_user_name