Browse Source

新增模型1:案件警情疑似未及时受理案件2

main
sjh 1 year ago
parent
commit
d4860b8de7
  1. 2
      src/main/java/com/biutag/supervision/job/Job.java
  2. 2
      src/main/java/com/biutag/supervision/mapper/ModelClueDataMapper.java
  3. 2
      src/main/java/com/biutag/supervision/service/BusinessDepartService.java

2
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);
}
}

2
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<ModelClue> {
@Select("${sql}")

2
src/main/java/com/biutag/supervision/service/BusinessDepartService.java

@ -59,7 +59,7 @@ public class BusinessDepartService extends ServiceImpl<BusinessDepartMapper, Bus
// generate(happenTime);
// }
if (businessQueryParam.getDepartName() != null && businessQueryParam.getDepartName().equals("运行测试")) {
modelClueService.generate(7);
modelClueService.generate(1);
System.out.println("执行完毕");
return null;
}

Loading…
Cancel
Save