Merge pull request 'fix: refs #6995 restore vn.exchangeInsuranceInPrevious' (!2144) from 6995-hotFix_restoreExchangeInsuranceInPrevious into master
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
Reviewed-on: #2144 Reviewed-by: Robert Ferrús <robert@verdnatura.es>
This commit is contained in:
commit
06e4477a52
|
@ -0,0 +1,9 @@
|
|||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn`.`exchangeInsuranceInPrevious`
|
||||
AS SELECT `ei`.`finished` AS `dated`,
|
||||
`ei`.`amount` AS `amount`,
|
||||
`ei`.`rate` AS `rate`
|
||||
FROM `vn`.`exchangeInsurance` `ei`
|
||||
WHERE `ei`.`amount` <> 0
|
||||
AND `ei`.`financialProductTypefk` = 'SC'
|
Loading…
Reference in New Issue