|
|
@@ -2178,14 +2178,16 @@ public class CognizanceApiController extends CertifyApiController {
|
|
|
return res;
|
|
|
}
|
|
|
|
|
|
- if (!checkUserLogin(res)) {
|
|
|
- return res;
|
|
|
- }
|
|
|
|
|
|
User curUser = TokenManager.getUserToken();
|
|
|
if (!checkCertify(res, curUser)) {
|
|
|
return res;
|
|
|
}
|
|
|
+
|
|
|
+ if (StringUtils.isBlank(orgTechCenterDetail.getCid())) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.STATUS_ERROR, "研发部门相关信息未保存,无法保存!"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
|
|
|
if (!StringUtils.isBlank(projectTimeFormattedDate)) {
|
|
|
try {
|