|
|
@@ -367,6 +367,13 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
|
|
|
|
|
|
@Override
|
|
|
public void updatePatentInfo(PatentInfo p, PatentLog log, Date recordTime) {
|
|
|
+
|
|
|
+ if (!StringUtils.isBlank(p.getPatentProryStatementUrl())) {
|
|
|
+ OrganizationIdentity oi = organizationIdentityMapper.selectOrgIdentityByUserId(p.getUid());
|
|
|
+ oi.setPatentProryStatementUrl(p.getPatentProryStatementUrl());
|
|
|
+ organizationIdentityMapper.updateByPrimaryKeySelective(oi);
|
|
|
+ }
|
|
|
+
|
|
|
if (null != log.getState() && recordTime != null && null != log.getPrincipal()) {
|
|
|
log.setId(UUID.randomUUID().toString());
|
|
|
log.setPid(p.getId());
|