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