浏览代码

驾驶舱-复启操作人

wanglt 3 月之前
父节点
当前提交
89fa0f9f5a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ygtx-gxt/src/main/resources/mapper/gxt/GxtWorkOrderMapper.xml

+ 1 - 1
ygtx-gxt/src/main/resources/mapper/gxt/GxtWorkOrderMapper.xml

@@ -782,7 +782,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 wo.gxt_center AS center,
                 '维修工单' AS orderType,
                 wo.team_leader_name AS chargePerson,
-                <if test="repairPerson != null and repairPerson == 'true'">wop.nick_name AS repairPerson,ROUND(wop.score,2) AS score,</if>
+                <if test="repairPerson != null and repairPerson == 'true'">IF(wo.repair_method='2', NULL, wop.nick_name) AS repairPerson,ROUND(wop.score,2) AS score,</if>
                 <if test="repairPerson == null or repairPerson == '' or repairPerson == 'false'">ROUND(wo.score,2) AS score,</if>
                 ROUND(TIMESTAMPDIFF( SECOND, wo.occur_time, wo.assign_time ) / 3600,2) AS xfsc,
                 ROUND(( TIMESTAMPDIFF( SECOND, wo.assign_time, wo.accept_time ) - IFNULL(gq.total_night_auto_suspend_seconds, 0))/ 3600,2) AS xysc,