Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-module-job
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-module-job
Commits
c24bd78d
提交
c24bd78d
authored
12月 02, 2025
作者:
000516
浏览文件
操作
浏览文件
下载
差异文件
乐事MT&TT,逆地理编码
上级
353cd6ac
a2f28704
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
20 行增加
和
20 行删除
+20
-20
LsDisStoreDaoImpl.java
src/main/java/com/sfa/job/domain/ls/LsDisStoreDaoImpl.java
+0
-0
TestTask.java
src/main/java/com/sfa/job/xxljob/test/TestTask.java
+10
-10
LsDisStoreMapper.xml
src/main/resources/mapper/job/LsDisStoreMapper.xml
+10
-10
没有找到文件。
src/main/java/com/sfa/job/domain/ls/LsDisStoreDaoImpl.java
浏览文件 @
c24bd78d
差异被折叠。
点击展开。
src/main/java/com/sfa/job/xxljob/test/TestTask.java
浏览文件 @
c24bd78d
...
...
@@ -25,13 +25,13 @@ public class TestTask {
@XxlJob
(
"ls_store_guangzhou"
)
public
void
lsStoreGuangzhou
()
{
lsDisStoreDaoImpl
.
baiduAddressGuangzhou
(
50
0000L
);
lsDisStoreDaoImpl
.
baiduAddressGuangzhou
(
4
0000L
);
}
@XxlJob
(
"ls_store_ahsp"
)
public
void
lsStoreAnHuisp
()
{
lsDisStoreDaoImpl
.
baiduAddressAnHuisp
(
100
0000L
);
lsDisStoreDaoImpl
.
baiduAddressAnHuisp
(
8
0000L
);
}
/**
...
...
@@ -43,26 +43,26 @@ public class TestTask {
}
@XxlJob
(
"ls_store_n_xy"
)
public
void
lsStoreNXY
()
{
lsDisStoreDaoImpl
.
lsStoreNXY
(
2
5
0000L
);
lsDisStoreDaoImpl
.
lsStoreNXY
(
20000L
);
}
@XxlJob
(
"ls_store_n_gh"
)
public
void
lsStoreNGH
()
{
lsDisStoreDaoImpl
.
lsStoreNGH
(
50
0000L
);
lsDisStoreDaoImpl
.
lsStoreNGH
(
4
0000L
);
}
@XxlJob
(
"ls_store_n_hs"
)
public
void
lsStoreNHS
()
{
lsDisStoreDaoImpl
.
lsStoreNHS
(
75
0000L
);
lsDisStoreDaoImpl
.
lsStoreNHS
(
6
0000L
);
}
@XxlJob
(
"ls_store_n_dx"
)
public
void
lsStoreNDX
()
{
lsDisStoreDaoImpl
.
lsStoreNDX
(
100
0000L
);
lsDisStoreDaoImpl
.
lsStoreNDX
(
8
0000L
);
}
@XxlJob
(
"ls_store_n_ql"
)
public
void
lsStoreNQL
()
{
lsDisStoreDaoImpl
.
lsStoreNQL
(
125
0000L
);
}
//
@XxlJob("ls_store_n_ql")
//
public void lsStoreNQL() {
// lsDisStoreDaoImpl.lsStoreNQL(12
0000L);
//
}
}
src/main/resources/mapper/job/LsDisStoreMapper.xml
浏览文件 @
c24bd78d
...
...
@@ -32,7 +32,7 @@
<!-- 修改 limit 数量-->
<select
id=
"selectBaseO"
resultMap=
"LsDisStoreBase"
>
select lds_if,re_province,re_city,outlet_address,outlet_name
from ls_dis_store where lds_if
>
#{lastId} and lds_if
<
=
500000 and re_area is null and lng is null
limit 1000;
from ls_dis_store where lds_if
>
#{lastId} and lds_if
<
=
40000 and lng is null
limit 1000;
</select>
...
...
@@ -45,7 +45,7 @@
<select
id=
"selectBaseT"
resultMap=
"LsDisStoreBase"
>
select lds_if,re_province,re_city,outlet_address,outlet_name
from ls_dis_store where lds_if
>
#{lastId} and lds_if
<
=
1000000 and re_area is null
and lng is null limit 1000;
from ls_dis_store where lds_if
>
#{lastId} and lds_if
<
=
80000
and lng is null limit 1000;
</select>
...
...
@@ -59,7 +59,7 @@
<select
id=
"selectBaseS"
resultMap=
"LsDisStoreBase"
>
select lds_if,re_province,re_city,outlet_address,outlet_name
from ls_dis_store where lds_if
>
#{lastId} and lds_if
<
= 1
537130 and re_area is null
and lng is null limit 1000;
from ls_dis_store where lds_if
>
#{lastId} and lds_if
<
= 1
20000
and lng is null limit 1000;
</select>
...
...
@@ -74,37 +74,37 @@
<select
id=
"selectBaseLO"
resultMap=
"LsDisStoreBase"
>
select lds_if,lng
from ls_dis_store where lng is not null and re_
area is null
limit 1000;
from ls_dis_store where lng is not null and re_
city is null and lds_if
>
#{lastId} and lds_if
<
= 20000
limit 1000;
</select>
<select
id=
"selectBaseLT"
resultMap=
"LsDisStoreBase"
>
select lds_if,lng
from ls_dis_store where lng is not null and re_
area is null and lds_if
>
#{lastId} and lds_if
<
= 50
0000 limit 1000;
from ls_dis_store where lng is not null and re_
city is null and lds_if
>
#{lastId} and lds_if
<
= 4
0000 limit 1000;
</select>
<select
id=
"selectBaseLS"
resultMap=
"LsDisStoreBase"
>
select lds_if,lng
from ls_dis_store where lng is not null and re_
area is null and lds_if
>
#{lastId} and lds_if
<
= 75
0000 limit 1000;
from ls_dis_store where lng is not null and re_
city is null and lds_if
>
#{lastId} and lds_if
<
= 6
0000 limit 1000;
</select>
<select
id=
"selectBaseLF"
resultMap=
"LsDisStoreBase"
>
select lds_if,lng
from ls_dis_store where lng is not null and re_
area is null and lds_if
>
#{lastId} and lds_if
<
= 100
0000 limit 1000;
from ls_dis_store where lng is not null and re_
city is null and lds_if
>
#{lastId} and lds_if
<
= 8
0000 limit 1000;
</select>
<select
id=
"selectBaseLV"
resultMap=
"LsDisStoreBase"
>
select lds_if,lng
from ls_dis_store where lng is not null and re_
area is null and lds_if
>
#{lastId} and lds_if
<
= 125
0000 limit 1000;
from ls_dis_store where lng is not null and re_
city is null and lds_if
>
#{lastId} and lds_if
<
= 12
0000 limit 1000;
</select>
<select
id=
"selectBaseLX"
resultMap=
"LsDisStoreBase"
>
select lds_if,lng
from ls_dis_store where lng is not null and re_
area
is null and lds_if
>
#{lastId} and lds_if
<
= 1537130 limit 1000;
from ls_dis_store where lng is not null and re_
city
is null and lds_if
>
#{lastId} and lds_if
<
= 1537130 limit 1000;
</select>
<update
id=
"updateListNO"
parameterType=
"java.util.List"
>
<foreach
collection=
"lsDisStores"
item=
"item"
separator=
";"
>
update ls_dis_store set re_address = #{item.reAddress},re_area = #{item.reArea} where lds_if = #{item.ldsIf}
update ls_dis_store set re_address = #{item.reAddress},re_area = #{item.reArea}
,re_province = #{item.reProvince},re_city = #{item.reCity}
where lds_if = #{item.ldsIf}
</foreach>
</update>
</mapper>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论