hym преди 4 години
родител
ревизия
10d150e7e3
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      src/main/resources/mapper/WarningLogMapper.xml

+ 4 - 1
src/main/resources/mapper/WarningLogMapper.xml

@@ -135,7 +135,10 @@
     sd.loc_desc,
     sdt1.equipment_type as equipment_type,
     sdt1.model as model,
-    sdm1.name as manufacturer_name
+    sdm1.name as manufacturer_name,
+    sgm.customer_no accountName,
+    sgm.customer_name accountNumber,
+    sgm.customer_phone accountPhone
     from sc_warning_log swl
     left join sc_device sd on(sd.id = swl.device_id)
     left join sc_building sb on(sb.id = sd.building_id)