093 match diags

This commit is contained in:
2026-10-19 22:26:33 +03:00
parent b95fdb3869
commit 7d13814797
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -89,7 +89,7 @@
<!--- global settings ---> <!--- global settings --->
<!--- *************************************************************************************************** ---> <!--- *************************************************************************************************** --->
<cfset request.APP_VERSION="0.00.092"/> <!--- *********************************************************** ---> <cfset request.APP_VERSION="0.00.093"/> <!--- *********************************************************** --->
<!--- *************************************************************************************************** ---> <!--- *************************************************************************************************** --->
<cfset request.STAND=getStand()/> <cfset request.STAND=getStand()/>
<cfset request.RECORDS_PER_PAGE=500/> <cfset request.RECORDS_PER_PAGE=500/>
+4 -4
View File
@@ -530,9 +530,9 @@ FULL JOIN, потому что нам нужны бесхозные записи
<cfquery name="qCharge" datasource="inmem"> <cfquery name="qCharge" datasource="inmem">
/*EXPLAIN PLAN FOR*/ /*EXPLAIN PLAN FOR*/
WITH WITH
metric as (select count(*) as cnt, wz, code, max(dimension1) as dimension1, max(unit) as unit, max(raw_metric) as raw_metric, max(metric) as metric metric as (select count(*) as cnt, wz, code, dimension1, max(unit) as unit, max(raw_metric) as raw_metric, max(metric) as metric
from qUnifiedMetric from qUnifiedMetric
group by wz,code group by wz,code, dimension1
), ),
spec as (select count(*) as cnt, wz, sku_code, spec as (select count(*) as cnt, wz, sku_code,
max(end_customer_wz) as wze, max(end_customer_wz) as wze,
@@ -560,7 +560,7 @@ WITH
max(user_description) as user_description, max(user_description) as user_description,
max(CASE type WHEN 1 THEN 'install' WHEN 2 THEN 'fix' WHEN 3 THEN 'payg' ELSE NULL END) as pricing_model max(CASE type WHEN 1 THEN 'install' WHEN 2 THEN 'fix' WHEN 3 THEN 'payg' ELSE NULL END) as pricing_model
from qSpec from qSpec
group by wz, sku_code group by wz, sku_code
) )
SELECT SELECT
@@ -713,7 +713,7 @@ S3 операции и трафик: <b<cfif datediff("h",qS3OpsTrfAge.dt_load,
<table class="worktable"> <table class="worktable">
<thead> <thead>
<td width="1%"></td> <td width="1%"></td>
<th width="3%"></th> <th width="3%">Match</th>
<th width="7%">Услуга</th> <th width="7%">Услуга</th>
<th width="7%">Артикул специф.</th> <th width="7%">Артикул специф.</th>
<th width="5%">Кол-во специф.</th> <th width="5%">Кол-во специф.</th>