提交 dd47b64c 编写于 作者: H Haojun Liao

[TD-225]fix error in sim script.

上级 2b126c41
...@@ -852,11 +852,11 @@ if $rows != 0 then ...@@ -852,11 +852,11 @@ if $rows != 0 then
endi endi
sql select interp(c1) from intp_tb0 where ts>'2018-11-25 18:09:00' and ts<'2018-11-25 19:20:12' interval(18m); sql select interp(c1) from intp_tb0 where ts>'2018-11-25 18:09:00' and ts<'2018-11-25 19:20:12' interval(18m);
if $rows != 0 then if $rows != 1 then
return -1 return -1
endi endi
if $data00 != @2018-11-25 18:30:00.000@ then if $data00 != @18-11-25 18:30:00.000@ then
return -1 return -1
endi endi
...@@ -869,7 +869,7 @@ if $rows != 5 then ...@@ -869,7 +869,7 @@ if $rows != 5 then
return -1 return -1
endi endi
if $data00 != @2018-11-25 17:54:00.000@ then if $data00 != @18-11-25 17:54:00.000@ then
return -1 return -1
endi endi
...@@ -885,11 +885,11 @@ if $data03 != 0.000000000 then ...@@ -885,11 +885,11 @@ if $data03 != 0.000000000 then
return -1 return -1
endi endi
if $data04 != @2018-11-25 17:54:00.000@ then if $data04 != @18-11-25 17:54:00.000@ then
return -1 return -1
endi endi
if $data10 != @2018-11-25 18:12:00.000@ then if $data10 != @18-11-25 18:12:00.000@ then
return -1 return -1
endi endi
...@@ -905,11 +905,11 @@ if $data13 != 1.200000000 then ...@@ -905,11 +905,11 @@ if $data13 != 1.200000000 then
return -1 return -1
endi endi
if $data14 != @2018-11-25 18:12:00.000@ then if $data14 != @18-11-25 18:12:00.000@ then
return -1 return -1
endi endi
if $data40 != @2018-11-25 19:06:00.000@ then if $data40 != @18-11-25 19:06:00.000@ then
return -1 return -1
endi endi
...@@ -925,6 +925,6 @@ if $data43 != 6.600000000 then ...@@ -925,6 +925,6 @@ if $data43 != 6.600000000 then
return -1 return -1
endi endi
if $data44 != @2018-11-25 19:06:00.000@ then if $data44 != @18-11-25 19:06:00.000@ then
return -1 return -1
endi endi
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册