|
|
@@ -12,14 +12,40 @@ import org.springframework.stereotype.Component;
|
|
|
* @author siwei-zhx
|
|
|
*/
|
|
|
@Component("zrzysiteTask")
|
|
|
-public class ZrzysiteTask
|
|
|
-{
|
|
|
+public class ZrzysiteTask {
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
private RemoteZrzysiteService remoteZrzysiteService;
|
|
|
|
|
|
|
|
|
+ public void runConstructTask(String params) {
|
|
|
+ remoteZrzysiteService.runConstructScheduled("工程规划许可定时任务开始-start:",SecurityConstants.INNER);
|
|
|
+ System.out.println("工程规划许可定时任务开始:" + params);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public void runLandTask(String params) {
|
|
|
+ remoteZrzysiteService.runLandScheduled("用地规划许可定时任务开始-start:",SecurityConstants.INNER);
|
|
|
+ System.out.println("用地规划许可定时任务开始:" + params);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ public void runGhhsTask(String params) {
|
|
|
+ remoteZrzysiteService.runGhhsScheduled("土地核验与规划核实定时任务开始-start:",SecurityConstants.INNER);
|
|
|
+ System.out.println("土地核验与规划核实定时任务开始:" + params);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ public void runOnchainTask(String params) {
|
|
|
+ remoteZrzysiteService.runOnchainScheduled(SecurityConstants.INNER);
|
|
|
+ System.out.println("执行有参方法(上链检查):" + params);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
public void ryMultipleParams(String s, Boolean b, Long l, Double d, Integer i)
|
|
|
{
|
|
|
@@ -28,7 +54,6 @@ public class ZrzysiteTask
|
|
|
|
|
|
public void ryParams(String params)
|
|
|
{
|
|
|
- remoteZrzysiteService.runOnchainScheduled(SecurityConstants.INNER);
|
|
|
System.out.println("执行有参方法:" + params);
|
|
|
}
|
|
|
|