Browse Source

维修模式-派工模式完善

guarantee-lsq 2 years ago
parent
commit
f0c7c6f97e

+ 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>