工程拉取
This commit is contained in:
parent
a238c4bd51
commit
3fcf685f88
|
|
@ -34,7 +34,7 @@ public class ProPullTask {
|
|||
/**
|
||||
* 拉取工程数据
|
||||
*/
|
||||
@Scheduled(cron = "0 30 0 * * ?")
|
||||
@Scheduled(initialDelay = 6000, fixedDelay = 60000 * 30)
|
||||
@Async
|
||||
public void getAttTempDataTask() {
|
||||
log.info("--------实名制工程数据拉取定时器开启------");
|
||||
|
|
@ -64,7 +64,7 @@ public class ProPullTask {
|
|||
// 如果proId存在,比较并更新数据
|
||||
ProDto imgProject = imgProjectMap.get(project.getProId());
|
||||
if (!project.equals(imgProject)) {
|
||||
project.update(imgProject); // 使用来自proImgList的数据更新project对象
|
||||
imgProject.update(project);
|
||||
}else{
|
||||
// 相同的数据移出proImgList
|
||||
imgProjectMap.remove(project.getProId());
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ zhly.aq.file.suffix=woff,js,css,html,woff2,lang,map,png,jpg
|
|||
zhly.aq.file.html=login.html,index.html,pages/user/updateMyself.html,pages/user/changePassword.html
|
||||
#\u6253\u5370sql
|
||||
#mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
mybatis.configuration.mapUnderscoreToCamelCase=true
|
||||
|
||||
file.windwos.upload_path=L:/imgTool/files/
|
||||
file.linux.upload_path=L:/imgTool/files/
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
company_name = #{companyName},
|
||||
</if>
|
||||
<if test="origin != null">
|
||||
project_address = #{origin},
|
||||
origin = #{origin},
|
||||
</if>
|
||||
<if test="lon != null">
|
||||
lon = #{lon},
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
lat = #{lat},
|
||||
</if>
|
||||
<if test="status != null">
|
||||
status = #{status}
|
||||
status = #{status},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time = #{updateTime},
|
||||
|
|
|
|||
Loading…
Reference in New Issue