|
@@ -86,6 +86,12 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
@Autowired
|
|
|
private SystemDictMapper systemDictMapper;
|
|
|
|
|
|
+ /**
|
|
|
+ * 专利列表上新增发明人/权利人/申请人合并
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Throwable.class)
|
|
|
public Integer mergePerson(MergePersonVO vo) throws Exception {
|
|
|
Integer type = vo.getType();
|
|
@@ -305,6 +311,12 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 专利列表上再次新增发明人/权利人/申请人合并
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Throwable.class)
|
|
|
public Integer mergePersonAgain(MergePersonAgainVO vo) throws Exception {
|
|
|
List<String> mergedNames = vo.getNeedMergedName();
|
|
@@ -343,6 +355,12 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
return this.mergePerson(personVO);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 专利列表上编辑发明人/权利人/申请人合并
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Throwable.class)
|
|
|
public Integer updateMergePerson(MergePersonVO vo) throws Exception {
|
|
|
//获取登陆人信息 用于设置创建人
|
|
@@ -448,6 +466,11 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
return person.getId();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 发明人/权利人/申请人合并列表查询
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
public Records selectMergePersonList(MergePersonQueryVO vo) {
|
|
|
List<MergePersonQueryDTO> list = new ArrayList<>();
|
|
|
IPage<MergePerson> page = new Page<>(vo.getPageNum(), vo.getPageSize());
|
|
@@ -481,6 +504,11 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
return records;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 合并人员详情
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
public MergePersonQueryDTO selectMergePersonDetail(MergePersonIdVO vo) {
|
|
|
MergePersonQueryDTO dto = new MergePersonQueryDTO();
|
|
|
MergePerson person = mergePersonMapper.selectById(vo.getId());
|
|
@@ -492,6 +520,12 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
return dto;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取所有发明人/权利人/申请人
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
public Records getMergePerson(GetAllPersonVO vo) throws Exception {
|
|
|
Integer projectId = vo.getProjectId();
|
|
|
Long pageNum = vo.getPageNum();
|
|
@@ -739,6 +773,12 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
return records;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 发明人/权利人/申请人合并后的名称移除
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Throwable.class)
|
|
|
public Integer delMergedName(MergedNameVO vo) throws Exception {
|
|
|
Integer type = vo.getType();
|
|
@@ -948,6 +988,12 @@ public class MergePersonService extends ServiceImpl<MergePersonMapper, MergePers
|
|
|
return mergePerson.getId();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 发明人/权利人/申请人合并记录删除
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Throwable.class)
|
|
|
public Integer delMergePerson(MergePersonIdVO vo) throws Exception {
|
|
|
Integer type = vo.getType();
|