diff --git a/v1/resources/timeseries.cfc b/v1/resources/timeseries.cfc index 44345a6..5b33960 100644 --- a/v1/resources/timeseries.cfc +++ b/v1/resources/timeseries.cfc @@ -7,7 +7,7 @@ } /> @@ -27,7 +27,7 @@ - + @@ -36,12 +36,11 @@ - - + + + - - @@ -52,52 +51,32 @@ - - + - + select - b.rating_uid::text as rating_uid - b.rating - b.descr - b.url - b.icon_url - b.contragent_id - b.sort - b.is_enabled - - to_char(b.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created - to_char(b.dt_updated, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_updated + to_char(o.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as t + 1.23 as v - from rating b - /*left outer join contragent k on (b.contragent_id=k.contragent_id)*/ - where 1=1 + from instance_operation o + + - limit #maxrows# + limit #maxrows# ---> - - - - - select count(*) as cnt - from rating b - /*left outer join contragent k on (b.contragent_id=k.contragent_id)*/ - where 1=1 - AND (b.contragent_id = ) - - - - - - + + + + + @@ -107,9 +86,9 @@ - + - + @@ -120,55 +99,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - insert into rating ( - rating_uid,contragent_id, rating,url,icon_url,descr,sort,is_enabled,dt_created,creator_id - ) values ( - - , - , - , - , - , - , - , - , - , - ); - - - - - - - - - function plain2htm(s) {