liupeng 5 vuotta sitten
vanhempi
commit
c64a9f4b08

+ 3 - 0
code/sapparent/sapservice/src/main/java/org/fouram/service/SapUserService.java

@@ -161,6 +161,9 @@ public class SapUserService extends BaseService {
 		} else if (Tools.isEmpty(sapUser.getFirstOrgName())) {
 			return "一级组织为空";
 		}
+		if(ConfConfig.getConfigString("ingorePersonIds").contains(sapUser.getPersonId())) {
+			return "忽略数据(兼职用户)";
+		}
 		return null;
 	}
 

+ 16 - 14
code/sapparent/sapservice/src/main/resources/env/develop/config.properties

@@ -1,14 +1,16 @@
-#fouram
-wxCp.corpId = ww51602aeb8dab7a95
-wxCp.corpSecret = 0i1jzYxLcriGTXhoatAGYaCFUXshfASbavRScZQxVmI
-#test
-#wxCp.corpId = ww3fa314d9782219c7
-#wxCp.corpSecret = 80lhnjKd6hKNp1tNkRsN9i0wOtrSZ7Sg_apJDNa1RDQ
-#prod
-#wxCp.corpId = ww911e29458d3a46fd
-#wxCp.corpSecret = amUNgH2lo-szEYkLmClZN2jMYcDu0NnXIAtWfW729P4
-
-#test
-sapApi.user = APIADMIN@cmccoltdD:123456
-#prod
-#sapApi.user = API01@cmccoltd:cmccoltd123
+#fouram
+wxCp.corpId = ww51602aeb8dab7a95
+wxCp.corpSecret = 0i1jzYxLcriGTXhoatAGYaCFUXshfASbavRScZQxVmI
+#test
+#wxCp.corpId = ww3fa314d9782219c7
+#wxCp.corpSecret = 80lhnjKd6hKNp1tNkRsN9i0wOtrSZ7Sg_apJDNa1RDQ
+#prod
+#wxCp.corpId = ww911e29458d3a46fd
+#wxCp.corpSecret = amUNgH2lo-szEYkLmClZN2jMYcDu0NnXIAtWfW729P4
+
+#test
+#sapApi.user = APIADMIN@cmccoltdD:123456
+#prod
+sapApi.user = API01@cmccoltd:cmccoltd123
+
+ingorePersonIds = 400023,400024