We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create 2 view to retrieve all the alerts that are enabled and ready to be send my email:
Views will be use by: Renovus-Tech/solarec-java#45
The text was updated successfully, but these errors were encountered:
Flags taken according to definition in: Renovus-Tech/solarec-java#45
CREATE VIEW vw_cli_gen_alert_to_send_by_email AS select cga.*, g.loc_id, g.gen_name, g.gen_code, l.loc_name, l.loc_code, c.cli_name from client c join location l on c.cli_id_auto = l.cli_id join generator g on g.cli_id = l.cli_id and g.loc_id = l.loc_id_auto join cli_gen_alert cga on l.cli_id = cga.cli_id and g.gen_id_auto = cga.gen_id where c.cli_flags ilike '__1%' and g.gen_flags ilike '_1%' and cga.cli_gen_alert_flags ilike '_0%';-- CREATE VIEW vw_cli_loc_alert_to_send_by_email AS select cla.*, l.loc_name, l.loc_code, c.cli_name from client c join location l on c.cli_id_auto = l.cli_id join cli_loc_alert cla on l.cli_id = cla.cli_id and l.loc_id_auto = cla.loc_id where c.cli_flags ilike '__1%' and l.loc_flags ilike '_1%' and cla.cli_loc_alert_flags ilike '_0%';--
Sorry, something went wrong.
Added SG and alerts views
2713468
Closes #14 #15
pferrariuy
No branches or pull requests
Feature Request
Description
Create 2 view to retrieve all the alerts that are enabled and ready to be send my email:
Use Case
Views will be use by: Renovus-Tech/solarec-java#45
Expected Behavior
The text was updated successfully, but these errors were encountered: