瀏覽代碼

解决缺陷 主持人、指挥人可以填写 查询逻辑需兼容

zhulu 10 月之前
父節點
當前提交
29f8db910d

+ 1 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/drill/CoreDrillTaskMapper.xml

@@ -409,7 +409,7 @@
         t.image_list       as imageList,
         t.host_id          as hostId,
         t.recorder_id      as recorderId,
-        u.name             as hostName,
+        IFNULL(u.name,t.host_name)  as hostName,
         u1.name            as recorderName,
         t.pdf_url          as pdfUrl,
         t.file_list        as file,

+ 1 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/edu/CoreEduTrainingTaskMapper.xml

@@ -259,7 +259,7 @@
         status,
         concat(SUBSTR( t.start_date, 1, 10 ),'-',SUBSTR( t.end_date, 1, 10 )) as taskDate,
         t.org_name,
-        u.name as hostName,
+        IFNULL(u.name,t.host_name) as hostName,
         u1.name as recorderName,
         t.training_start_date_time,
         t.training_end_date_time,