Правки от Диляры
This commit is contained in:
parent
8bfcd68cf7
commit
b53acd42fb
4 changed files with 27 additions and 4 deletions
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
|
||||
|
||||
|
||||
|
||||
<changeSet id="0001" author="saliakhov">
|
||||
<comment>edit view</comment>
|
||||
<sql>
|
||||
CREATE OR REPLACE VIEW deregistration.view_solutions
|
||||
AS SELECT solutions.solutions_id,
|
||||
solutions.count_accepted_signed + solutions.count_accepted_for_sign + solutions.count_refused AS count_accepted_all,
|
||||
COALESCE(round(solutions.count_accepted_for_sign::numeric * 100::numeric / NULLIF((solutions.count_accepted_signed + solutions.count_accepted_for_sign + solutions.count_refused)::numeric, 0::numeric)), 0::numeric) AS percent_accepted_for_sign,
|
||||
COALESCE(round(solutions.count_accepted_signed::numeric * 100::numeric / NULLIF((solutions.count_accepted_signed + solutions.count_accepted_for_sign + solutions.count_refused)::numeric, 0::numeric)), 0::numeric) AS percent_accepted_signed,
|
||||
COALESCE(round(solutions.count_refused::numeric * 100::numeric / NULLIF((solutions.count_accepted_signed + solutions.count_accepted_for_sign + solutions.count_refused)::numeric, 0::numeric)), 0::numeric) AS percent_refused
|
||||
FROM deregistration.solutions;
|
||||
</sql>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
@ -22,5 +22,6 @@
|
|||
<include file="20250314-ERVU-329.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250317-ERVU-329.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250319-ERVU-329.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250320-ERVU-329.xml" relativeToChangelogFile="true"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
@ -3189,6 +3189,7 @@
|
|||
<componentRootId>981af6d8-3fc0-432e-9e08-c95a72a2f790</componentRootId>
|
||||
<name>ВК Импорт данных о гражданах (xml)</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -4854,7 +4855,6 @@
|
|||
<componentRootId>3447ab1c-24c9-435a-9e23-1e0ab39404ab</componentRootId>
|
||||
<name>ГК второй ряд показателей</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -5300,7 +5300,7 @@
|
|||
<entry>
|
||||
<key>dataLabel</key>
|
||||
<value>
|
||||
<simple>"csv"</simple>
|
||||
<simple>"xml"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
|
|
@ -5342,7 +5342,7 @@
|
|||
<entry>
|
||||
<key>dataLabel</key>
|
||||
<value>
|
||||
<simple>"xml"</simple>
|
||||
<simple>"csv"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
|
|
@ -7652,6 +7652,7 @@
|
|||
<componentRootId>ea4d0df5-9e4f-48b2-bf91-3a72d3a90640</componentRootId>
|
||||
<name>ГК третий ряд показателей</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
|
|||
|
|
@ -18481,7 +18481,6 @@
|
|||
<componentRootId>5ea1e40a-ff10-49d7-8fc5-8eb9562050b0</componentRootId>
|
||||
<name>ГК Сформированные решения о снятии с ВУ</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue