提交 2d9d7f46 authored 作者: 000516's avatar 000516

逆地址解析,分批查询

上级 20226086
......@@ -74,32 +74,32 @@
<select id="selectBaseLO" resultMap="LsDisStoreBase">
select lds_if,lng
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 250000
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 250000 limit 1000;
</select>
<select id="selectBaseLT" resultMap="LsDisStoreBase">
select lds_if,lng
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 500000
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 500000 limit 1000;
</select>
<select id="selectBaseLS" resultMap="LsDisStoreBase">
select lds_if,lng
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 750000
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 750000 limit 1000;
</select>
<select id="selectBaseLF" resultMap="LsDisStoreBase">
select lds_if,lng
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 1000000
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 1000000 limit 1000;
</select>
<select id="selectBaseLV" resultMap="LsDisStoreBase">
select lds_if,lng
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 1250000
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 1250000 limit 1000;
</select>
<select id="selectBaseLX" resultMap="LsDisStoreBase">
select lds_if,lng
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 1537130
from ls_dis_store where lng is not null and lds_if &gt; #{lastId} and lds_if &lt;= 1537130 limit 1000;
</select>
<update id="updateListNO" parameterType="java.util.List">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论