瀏覽代碼

师傅保证金审核

yanliming 1 周之前
父節點
當前提交
32a3c5cb18
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      common/src/main/resources/mapper/base/WorkOrder.xml

+ 3 - 0
common/src/main/resources/mapper/base/WorkOrder.xml

@@ -284,6 +284,9 @@
 			<if test="searchParams.date != null">
 				and a.create_time = #{searchParams.date}
 			</if>
+            <if test="searchParams.isAppoint == false">
+                and technician_id is null
+            </if>
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">
 			${sort.name} ${sort.order}