SQL配置解读<br>create table hdc_ods.time_tmp_table as select * from table(out_time_funtion(date'2021-01-01',date'2021-05-31',2,'yyyy-mm-dd'));selecta.start_time,a.end_time from hdc_ods.time_tmp_table a<br>
create table hdc_ods.time_tmp_table as select * from table(out_time_funtion(date'2021-01-01',date'2021-05-31',2,'yyyy-mm-dd'));<br>创建临时的时间数据表,关联主表进行数据展示,time_tmp_table名称为固定占位 执行时会进行名称替换,不需要考虑是否会存在数据不一致问题
selecta.start_time,a.end_time from hdc_ods.time_tmp_table a
请求体配置
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><br> <soapenv:Header/><br> <soapenv:Body><br> <GetPatient><br> <!--Optional:开始时间--><br> <StartTime>${start_time}</StartTime><br> <!--Optional:结束时间--><br> <EndTime>${end_time}</EndTime><br> </GetPatient><br> </soapenv:Body><br></soapenv:Envelope>