|
|
@@ -525,6 +525,36 @@ public class AdminAchievementApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到合作方式", "合作方式"));
|
|
|
return res;
|
|
|
}
|
|
|
+ if (null == ia.getMaturity()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到成熟度", "成熟度"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ if (null == ia.getInnovation()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到创新度", "创新度"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ if (null == ia.getBargainingMode()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到议价方式", "议价方式"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ if (null == ia.getOwnerName()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到成果所有人", "成果所有人"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ if (null == ia.getBreakthrough()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到技术突破", "技术突破"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ if (null == ia.getPatentCase()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到专利情况", "专利情况"));
|
|
|
+ return res;
|
|
|
+ }if (null == ia.getParameter()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到技术参数", "技术参数"));
|
|
|
+ return res;
|
|
|
+ }if (null == ia.getTechnicalPictureUrl()) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到上传图片", "上传图片"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
for (int i = 0; i < keywords.length; i++) {
|
|
|
if (AFTConstants.KEYWORDLENTH < keywords[i].length()) {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "关键词长度"));
|