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