Antiloveg 8 years ago
parent
commit
133dfcfd0d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/user/controller/UserApiController.java

+ 1 - 1
src/main/java/com/goafanti/user/controller/UserApiController.java

@@ -671,7 +671,7 @@ public class UserApiController extends BaseApiController {
 
 		if (StringUtils.isBlank(orgHumanResource.getId())) {
 			if (null != orgHumanResourceService.selectOrgHumanResourceByUidAndYear(orgHumanResource.getYear(),
-					orgHumanResource.getUid())) {
+					TokenManager.getUserId())) {
 				res.getError().add(buildError(ErrorConstants.DUPLICATE_DATA_ERROR, "当年度人力资源情况已录入!"));
 				return res;
 			}