fix: refs #7965 UnifyProblems
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Andrés 2025-01-09 11:52:30 +01:00
parent 638a8e344d
commit 09b4b2cf1b
1 changed files with 6 additions and 6 deletions

View File

@ -72,13 +72,13 @@ BEGIN
WHERE sp.hasComponentLack WHERE sp.hasComponentLack
GROUP BY s.ticketFk GROUP BY s.ticketFk
)SELECT tt.ticketFk, )SELECT tt.ticketFk,
FIND_IN_SET('isFreezed', t.problem) isFreezed, FIND_IN_SET('isFreezed', t.problem) > 0 isFreezed,
t.risk, t.risk,
FIND_IN_SET('hasRisk', t.problem) hasRisk, FIND_IN_SET('hasRisk', t.problem) > 0 hasRisk,
FIND_IN_SET('hasHighRisk', t.problem) hasHighRisk, FIND_IN_SET('hasHighRisk', t.problem) > 0 hasHighRisk,
FIND_IN_SET('hasTicketRequest', t.problem) hasTicketRequest, FIND_IN_SET('hasTicketRequest', t.problem) > 0 hasTicketRequest,
FIND_IN_SET('isTaxDataChecked', t.problem) isTaxDataChecked, FIND_IN_SET('isTaxDataChecked', t.problem) > 0 isTaxDataChecked,
FIND_IN_SET('isTooLittle', t.problem) FIND_IN_SET('isTooLittle', t.problem) > 0
AND util.VN_NOW() < (util.VN_CURDATE() + AND util.VN_NOW() < (util.VN_CURDATE() +
INTERVAL HOUR(zc.`hour`) HOUR) + INTERVAL HOUR(zc.`hour`) HOUR) +
INTERVAL MINUTE(zc.`hour`) MINUTE isTooLittle, INTERVAL MINUTE(zc.`hour`) MINUTE isTooLittle,