|
|
@ -257,7 +257,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<select id="getLoadCountNum" resultType="int"> |
|
|
|
<select id="getLoadCountNum" resultType="int"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|
count( ldl.id ) |
|
|
|
IFNULL(sum(ldl.loaded_nub),0) |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
logpm_distribution_loadscan ldl |
|
|
|
logpm_distribution_loadscan ldl |
|
|
|
right JOIN logpm_distribution_reservation ldr on ldr.id= ldl.reservation_id and ldr.reservation_status !='40' |
|
|
|
right JOIN logpm_distribution_reservation ldr on ldr.id= ldl.reservation_id and ldr.reservation_status !='40' |
|
|
|