|
@@ -112,8 +112,7 @@ public class TechnicalCaseService extends ServiceImpl<TechnicalCaseMapper, Techn
|
|
|
|
|
|
//保存es
|
|
|
EditInventionPointVO pointVO = this.selectTechnicalCasePatent(technicalCase.getProjectId());
|
|
|
- if (StringUtils.isNotEmpty(pointVO.getInventionPoint()) && StringUtils.isNotEmpty(vo.getInventionPoint())
|
|
|
- && !pointVO.getInventionPoint().equals(vo.getInventionPoint())) {
|
|
|
+ if (!StringUtils.equals(vo.getInventionPoint(),pointVO.getInventionPoint())) {
|
|
|
TechnicalCasePatent casePatent = new TechnicalCasePatent();
|
|
|
// casePatent.setProjectId(vo.getProjectId());
|
|
|
casePatent.setInventionPoint(vo.getInventionPoint());
|