FengChaoYu 8 mēneši atpakaļ
vecāks
revīzija
fb0a4b3be4

+ 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