|
@@ -1,7 +1,10 @@
|
1
|
1
|
package com.huiju.estateagents.job;
|
2
|
2
|
|
3
|
3
|
import com.huiju.estateagents.base.BaseController;
|
|
4
|
+import com.huiju.estateagents.center.sysUser.controller.SysUserController;
|
4
|
5
|
import com.huiju.estateagents.service.*;
|
|
6
|
+import org.slf4j.Logger;
|
|
7
|
+import org.slf4j.LoggerFactory;
|
5
|
8
|
import org.springframework.beans.factory.annotation.Autowired;
|
6
|
9
|
import org.springframework.context.annotation.Configuration;
|
7
|
10
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
@@ -19,6 +22,8 @@ import org.springframework.stereotype.Component;
|
19
|
22
|
@EnableScheduling
|
20
|
23
|
public class JudglActivityTimeJob extends BaseController {
|
21
|
24
|
|
|
25
|
+ private final Logger logger = LoggerFactory.getLogger(JudglActivityTimeJob.class);
|
|
26
|
+
|
22
|
27
|
@Autowired
|
23
|
28
|
private ITaBuildingDynamicService iTaBuildingDynamicService;
|
24
|
29
|
|
|
@@ -47,7 +52,8 @@ public class JudglActivityTimeJob extends BaseController {
|
47
|
52
|
private void configureTasks() {
|
48
|
53
|
|
49
|
54
|
//未开始活动更新为已开始
|
50
|
|
- iTaBuildingDynamicService.updateUnStartActivity();
|
|
55
|
+ Integer count = iTaBuildingDynamicService.updateUnStartActivity();
|
|
56
|
+ logger.debug("JudglActivityTimeJob",count);
|
51
|
57
|
//进行中活动更新为已结束
|
52
|
58
|
iTaBuildingDynamicService.updateProcessingActivity();
|
53
|
59
|
|