liupeng 4 years ago
parent
commit
e71473142a

+ 1 - 1
code/sapparent/sapservice/src/main/java/org/fouram/service/SapEmpEmploymentTerminationService.java

@@ -15,7 +15,7 @@ import com.fasterxml.jackson.databind.JsonNode;
 import com.google.common.collect.Maps;
 
 @Service
-public class SapEmpEmploymentTerminationService extends BaseService {
+public class SapEmpTerminationService extends BaseService {
 
 	@Autowired
 	private RequestService requestService;

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

@@ -84,9 +84,9 @@ public class SapUserService extends BaseService {
 	@Autowired
 	private SapPerGlobalInfoCHNService globalInfoCHNService;
 	@Autowired
-	private SapPerPersonRelationshipService relationshipService;
+	private SapEmpTerminationService sapEmpTerminationService;
 	@Autowired
-	private SapEmpEmploymentTerminationService sapEmpEmploymentTerminationService;
+	private SapPerPersonRelationshipService relationshipService;
 
 	public void saveOrUpdateSapUsers() throws Exception {
 		HttpHeaders headers = getHttpHeaders();
@@ -128,7 +128,7 @@ public class SapUserService extends BaseService {
 		// PerNationalId->userId/cardType
 		sapPerNationalIdService.setCardInfo(sapUsers);
 		// EmpEmploymentTermination->endDate
-		sapEmpEmploymentTerminationService.setEndDate(sapUsers);
+		sapEmpTerminationService.setEndDate(sapUsers);
 		// 更新用户
 		SapUser sapUserDb = null;
 		SapUser sapUser = null;