|
|
@@ -637,12 +637,10 @@ public class AppUserController extends CertifyApiController {
|
|
|
AchievementFields.getFieldDesc(bindingResult.getFieldError().getField())));
|
|
|
return res;
|
|
|
}
|
|
|
-
|
|
|
if (StringUtils.isBlank(ia.getId())) {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到成果ID", "成果ID"));
|
|
|
return res;
|
|
|
}
|
|
|
-
|
|
|
/*if (!AchievementAuditStatus.CREATE.getCode().equals(ia.getAuditStatus())
|
|
|
&& !AchievementAuditStatus.SUBMIT.getCode().equals(ia.getAuditStatus())
|
|
|
&& !AchievementAuditStatus.UNAUDITED.getCode().equals(ia.getAuditStatus())) {
|
|
|
@@ -674,7 +672,6 @@ public class AppUserController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到成果名称", "成果名称"));
|
|
|
return res;
|
|
|
}
|
|
|
-
|
|
|
if (null == ia.getCategory()) {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到数据类别", "数据类别"));
|
|
|
return res;
|