Преглед изворни кода

Merge branch 'master' of https://git.coding.net/aft/AFT.git

albertshaw пре 8 година
родитељ
комит
6d27b0cdb0
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
 			}