refs #6915 test_master24_8 #2067
|
@ -12,7 +12,7 @@ BEGIN
|
||||||
DECLARE vHasSectorCollection INT;
|
DECLARE vHasSectorCollection INT;
|
||||||
|
|
||||||
SELECT COUNT(id) INTO vHasSaleGroup
|
SELECT COUNT(id) INTO vHasSaleGroup
|
||||||
FROM vn.saleGroup
|
FROM saleGroup
|
||||||
WHERE id = vSaleGroupFk;
|
WHERE id = vSaleGroupFk;
|
||||||
|
|
||||||
IF !vHasSaleGroup THEN
|
IF !vHasSaleGroup THEN
|
||||||
|
@ -20,7 +20,7 @@ BEGIN
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
SELECT COUNT(id) INTO vHasSectorCollection
|
SELECT COUNT(id) INTO vHasSectorCollection
|
||||||
FROM vn.sectorCollection
|
FROM sectorCollection
|
||||||
WHERE id = vSectorCollectionFk;
|
WHERE id = vSectorCollectionFk;
|
||||||
|
|
||||||
IF !vHasSectorCollection THEN
|
IF !vHasSectorCollection THEN
|
||||||
|
|
Loading…
Reference in New Issue