소스 검색

违规列表优化

qidingqiang 5 달 전
부모
커밋
55e42ea047
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabViolationMapper.xml

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