@@ -90,9 +90,8 @@ public class ScheduledTaskServiceImpl implements ScheduledTaskService {
public R mysqlPartitionCreate() {
LocalDate now = LocalDate.now();
int currentYear = now.getYear();
-
- return null;
+ commonBusinessDao.mysqlPartitionCreate("p_"+currentYear,currentYear+1);
+ return R.ok();
}
public List<SwInspectionRouteDo> getRouteList(String weekValue, String monthValue, int dayOfMonth, int currentMontLastDay) {