albertshaw лет назад: 8
Родитель
Сommit
5f89fd13c3

+ 7 - 8
src/main/java/com/goafanti/patent/service/impl/PatentInfoServiceImpl.java

@@ -198,7 +198,7 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
 			params.put("office", office);
 		}
 
-		if (locationProvince != null ) {
+		if (locationProvince != null) {
 			params.put("locationProvince", locationProvince);
 		}
 
@@ -247,7 +247,7 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
 			params.put("principal", TokenManager.getAdminId());
 		}
 
-		if (locationProvince != null ) {
+		if (locationProvince != null) {
 			params.put("locationProvince", locationProvince);
 		}
 
@@ -255,7 +255,7 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
 			pageNo = 1;
 		}
 
-		if (pageSize == null || pageSize < 0 ) {
+		if (pageSize == null || pageSize < 0) {
 			pageSize = 10;
 		}
 		return (Pagination<PatentPendingBo>) findPage("findManagePendingPaymentListByPage",
@@ -289,7 +289,7 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
 			params.put("office", office);
 		}
 
-		if (locationProvince != null ) {
+		if (locationProvince != null) {
 			params.put("locationProvince", locationProvince);
 		}
 
@@ -435,6 +435,8 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
 						break;
 					}
 					o.setCatagory(i);
+					o.setAuthorizationDate(p.getAuthorizedDate());
+					o.setPropertyRightUrl(p.getPatentCertificateUrl());
 					orgIntellectualPropertyMapper.updateByPrimaryKeySelective(o);
 				}
 			}
@@ -610,7 +612,7 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
 		patentCostMapper.batchInsert(pc);
 		patentLogMapper.batchInsert(pl);
 	}
-	
+
 	@Override
 	public List<PatentAnnualFeeTaskBo> findAnnualFeeTaskBo() {
 		return patentInfoMapper.findAnnualFeeTaskBo();
@@ -640,7 +642,4 @@ public class PatentInfoServiceImpl extends BaseMybatisDao<PatentInfoMapper> impl
 		noticeMapper.insert(n);
 	}
 
-	
-
-
 }