|
|
@@ -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;
|
|
|
}
|