diff --git a/src/main/java/com/biutag/supervision/job/Job.java b/src/main/java/com/biutag/supervision/job/Job.java index 20d8558..f4a8816 100644 --- a/src/main/java/com/biutag/supervision/job/Job.java +++ b/src/main/java/com/biutag/supervision/job/Job.java @@ -93,6 +93,6 @@ public class Job { // @Scheduled(cron = "0 0 5 * * ?") public void executeModel() { - modelClueService.generate(7); + modelClueService.generate(1); } } diff --git a/src/main/java/com/biutag/supervision/mapper/ModelClueDataMapper.java b/src/main/java/com/biutag/supervision/mapper/ModelClueDataMapper.java index 16adac3..375a655 100644 --- a/src/main/java/com/biutag/supervision/mapper/ModelClueDataMapper.java +++ b/src/main/java/com/biutag/supervision/mapper/ModelClueDataMapper.java @@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Select; import java.util.List; import java.util.Map; -@DS("slave") +@DS("slave2") public interface ModelClueDataMapper extends BaseMapper { @Select("${sql}") diff --git a/src/main/java/com/biutag/supervision/service/BusinessDepartService.java b/src/main/java/com/biutag/supervision/service/BusinessDepartService.java index edab6d1..90ee27a 100644 --- a/src/main/java/com/biutag/supervision/service/BusinessDepartService.java +++ b/src/main/java/com/biutag/supervision/service/BusinessDepartService.java @@ -59,7 +59,7 @@ public class BusinessDepartService extends ServiceImpl