FengChaoYu 8 månader sedan
förälder
incheckning
fb0a4b3be4
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      mall-server-api/src/main/resources/mapper/CommonMapper.xml

+ 1 - 1
mall-server-api/src/main/resources/mapper/CommonMapper.xml

@@ -104,7 +104,7 @@
         </if>
         and a.apply_type='WORKER'
         AND a.worker_number IS NOT NULL
-        <if test="isGroupByWorkerId != null and isGroupByWorkerId == true">
+        <if test="ex.isGroupByWorkerId != null and ex.isGroupByWorkerId == true">
             GROUP BY a.worker_number
         </if>
         ORDER BY FIELD(b.examine_status,'WAIT','OK','FAIL'),a.create_time DESC