yanliming 1 неделя назад
Родитель
Сommit
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}