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)