Kaynağa Gözat

查获统计+查获大屏

chenshudong 4 ay önce
ebeveyn
işleme
572e394cbc

+ 4 - 4
airport-item/src/main/resources/mapper/item/ItemLargeScreenMapper.xml

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