|
|
@@ -310,6 +310,10 @@
|
|
|
<if test="staffIds != null and staffIds.size() > 0">
|
|
|
AND t.staff_id =any(#{staffIdList, typeHandler=UuidListTypeHandler})
|
|
|
</if>
|
|
|
+ <if test="makeStaffIds != null and makeStaffIds.size() > 0">
|
|
|
+ AND t.make_staff =any(#{makeStaffIds, typeHandler=UuidListTypeHandler})
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="createtimeStart != null and createtimeEnd != null">
|
|
|
AND t.op_create_time >= #{createtimeStart}::timestamp with time zone
|
|
|
AND t.op_create_time < #{createtimeEnd}::timestamp with time zone + interval '1 day'
|
|
|
@@ -823,6 +827,7 @@
|
|
|
or tmsp.sup_name LIKE concat('%',my_ex.likequery(#{searchText}),'%')
|
|
|
or tmo.org_name LIKE concat('%',my_ex.likequery(#{searchText}),'%')
|
|
|
or tms.staff_name LIKE concat('%',my_ex.likequery(#{searchText}),'%')
|
|
|
+ or t.rp_no LIKE concat('%',my_ex.likequery(#{searchText}),'%')
|
|
|
)
|
|
|
</if>
|
|
|
order by t.op_create_time desc
|