@@ -1977,7 +1977,7 @@
th.f_pid,
count(th.f_pid) loadCntr
FROM
- t_warehousebills_cntr th
+ t_warehousebills_cntritems th
GROUP BY th.f_pid
) tcntr ON tcntr.f_pid = tw.f_id
<where>