소스 검색

小程序优化

3254194295 2 년 전
부모
커밋
6e06e48be7
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      platform-dao/src/main/resources/mapper/repair/RepairApplicationFormMapper.xml

+ 4 - 4
platform-dao/src/main/resources/mapper/repair/RepairApplicationFormMapper.xml

@@ -291,16 +291,16 @@
                 </foreach>
             </if>
             <if test="userId!=null and userId!=''">
-                form.user_id=#{userId}
+                and form.user_id=#{userId}
             </if>
             <if test="repairUserId!=null and repairUserId!=''">
-                form.repair_user_id=#{repairUserId}
+                and form.repair_user_id=#{repairUserId}
             </if>
             <if test="dispatchUserId!=null and dispatchUserId!=''">
-                form.dispatch_user_id=#{dispatchUserId}
+                and form.dispatch_user_id=#{dispatchUserId}
             </if>
             <if test="deptId!=null and deptId!=null">
-                dept.dept_id=#{deptId}
+                and dept.dept_id=#{deptId}
             </if>
         </where>
         group by status