SET @sql = CONCAT(‘select * from table’,’ where in_time < ‘,’\”,iv_end_time,’\”,’ and in_time > ‘,’\”,iv_start_time,’\”,’ order by ”批次” limit ‘,iv_page_index,’,’,iv_page_size);
‘ \’ ‘ 解析为’
‘ \” ‘ 解析为”
SET @sql = CONCAT(‘select * from table’,’ where in_time < ‘,’\”,iv_end_time,’\”,’ and in_time > ‘,’\”,iv_start_time,’\”,’ order by ”批次” limit ‘,iv_page_index,’,’,iv_page_size);
‘ \’ ‘ 解析为’
‘ \” ‘ 解析为”