代码调整
This commit is contained in:
@@ -138,5 +138,14 @@ public class OracleToMysqlController {
|
||||
return true;// HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, "数据同步");
|
||||
}
|
||||
|
||||
@GetMapping("/LineRunFlag")
|
||||
@ApiOperation("监测点状态同步")
|
||||
public Boolean LineRunFlagSync() {
|
||||
System.out.println("--------------------------------监测点运行状态同步------------------------------------");
|
||||
oracleToMysqlService.LineRunFlag();
|
||||
System.out.println("-----------------------------------------------------------------------------------\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -56,4 +56,5 @@ public class OracleToMysqlDBJob {
|
||||
oracleToMysqlService.LineRunFlag();
|
||||
System.out.println("-----------------------------------------------------------------------------------\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user