|
@@ -238,8 +238,9 @@ public class AdminApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "资料完成状态"));
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "资料完成状态"));
|
|
|
return res;
|
|
return res;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- if (StringUtils.isBlank(id)) {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ OrgCognizanceProportion oo = orgCognizanceProportionService.selectByUid(uid);
|
|
|
|
|
+ if (null == oo && StringUtils.isBlank(id)) {
|
|
|
OrgCognizanceProportion cp = new OrgCognizanceProportion();
|
|
OrgCognizanceProportion cp = new OrgCognizanceProportion();
|
|
|
cp.setId(UUID.randomUUID().toString());
|
|
cp.setId(UUID.randomUUID().toString());
|
|
|
cp.setUid(uid);
|
|
cp.setUid(uid);
|