7013-solunionRiskRequest #2190

Merged
jgallego merged 8 commits from 7013-solunionRiskRequest into dev 2024-03-28 08:01:29 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 4b41ac68aa - Show all commits

View File

@ -2,8 +2,8 @@ DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`creditInsurance_getRisk`()
BEGIN
/**
jgallego marked this conversation as resolved Outdated

Comentarios sin tabular

Comentarios sin tabular

fet

fet
* Devuelve el riesgo de los clientes que estan asegurados
*/
* Devuelve el riesgo de los clientes que estan asegurados
jgallego marked this conversation as resolved Outdated

Falta un espacio al principio de comentario

Falta un espacio al principio de comentario
*/
CREATE OR REPLACE TEMPORARY TABLE tmp.client_list
(PRIMARY KEY (Id_Cliente))
ENGINE = MEMORY
@ -23,8 +23,8 @@ BEGIN
c.name,
c.credit clientCredit,
c.creditInsurance solunion,
cast(r.risk as DECIMAL(10,0)) risk,
cast(c.creditInsurance - r.risk as decimal(10,0)) riskAlive,
CAST(r.risk AS DECIMAL(10,0)) risk,
jgallego marked this conversation as resolved Outdated

Funciones en mayúsculas

Funciones en mayúsculas
CAST(c.creditInsurance - r.risk AS DECIMAL(10,0)) riskAlive,
cac.invoiced billedAnnually,
c.dueDay,
ci.grade,