소스 검색

维修模式-派工模式完善

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>