|
|
@@ -264,8 +264,8 @@
|
|
264
|
264
|
|
|
265
|
265
|
<!--查获排名-按班组-->
|
|
266
|
266
|
<select id="rankByTeam" resultType="com.sundot.airport.item.domain.ItemLargeScreenCommonDto">
|
|
267
|
|
- select isr.attendance_team_id id,
|
|
268
|
|
- isr.attendance_team_name name,
|
|
|
267
|
+ select isr.inspect_team_id id,
|
|
|
268
|
+ isr.inspect_team_name name,
|
|
269
|
269
|
sum(isi.quantity) total
|
|
270
|
270
|
from item_seizure_record isr
|
|
271
|
271
|
left join item_seizure_items isi on isr.id = isi.record_id
|
|
|
@@ -286,8 +286,8 @@
|
|
286
|
286
|
</if>
|
|
287
|
287
|
<if test="isPolice=='1' or isPolice==1">and isi.handling_method = 'TRANSFER_TO_AIRPORT_POLICE'</if>
|
|
288
|
288
|
<if test="isConceal=='1' or isConceal==1">and isi.is_active_concealment = 1</if>
|
|
289
|
|
- group by isr.attendance_team_id,
|
|
290
|
|
- isr.attendance_team_name
|
|
|
289
|
+ group by isr.inspect_team_id,
|
|
|
290
|
+ isr.inspect_team_name
|
|
291
|
291
|
order by total desc
|
|
292
|
292
|
</select>
|
|
293
|
293
|
|