fix: refs #6321 revert change
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2025-02-06 08:17:03 +01:00
parent b2cbded2dc
commit 24411f9af1
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ module.exports = Self => {
JOIN hedera.imageConfig ic JOIN hedera.imageConfig ic
WHERE e.supplierFk = ? WHERE e.supplierFk = ?
AND i.family IN ('EMB', 'CONT') AND i.family IN ('EMB', 'CONT')
AND b.created > util.VN_CURDATE() - INTERVAL bc.monthsAgo MONTH) AND b.created > (util.VN_CURDATE() - INTERVAL bc.monthsAgo MONTH)
GROUP BY b.itemFk GROUP BY b.itemFk
ORDER BY et.quantity DESC, quantityTotal DESC`, [entry, id, id]); ORDER BY et.quantity DESC, quantityTotal DESC`, [entry, id, id]);
}; };