Parcourir la source

违规列表优化

qidingqiang il y a 5 mois
Parent
commit
55e42ea047

+ 2 - 2
zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabViolationMapper.xml

@@ -558,7 +558,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             </if>
             </if>
             <!-- 数据范围过滤 -->
             <!-- 数据范围过滤 -->
             ${params.dataScope}
             ${params.dataScope}
-
+        </where>
         GROUP BY u.user_id
         GROUP BY u.user_id
         <if test="order=='violationNum'">
         <if test="order=='violationNum'">
             order by v.violation_num ${orderType}
             order by v.violation_num ${orderType}
@@ -569,7 +569,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="order=='blackListNum'">
         <if test="order=='blackListNum'">
             order by v.black_list_num ${orderType}
             order by v.black_list_num ${orderType}
         </if>
         </if>
-        </where>
+
     </select>
     </select>
 
 
     <update id="updateLabViolationNum" >
     <update id="updateLabViolationNum" >