前置命令
有些查询需要一些前置命令,如先创建临时表
ConfigStore可以设置前置命令
ConfigStore可以设置前置命令
ConfigStore configs = new DefaultConfigStore();
RunPrepare prepare = new DefaultTextPrepare("CREATE TEMPORARY TABLE TMP_TAB AS SELECT * FROM crm_user");
configs.prepare(prepare);
service.selects("TMP_TAB", configs );