Parcourir la source

1.修改立项webservice

WoNiu il y a 4 ans
Parent
commit
5695e130fc

+ 3 - 1
src/main/java/com/galaxis/manatee/webservice/CountryEndpoint.java

@@ -67,7 +67,9 @@ public class CountryEndpoint {
 	public InvokeResponse invoke(@RequestPayload Invoke request) throws JsonProcessingException {
 		//书写调用第三方接口方法
 		log.info("开始数据同步");
-		log.info(request.getMethodName());
+		if (request.getMethodName().equals("projectApproval")){
+			chuanyunBasicDataScheduledTask.getGroupProjectManually();
+		}
 		var objectMapper=new ObjectMapper();
 		InvokeResponse invokeResponse=new InvokeResponse();
 		chuanyunHumanResourceScheduledTask.getPayrollManually();