瀏覽代碼

小程序优化

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