refs #6275 hotFix fix:getExpeditionSummary

This commit is contained in:
Sergio De la torre 2024-04-29 08:19:18 +02:00
parent bb4f97102e
commit f2225b49a7
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ module.exports = Self => {
JOIN vn.agencyMode am ON am.id = r.agencyModeFk
JOIN vn.agency ag ON ag.id = am.agencyFk
LEFT JOIN vn.userConfig uc ON uc.userFk = account.myUser_getId()
WHERE (r.created = util.VN_CURDATE() OR r.created = util.yesterday())
WHERE (r.created BETWEEN util.yesterday() AND util.VN_CURDATE() + INTERVAL 1 DAY)
AND t.routeFk = ?
GROUP BY t.addressFk, e.itemPackingTypeFk
) sub