浏览代码

维修模式-派工模式完善

guarantee-lsq 2 年之前
父节点
当前提交
f0c7c6f97e
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      platform-dao/src/main/resources/mapper/repair/RepairApplicationFormMapper.xml

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

@@ -109,6 +109,9 @@
             <if test="repairStartTimeEnd != null">
                 and application.repair_start_time <![CDATA[ < ]]> #{repairStartTimeEnd}
             </if>
+            <if test="dispatchUserId != null">
+                and application.dispatch_user_id = #{dispatchUserId}
+            </if>
         </where>
     </select>
     <select id="selectById" parameterType="java.lang.Object"
@@ -265,6 +268,9 @@
             <if test="type != null">
                 type = #{type},
             </if>
+            <if test="dispatchUserId">
+                and dispatch_user_id = #{dispatchUserId}
+            </if>
         </set>
         where id = #{id}
     </update>